summaryrefslogtreecommitdiffstats
path: root/sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip')
-rw-r--r--sip/dcop/dcopclient.sip82
-rw-r--r--sip/dcop/dcopobject.sip36
-rw-r--r--sip/dcop/dcopref.sip30
-rw-r--r--sip/dcop/dcopstub.sip8
-rw-r--r--sip/dcop/typedefs.sip6
-rw-r--r--sip/glossary.html4
-rw-r--r--sip/kabc/address.sip70
-rw-r--r--sip/kabc/addressbook.sip34
-rw-r--r--sip/kabc/addressee.sip246
-rw-r--r--sip/kabc/addresseedialog.sip12
-rw-r--r--sip/kabc/addresslineedit.sip14
-rw-r--r--sip/kabc/agent.sip12
-rw-r--r--sip/kabc/distributionlist.sip30
-rw-r--r--sip/kabc/distributionlistdialog.sip12
-rw-r--r--sip/kabc/distributionlisteditor.sip8
-rw-r--r--sip/kabc/errorhandler.sip10
-rw-r--r--sip/kabc/field.sip28
-rw-r--r--sip/kabc/format.sip4
-rw-r--r--sip/kabc/formatfactory.sip12
-rw-r--r--sip/kabc/formatplugin.sip10
-rw-r--r--sip/kabc/geo.sip6
-rw-r--r--sip/kabc/key.sip36
-rw-r--r--sip/kabc/ldapclient.sip70
-rw-r--r--sip/kabc/ldapconfigwidget.sip38
-rw-r--r--sip/kabc/ldapurl.sip26
-rw-r--r--sip/kabc/ldif.sip24
-rw-r--r--sip/kabc/ldifconverter.sip18
-rw-r--r--sip/kabc/lock.sip14
-rw-r--r--sip/kabc/locknull.sip2
-rw-r--r--sip/kabc/phonenumber.sip34
-rw-r--r--sip/kabc/picture.sip22
-rw-r--r--sip/kabc/plugin.sip12
-rw-r--r--sip/kabc/resource.sip20
-rw-r--r--sip/kabc/resourcefile.sip34
-rw-r--r--sip/kabc/resourceselectdialog.sip4
-rw-r--r--sip/kabc/secrecy.sip10
-rw-r--r--sip/kabc/sound.sip18
-rw-r--r--sip/kabc/stdaddressbook.sip6
-rw-r--r--sip/kabc/timezone.sip6
-rw-r--r--sip/kabc/vcardconverter.sip18
-rw-r--r--sip/kabc/vcardformat.sip4
-rw-r--r--sip/kabc/vcardformatplugin.sip10
-rw-r--r--sip/kfile/booktoken.sip2
-rw-r--r--sip/kfile/kcombiview.sip16
-rw-r--r--sip/kfile/kcustommenueditor.sip2
-rw-r--r--sip/kfile/kdiroperator.sip56
-rw-r--r--sip/kfile/kdirselectdialog.sip6
-rw-r--r--sip/kfile/kdiskfreesp.sip12
-rw-r--r--sip/kfile/kencodingfiledialog.sip20
-rw-r--r--sip/kfile/kfile.sip10
-rw-r--r--sip/kfile/kfilebookmark.sip30
-rw-r--r--sip/kfile/kfiledetailview.sip50
-rw-r--r--sip/kfile/kfiledialog.sip78
-rw-r--r--sip/kfile/kfilefiltercombo.sip16
-rw-r--r--sip/kfile/kfileiconview.sip40
-rw-r--r--sip/kfile/kfilepreview.sip16
-rw-r--r--sip/kfile/kfilereader.sip2
-rw-r--r--sip/kfile/kfilesharedlg.sip2
-rw-r--r--sip/kfile/kfiletreebranch.sip32
-rw-r--r--sip/kfile/kfiletreeview.sip50
-rw-r--r--sip/kfile/kfiletreeviewitem.sip6
-rw-r--r--sip/kfile/kfileview.sip36
-rw-r--r--sip/kfile/kfileviewitem.sip18
-rw-r--r--sip/kfile/kicondialog.sip34
-rw-r--r--sip/kfile/kimagefilepreview.sip8
-rw-r--r--sip/kfile/knotifydialog.sip50
-rw-r--r--sip/kfile/knotifywidgetbase.sip32
-rw-r--r--sip/kfile/kopenwith.sip42
-rw-r--r--sip/kfile/kpreviewwidgetbase.sip8
-rw-r--r--sip/kfile/kpropertiesdialog.sip28
-rw-r--r--sip/kfile/kpropsdlg.sip18
-rw-r--r--sip/kfile/krecentdirs.sip6
-rw-r--r--sip/kfile/krecentdocument.sip8
-rw-r--r--sip/kfile/kurlbar.sip86
-rw-r--r--sip/kfile/kurlcombobox.sip18
-rw-r--r--sip/kfile/kurlrequester.sip26
-rw-r--r--sip/kfile/kurlrequesterdlg.sip6
-rw-r--r--sip/khtml/css_rule.sip2
-rw-r--r--sip/khtml/css_value.sip8
-rw-r--r--sip/khtml/dom_exception.sip2
-rw-r--r--sip/khtml/dom_node.sip4
-rw-r--r--sip/khtml/dom_string.sip14
-rw-r--r--sip/khtml/khtml_part.sip102
-rw-r--r--sip/khtml/khtml_part.sip.323100
-rw-r--r--sip/khtml/khtml_part.sip.330102
-rw-r--r--sip/khtml/khtml_settings.sip90
-rw-r--r--sip/khtml/khtmlview.sip46
-rw-r--r--sip/kio/authinfo.sip54
-rw-r--r--sip/kio/chmodjob.sip2
-rw-r--r--sip/kio/connection.sip12
-rw-r--r--sip/kio/davjob.sip12
-rw-r--r--sip/kio/defaultprogress.sip10
-rw-r--r--sip/kio/forwardingslavebase.sip6
-rw-r--r--sip/kio/global.sip92
-rw-r--r--sip/kio/job.sip12
-rw-r--r--sip/kio/jobclasses.sip100
-rw-r--r--sip/kio/kacl.sip52
-rw-r--r--sip/kio/kar.sip10
-rw-r--r--sip/kio/karchive.sip62
-rw-r--r--sip/kio/kautomount.sip8
-rw-r--r--sip/kio/kdatatool.sip38
-rw-r--r--sip/kio/kdcopservicestarter.sip4
-rw-r--r--sip/kio/kdirlister.sip50
-rw-r--r--sip/kio/kdirnotify.sip6
-rw-r--r--sip/kio/kdirwatch.sip32
-rw-r--r--sip/kio/kemailsettings.sip18
-rw-r--r--sip/kio/kfilefilter.sip10
-rw-r--r--sip/kio/kfileitem.sip46
-rw-r--r--sip/kio/kfilemetainfo.sip198
-rw-r--r--sip/kio/kfileshare.sip12
-rw-r--r--sip/kio/kfilterbase.sip12
-rw-r--r--sip/kio/kfilterdev.sip18
-rw-r--r--sip/kio/kimageio.sip20
-rw-r--r--sip/kio/kmimemagic.sip14
-rw-r--r--sip/kio/kmimetype.sip120
-rw-r--r--sip/kio/kmimetypechooser.sip12
-rw-r--r--sip/kio/knfsshare.sip8
-rw-r--r--sip/kio/kpac.sip4
-rw-r--r--sip/kio/kprotocolinfo.sip92
-rw-r--r--sip/kio/kprotocolmanager.sip22
-rw-r--r--sip/kio/kremoteencoding.sip10
-rw-r--r--sip/kio/krun.sip58
-rw-r--r--sip/kio/ksambashare.sip8
-rw-r--r--sip/kio/kscan.sip32
-rw-r--r--sip/kio/kservice.sip92
-rw-r--r--sip/kio/kservicegroup.sip48
-rw-r--r--sip/kio/kservicetype.sip70
-rw-r--r--sip/kio/kshellcompletion.sip6
-rw-r--r--sip/kio/kshred.sip8
-rw-r--r--sip/kio/ksycoca.sip22
-rw-r--r--sip/kio/ksycocadict.sip12
-rw-r--r--sip/kio/ksycocaentry.sip18
-rw-r--r--sip/kio/ksycocafactory.sip8
-rw-r--r--sip/kio/ktar.sip24
-rw-r--r--sip/kio/ktrader.sip16
-rw-r--r--sip/kio/kurifilter.sip50
-rw-r--r--sip/kio/kurlcompletion.sip16
-rw-r--r--sip/kio/kurlpixmapprovider.sip2
-rw-r--r--sip/kio/kuserprofile.sip32
-rw-r--r--sip/kio/kzip.sip30
-rw-r--r--sip/kio/metainfojob.sip4
-rw-r--r--sip/kio/netaccess.sip48
-rw-r--r--sip/kio/observer.sip24
-rw-r--r--sip/kio/passdlg.sip16
-rw-r--r--sip/kio/paste.sip10
-rw-r--r--sip/kio/previewjob.sip14
-rw-r--r--sip/kio/progressbase.sip6
-rw-r--r--sip/kio/renamedlg.sip6
-rw-r--r--sip/kio/renamedlgplugin.sip6
-rw-r--r--sip/kio/scheduler.sip30
-rw-r--r--sip/kio/sessiondata.sip8
-rw-r--r--sip/kio/skipdlg.sip2
-rw-r--r--sip/kio/slave.sip24
-rw-r--r--sip/kio/slavebase.sip70
-rw-r--r--sip/kio/slaveconfig.sip12
-rw-r--r--sip/kio/slaveinterface.sip38
-rw-r--r--sip/kio/statusbarprogress.sip4
-rw-r--r--sip/kio/tcpslavebase.sip10
-rw-r--r--sip/kio/thumbcreator.sip2
-rw-r--r--sip/kmdi/kmdichildarea.sip28
-rw-r--r--sip/kmdi/kmdichildfrm.sip88
-rw-r--r--sip/kmdi/kmdichildfrmcaption.sip18
-rw-r--r--sip/kmdi/kmdichildview.sip58
-rw-r--r--sip/kmdi/kmdimainfrm.sip74
-rw-r--r--sip/kmdi/kmditaskbar.sip16
-rw-r--r--sip/kmdi/kmditoolviewaccessor.sip16
-rw-r--r--sip/kparts/browserextension.sip142
-rw-r--r--sip/kparts/browserinterface.sip6
-rw-r--r--sip/kparts/browserrun.sip28
-rw-r--r--sip/kparts/dockmainwindow.sip4
-rw-r--r--sip/kparts/event.sip20
-rw-r--r--sip/kparts/factory.sip10
-rw-r--r--sip/kparts/historyprovider.sip12
-rw-r--r--sip/kparts/mainwindow.sip6
-rw-r--r--sip/kparts/part.sip60
-rw-r--r--sip/kparts/partmanager.sip28
-rw-r--r--sip/kparts/plugin.sip42
-rw-r--r--sip/kparts/statusbarextension.sip10
-rw-r--r--sip/kresources/configdialog.sip4
-rw-r--r--sip/kresources/configwidget.sip4
-rw-r--r--sip/kresources/factory.sip14
-rw-r--r--sip/kresources/resource.sip20
-rw-r--r--sip/kresources/selectdialog.sip10
-rw-r--r--sip/kspell/ksconfig.sip20
-rw-r--r--sip/kspell/kspell.sip54
-rw-r--r--sip/kspell/kspelldlg.sip14
-rw-r--r--sip/kspell/ksyntaxhighlighter.sip32
-rw-r--r--sip/kspell2/backgroundchecker.sip16
-rw-r--r--sip/kspell2/broker.sip8
-rw-r--r--sip/kspell2/configdialog.sip2
-rw-r--r--sip/kspell2/configwidget.sip4
-rw-r--r--sip/kspell2/defaultdictionary.sip16
-rw-r--r--sip/kspell2/dialog.sip16
-rw-r--r--sip/kspell2/dictionary.sip16
-rw-r--r--sip/kspell2/filter.sip18
-rw-r--r--sip/kspell2/highlighter.sip10
-rw-r--r--sip/kspell2/settings.sip16
-rw-r--r--sip/kutils/kcmoduleinfo.sip34
-rw-r--r--sip/kutils/kcmoduleloader.sip14
-rw-r--r--sip/kutils/kcmoduleproxy.sip18
-rw-r--r--sip/kutils/kcmultidialog.sip12
-rw-r--r--sip/kutils/kfind.sip26
-rw-r--r--sip/kutils/kfinddialog.sip20
-rw-r--r--sip/kutils/kmultitabbar.sip44
-rw-r--r--sip/kutils/kplugininfo.sip50
-rw-r--r--sip/kutils/kpluginselector.sip12
-rw-r--r--sip/kutils/kreplace.sip10
-rw-r--r--sip/kutils/kreplacedialog.sip12
-rw-r--r--sip/tdecore/bytearray.sip410
-rw-r--r--sip/tdecore/kaboutdata.sip66
-rw-r--r--sip/tdecore/kaccel.sip78
-rw-r--r--sip/tdecore/kaccelaction.sip40
-rw-r--r--sip/tdecore/kaccelbase.sip24
-rw-r--r--sip/tdecore/kallocator.sip2
-rw-r--r--sip/tdecore/kapplication.sip112
-rw-r--r--sip/tdecore/kasyncio.sip2
-rw-r--r--sip/tdecore/kaudioplayer.sip6
-rw-r--r--sip/tdecore/kcalendarsystem.sip52
-rw-r--r--sip/tdecore/kcalendarsystemfactory.sip4
-rw-r--r--sip/tdecore/kcatalogue.sip10
-rw-r--r--sip/tdecore/kcharsets.sip24
-rw-r--r--sip/tdecore/kclipboard.sip4
-rw-r--r--sip/tdecore/kcmdlineargs.sip14
-rw-r--r--sip/tdecore/kcompletion.sip54
-rw-r--r--sip/tdecore/kconfig.sip46
-rw-r--r--sip/tdecore/kconfigbackend.sip18
-rw-r--r--sip/tdecore/kconfigbase.sip186
-rw-r--r--sip/tdecore/kconfigdata.sip16
-rw-r--r--sip/tdecore/kconfigdialogmanager.sip16
-rw-r--r--sip/tdecore/kconfigskeleton.sip380
-rw-r--r--sip/tdecore/kcrash.sip4
-rw-r--r--sip/tdecore/kdcoppropertyproxy.sip14
-rw-r--r--sip/tdecore/kdesktopfile.sip42
-rw-r--r--sip/tdecore/kdesktopwidget.sip10
-rw-r--r--sip/tdecore/kdestyle.sip94
-rw-r--r--sip/tdecore/kglobal.sip4
-rw-r--r--sip/tdecore/kglobalaccel.sip26
-rw-r--r--sip/tdecore/kglobalsettings.sip58
-rw-r--r--sip/tdecore/kiconeffect.sip34
-rw-r--r--sip/tdecore/kiconloader.sip60
-rw-r--r--sip/tdecore/kicontheme.sip38
-rw-r--r--sip/tdecore/kidna.sip6
-rw-r--r--sip/tdecore/kinstance.sip6
-rw-r--r--sip/tdecore/kkeynative.sip2
-rw-r--r--sip/tdecore/kkeyserver_x11.sip38
-rw-r--r--sip/tdecore/klibloader.sip28
-rw-r--r--sip/tdecore/klocale.sip146
-rw-r--r--sip/tdecore/klockfile.sip4
-rw-r--r--sip/tdecore/kmacroexpander.sip128
-rw-r--r--sip/tdecore/kmanagerselection.sip12
-rw-r--r--sip/tdecore/kmdcodec.sip72
-rw-r--r--sip/tdecore/kmimesourcefactory.sip4
-rw-r--r--sip/tdecore/kmountpoint.sip14
-rw-r--r--sip/tdecore/kmultipledrag.sip10
-rw-r--r--sip/tdecore/knotifyclient.sip22
-rw-r--r--sip/tdecore/kpalette.sip26
-rw-r--r--sip/tdecore/kpixmapprovider.sip2
-rw-r--r--sip/tdecore/kprocctrl.sip2
-rw-r--r--sip/tdecore/kprocess.sip22
-rw-r--r--sip/tdecore/kprocio.sip14
-rw-r--r--sip/tdecore/krandomsequence.sip2
-rw-r--r--sip/tdecore/krfcdate.sip8
-rw-r--r--sip/tdecore/krootprop.sip26
-rw-r--r--sip/tdecore/ksavefile.sip12
-rw-r--r--sip/tdecore/kshell.sip16
-rw-r--r--sip/tdecore/kshortcut.sip62
-rw-r--r--sip/tdecore/kshortcutlist.sip36
-rw-r--r--sip/tdecore/ksimpleconfig.sip2
-rw-r--r--sip/tdecore/ksock.sip6
-rw-r--r--sip/tdecore/kstartupinfo.sip64
-rw-r--r--sip/tdecore/kstdaccel.sip12
-rw-r--r--sip/tdecore/kstddirs.sip42
-rw-r--r--sip/tdecore/kstringhandler.sip62
-rw-r--r--sip/tdecore/ktempdir.sip10
-rw-r--r--sip/tdecore/ktempfile.sip12
-rw-r--r--sip/tdecore/ktimezones.sip44
-rw-r--r--sip/tdecore/kuniqueapplication.sip4
-rw-r--r--sip/tdecore/kurl.sip134
-rw-r--r--sip/tdecore/kurldrag.sip26
-rw-r--r--sip/tdecore/kuser.sip16
-rw-r--r--sip/tdecore/kxmessages.sip16
-rw-r--r--sip/tdecore/twin.sip42
-rw-r--r--sip/tdecore/twinmodule.sip30
-rw-r--r--sip/tdefx/kdrawutil.sip20
-rw-r--r--sip/tdefx/kimageeffect.sip102
-rw-r--r--sip/tdefx/kpixmap.sip14
-rw-r--r--sip/tdefx/kpixmapeffect.sip16
-rw-r--r--sip/tdefx/kpixmapsplitter.sip12
-rw-r--r--sip/tdefx/kstyle.sip36
-rw-r--r--sip/tdeprint/driver.sip88
-rw-r--r--sip/tdeprint/kmjob.sip24
-rw-r--r--sip/tdeprint/kmjobmanager.sip40
-rw-r--r--sip/tdeprint/kmmanager.sip52
-rw-r--r--sip/tdeprint/kmprinter.sip80
-rw-r--r--sip/tdeprint/kprintaction.sip14
-rw-r--r--sip/tdeprint/kprintdialog.sip18
-rw-r--r--sip/tdeprint/kprintdialogpage.sip16
-rw-r--r--sip/tdeprint/kprinter.sip88
-rw-r--r--sip/tdeui/kaboutapplication.sip4
-rw-r--r--sip/tdeui/kaboutdialog.sip130
-rw-r--r--sip/tdeui/kaboutkde.sip2
-rw-r--r--sip/tdeui/kaccelmanager.sip4
-rw-r--r--sip/tdeui/kaccelmenu.sip8
-rw-r--r--sip/tdeui/kaction.sip308
-rw-r--r--sip/tdeui/kactionclasses.sip202
-rw-r--r--sip/tdeui/kactioncollection.sip36
-rw-r--r--sip/tdeui/kactionselector.sip36
-rw-r--r--sip/tdeui/kactionshortcutlist.sip22
-rw-r--r--sip/tdeui/kactivelabel.sip18
-rw-r--r--sip/tdeui/kalphapainter.sip8
-rw-r--r--sip/tdeui/kanimwidget.sip24
-rw-r--r--sip/tdeui/karrowbutton.sip12
-rw-r--r--sip/tdeui/kauthicon.sip14
-rw-r--r--sip/tdeui/kbugreport.sip6
-rw-r--r--sip/tdeui/kbuttonbox.sip22
-rw-r--r--sip/tdeui/kcharselect.sip64
-rw-r--r--sip/tdeui/kcmenumngr.sip6
-rw-r--r--sip/tdeui/kcmodule.sip26
-rw-r--r--sip/tdeui/kcolorbtn.sip22
-rw-r--r--sip/tdeui/kcolorcombo.sip14
-rw-r--r--sip/tdeui/kcolordialog.sip108
-rw-r--r--sip/tdeui/kcolordrag.sip16
-rw-r--r--sip/tdeui/kcombobox.sip58
-rw-r--r--sip/tdeui/kcommand.sip12
-rw-r--r--sip/tdeui/kcompletionbox.sip24
-rw-r--r--sip/tdeui/kconfigdialog.sip6
-rw-r--r--sip/tdeui/kcontainer.sip20
-rw-r--r--sip/tdeui/kcursor.sip36
-rw-r--r--sip/tdeui/kdatepicker.sip30
-rw-r--r--sip/tdeui/kdatepik.sip20
-rw-r--r--sip/tdeui/kdatetbl.sip108
-rw-r--r--sip/tdeui/kdatetimewidget.sip12
-rw-r--r--sip/tdeui/kdatewidget.sip14
-rw-r--r--sip/tdeui/kdbtn.sip14
-rw-r--r--sip/tdeui/kdcopactionproxy.sip10
-rw-r--r--sip/tdeui/kdialog.sip22
-rw-r--r--sip/tdeui/kdialogbase.sip106
-rw-r--r--sip/tdeui/kdocktabctl.sip118
-rw-r--r--sip/tdeui/kdockwidget.sip118
-rw-r--r--sip/tdeui/kdockwindow.sip2
-rw-r--r--sip/tdeui/kdualcolorbtn.sip42
-rw-r--r--sip/tdeui/kdualcolorbutton.sip38
-rw-r--r--sip/tdeui/keditcl.sip64
-rw-r--r--sip/tdeui/keditlistbox.sip54
-rw-r--r--sip/tdeui/kedittoolbar.sip38
-rw-r--r--sip/tdeui/kfontcombo.sip10
-rw-r--r--sip/tdeui/kfontdialog.sip66
-rw-r--r--sip/tdeui/kfontrequester.sip22
-rw-r--r--sip/tdeui/kguiitem.sip28
-rw-r--r--sip/tdeui/khelpmenu.sip6
-rw-r--r--sip/tdeui/kiconview.sip72
-rw-r--r--sip/tdeui/kiconviewsearchline.sip20
-rw-r--r--sip/tdeui/kinputdialog.sip28
-rw-r--r--sip/tdeui/kjanuswidget.sip58
-rw-r--r--sip/tdeui/kkeybutton.sip8
-rw-r--r--sip/tdeui/kkeydialog.sip78
-rw-r--r--sip/tdeui/klanguagebutton.sip32
-rw-r--r--sip/tdeui/kled.sip18
-rw-r--r--sip/tdeui/klineedit.sip52
-rw-r--r--sip/tdeui/klineeditdlg.sip10
-rw-r--r--sip/tdeui/klistbox.sip24
-rw-r--r--sip/tdeui/klistview.sip178
-rw-r--r--sip/tdeui/klistviewlineedit.sip10
-rw-r--r--sip/tdeui/klistviewsearchline.sip20
-rw-r--r--sip/tdeui/kmainwindow.sip62
-rw-r--r--sip/tdeui/kmainwindowiface.sip26
-rw-r--r--sip/tdeui/kmenubar.sip20
-rw-r--r--sip/tdeui/kmessagebox.sip102
-rw-r--r--sip/tdeui/knuminput.sip86
-rw-r--r--sip/tdeui/knumvalidator.sip30
-rw-r--r--sip/tdeui/kpanelapplet.sip12
-rw-r--r--sip/tdeui/kpanelappmenu.sip18
-rw-r--r--sip/tdeui/kpanelextension.sip10
-rw-r--r--sip/tdeui/kpanelmenu.sip12
-rw-r--r--sip/tdeui/kpassdlg.sip34
-rw-r--r--sip/tdeui/kpassivepopup.sip48
-rw-r--r--sip/tdeui/kpixmapio.sip12
-rw-r--r--sip/tdeui/kpixmapregionselectordialog.sip10
-rw-r--r--sip/tdeui/kpixmapregionselectorwidget.sip16
-rw-r--r--sip/tdeui/kpopupmenu.sip64
-rw-r--r--sip/tdeui/kprogress.sip22
-rw-r--r--sip/tdeui/kpushbutton.sip20
-rw-r--r--sip/tdeui/krestrictedline.sip8
-rw-r--r--sip/tdeui/krootpixmap.sip16
-rw-r--r--sip/tdeui/kruler.sip14
-rw-r--r--sip/tdeui/kscrollview.sip6
-rw-r--r--sip/tdeui/kselect.sip66
-rw-r--r--sip/tdeui/kseparator.sip10
-rw-r--r--sip/tdeui/ksharedpixmap.sip10
-rw-r--r--sip/tdeui/kshortcutdialog.sip2
-rw-r--r--sip/tdeui/ksplashscreen.sip4
-rw-r--r--sip/tdeui/ksqueezedtextlabel.sip14
-rw-r--r--sip/tdeui/kstatusbar.sip18
-rw-r--r--sip/tdeui/kstdaction.sip4
-rw-r--r--sip/tdeui/kstdguiitem.sip10
-rw-r--r--sip/tdeui/kstringvalidator.sip20
-rw-r--r--sip/tdeui/ksystemtray.sip18
-rw-r--r--sip/tdeui/ktabbar.sip34
-rw-r--r--sip/tdeui/ktabctl.sip24
-rw-r--r--sip/tdeui/ktabwidget.sip60
-rw-r--r--sip/tdeui/ktextbrowser.sip18
-rw-r--r--sip/tdeui/ktextedit.sip18
-rw-r--r--sip/tdeui/kthemebase.sip36
-rw-r--r--sip/tdeui/kthemestyle.sip92
-rw-r--r--sip/tdeui/ktimewidget.sip12
-rw-r--r--sip/tdeui/ktimezonewidget.sip8
-rw-r--r--sip/tdeui/ktip.sip18
-rw-r--r--sip/tdeui/ktmainwindow.sip4
-rw-r--r--sip/tdeui/ktoolbar.sip108
-rw-r--r--sip/tdeui/ktoolbarbutton.sip60
-rw-r--r--sip/tdeui/ktoolbarlabelaction.sip14
-rw-r--r--sip/tdeui/ktoolbarradiogroup.sip2
-rw-r--r--sip/tdeui/kurllabel.sip54
-rw-r--r--sip/tdeui/kwizard.sip4
-rw-r--r--sip/tdeui/kwordwrap.sip16
-rw-r--r--sip/tdeui/kxmlguibuilder.sip16
-rw-r--r--sip/tdeui/kxmlguiclient.sip44
-rw-r--r--sip/tdeui/kxmlguifactory.sip64
-rw-r--r--sip/tdeui/qxembed.sip44
-rw-r--r--sip/tdeui/twindowinfo.sip22
-rw-r--r--sip/tdeui/twindowlistmenu.sip2
421 files changed, 6971 insertions, 6971 deletions
diff --git a/sip/dcop/dcopclient.sip b/sip/dcop/dcopclient.sip
index 6c8dab3..ca498f6 100644
--- a/sip/dcop/dcopclient.sip
+++ b/sip/dcop/dcopclient.sip
@@ -26,7 +26,7 @@
class DCOPClientTransaction;
-class DCOPClient : QObject
+class DCOPClient : TQObject
{
%TypeHeaderCode
#include <dcopclient.h>
@@ -35,7 +35,7 @@ class DCOPClient : QObject
public:
DCOPClient ();
- static void setServerAddress (const QCString&);
+ static void setServerAddress (const TQCString&);
bool attach ();
void bindToApp ();
bool detach ();
@@ -46,12 +46,12 @@ public:
%If ( KDE_3_0_3 - )
bool qtBridgeEnabled ();
- void setQtBridgeEnabled (bool);
+ void setTQtBridgeEnabled (bool);
%End
- QCString registerAs (const QCString&, bool = 1);
+ TQCString registerAs (const TQCString&, bool = 1);
bool isRegistered () const;
- QCString appId () const;
+ TQCString appId () const;
int socket () const;
void suspend ();
void resume ();
@@ -60,46 +60,46 @@ public:
bool isSuspended () const;
%End
- bool send (const QCString&, const QCString&, const QCString&, const QByteArray&);
- bool send (const QCString&, const QCString&, const QCString&, const QString&);
+ bool send (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&);
+ bool send (const TQCString&, const TQCString&, const TQCString&, const TQString&);
%If ( KDE_3_2_0 - )
- bool call (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/, bool, int);
+ bool call (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQByteArray& /Out/, bool, int);
%End
- bool call (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/, bool = 0);
+ bool call (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQByteArray& /Out/, bool = 0);
%If ( KDE_3_3_0 - )
- int callAsync (const QCString&, const QCString&, const QCString&, const QByteArray&, QObject*, const char*);
+ int callAsync (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQObject*, const char*);
%End
%If ( KDE_3_2_0 - )
- bool findObject (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QCString& /Out/, bool, int);
+ bool findObject (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQCString& /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&);
+ bool findObject (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQCString& /Out/, bool = 0);
+ void emitDCOPSignal (const TQCString&, const TQCString&, const TQByteArray&);
+ void emitDCOPSignal (const TQCString&, const TQByteArray&);
+ bool connectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&, const TQCString&, bool);
+ bool connectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&, bool);
+ bool disconnectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&, const TQCString&);
+ bool disconnectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&);
+ virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
DCOPClientTransaction* beginTransaction ();
- void endTransaction (DCOPClientTransaction*, QCString&, QByteArray&);
+ void endTransaction (DCOPClientTransaction*, TQCString&, TQByteArray&);
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;
+ bool isApplicationRegistered (const TQCString&);
+ TQCStringList registeredApplications ();
+ TQCStringList remoteObjects (const TQCString&, bool* = 0);
+ TQCStringList remoteInterfaces (const TQCString&, const TQCString&, bool* = 0);
+ TQCStringList remoteFunctions (const TQCString&, const TQCString&, bool* = 0);
+ bool receive (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQByteArray& /Out/);
+ bool find (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQByteArray& /Out/);
+ static TQCString normalizeFunctionSignature (const TQCString&);
+ TQCString senderId () const;
+ void setDefaultObject (const TQCString&);
+ TQCString defaultObject () const;
void setNotifications (bool);
void setDaemonMode (bool);
@@ -111,29 +111,29 @@ public:
static void setMainClient (DCOPClient*);
%If ( KDE_3_2_0 - )
- static DCOPClient* findLocalClient (const QCString&);
+ static DCOPClient* findLocalClient (const TQCString&);
%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);
+ static TQCString dcopServerFile (const TQCString& = 0);
+ static TQCString dcopServerFileOld (const TQCString& = 0);
%If ( KDE_3_2_0 - )
- static QCString iceauthPath ();
+ static TQCString iceauthPath ();
%End
signals:
- void applicationRegistered (const QCString&);
- void applicationRemoved (const QCString&);
- void attachFailed (const QString&);
+ void applicationRegistered (const TQCString&);
+ void applicationRemoved (const TQCString&);
+ void attachFailed (const TQString&);
void blockUserInput (bool);
%If ( KDE_3_2_0 - )
- void callBack (int, const QCString&, const QByteArray&);
+ void callBack (int, const TQCString&, const TQByteArray&);
%End
@@ -153,7 +153,7 @@ protected:
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&));
+ int callAsync (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, SIP_RXOBJ_CON, SIP_SLOT_CON (int, const TQCString&, const TQByteArray&));
//force
%ConvertToSubClassCode
@@ -172,4 +172,4 @@ public:
}; // class DCOPClient
-typedef QValueList<QCString> QCStringList;
+typedef TQValueList<TQCString> TQCStringList;
diff --git a/sip/dcop/dcopobject.sip b/sip/dcop/dcopobject.sip
index 7b7ee1c..f3c445b 100644
--- a/sip/dcop/dcopobject.sip
+++ b/sip/dcop/dcopobject.sip
@@ -33,29 +33,29 @@ class DCOPObject
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&);
+ DCOPObject (TQObject*);
+ DCOPObject (const TQCString&);
+ TQCString objId () const;
+ bool setObjId (const TQCString&);
+ virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
+ virtual bool processDynamic (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
+ virtual TQCStringList functionsDynamic ();
+ virtual TQCStringList interfacesDynamic ();
+ virtual TQCStringList interfaces ();
+ virtual TQCStringList functions ();
+ void emitDCOPSignal (const TQCString&, const TQByteArray&);
+ bool connectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&, bool);
+ bool disconnectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&);
%If ( KDE_3_1_0 - )
DCOPClient* callingDcopClient ();
void setCallingDcopClient (DCOPClient*);
%End
- static bool hasObject (const QCString&);
- static DCOPObject* find (const QCString&);
- static QPtrList<DCOPObject> match (const QCString&);
- static QCString objectName (QObject*);
+ static bool hasObject (const TQCString&);
+ static DCOPObject* find (const TQCString&);
+ static TQPtrList<DCOPObject> match (const TQCString&);
+ static TQCString objectName (TQObject*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -73,7 +73,7 @@ class DCOPObjectProxy
public:
DCOPObjectProxy ();
DCOPObjectProxy (DCOPClient*);
- virtual bool process (const QCString&, const QCString&, const QByteArray&, QCString&, QByteArray&);
+ virtual bool process (const TQCString&, const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/dcop/dcopref.sip b/sip/dcop/dcopref.sip
index ec09034..8548801 100644
--- a/sip/dcop/dcopref.sip
+++ b/sip/dcop/dcopref.sip
@@ -35,8 +35,8 @@ class DCOPReply
public:
bool isValid () const;
- QByteArray data;
- QCString type;
+ TQByteArray data;
+ TQCString type;
}; // class DCOPReply
@@ -60,20 +60,20 @@ class DCOPRef
public:
DCOPRef ();
DCOPRef (const DCOPRef&);
- DCOPRef (const QCString&, const QCString&);
+ DCOPRef (const TQCString&, const TQCString&);
DCOPRef (DCOPObject*);
- DCOPRef (const QCString&, const QCString&, const QCString&);
+ DCOPRef (const TQCString&, const TQCString&, const TQCString&);
bool isNull () const;
- QCString app () const;
+ TQCString app () const;
%If ( KDE_3_1_0 - )
- QCString obj () const;
+ TQCString obj () const;
%End
- QCString object () const;
- QCString type () const;
- void setRef (const QCString&, const QCString&);
- void setRef (const QCString&, const QCString&, const QCString&);
+ TQCString object () const;
+ TQCString type () const;
+ void setRef (const TQCString&, const TQCString&);
+ void setRef (const TQCString&, const TQCString&, const TQCString&);
void clear ();
%If ( KDE_3_1_0 - )
@@ -90,13 +90,13 @@ public:
%End
- DCOPReply call (const QCString&);
+ DCOPReply call (const TQCString&);
%If ( KDE_3_2_0 - )
- DCOPReply callExt (const QCString&, DCOPRef::EventLoopFlag = NoEventLoop , int = -1);
+ DCOPReply callExt (const TQCString&, DCOPRef::EventLoopFlag = NoEventLoop , int = -1);
%End
- bool send (const QCString&);
+ bool send (const TQCString&);
%End
@@ -104,6 +104,6 @@ public:
%If ( KDE_3_1_4 - )
-//igx QDataStream& operator << (QDataStream&, const DCOPRef&);
-//igx QDataStream& operator >> (QDataStream&, DCOPRef&);
+//igx TQDataStream& operator << (TQDataStream&, const DCOPRef&);
+//igx TQDataStream& operator >> (TQDataStream&, DCOPRef&);
%End
diff --git a/sip/dcop/dcopstub.sip b/sip/dcop/dcopstub.sip
index a6ba829..284bfd7 100644
--- a/sip/dcop/dcopstub.sip
+++ b/sip/dcop/dcopstub.sip
@@ -32,15 +32,15 @@ class DCOPStub
public:
- DCOPStub (const QCString&, const QCString&);
- DCOPStub (DCOPClient*, const QCString&, const QCString&);
+ DCOPStub (const TQCString&, const TQCString&);
+ DCOPStub (DCOPClient*, const TQCString&, const TQCString&);
%If ( KDE_3_2_0 - )
DCOPStub (const DCOPRef&);
%End
- QCString app () const;
- QCString obj () const;
+ TQCString app () const;
+ TQCString obj () const;
enum Status
{
diff --git a/sip/dcop/typedefs.sip b/sip/dcop/typedefs.sip
index ba1f4c5..8f9061b 100644
--- a/sip/dcop/typedefs.sip
+++ b/sip/dcop/typedefs.sip
@@ -33,7 +33,7 @@ typedef bool Bool;
typedef long off_t;
-/*%MappedType QValueList<pid_t>
+/*%MappedType TQValueList<pid_t>
//converts a Python list of long
{
%TypeHeaderCode
@@ -69,7 +69,7 @@ typedef long off_t;
%End
%ConvertToTypeCode
- // Convert a Python list of long to a QValueList<long> on the heap.
+ // Convert a Python list of long to a TQValueList<long> on the heap.
if (sipIsErr == NULL)
return PyList_Check(sipPy);
@@ -81,7 +81,7 @@ typedef long off_t;
return 0;
}
- QValueList<pid_t> *qvl = new QValueList<pid_t>;
+ TQValueList<pid_t> *qvl = new TQValueList<pid_t>;
PyErr_Clear();
diff --git a/sip/glossary.html b/sip/glossary.html
index 0c026cb..119301e 100644
--- a/sip/glossary.html
+++ b/sip/glossary.html
@@ -30,8 +30,8 @@ variables are <i>read only</i>. Variables that are "protected" or.
<h2><a name="slots">slots</a></h2>
<p>
-When using Qt or KDE in C++, methods involving connections to slots
-take 2 arguments: a QObject 'receiver' and a char* 'slot' name. In Python
+When using TQt 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
diff --git a/sip/kabc/address.sip b/sip/kabc/address.sip
index d15d169..f78527d 100644
--- a/sip/kabc/address.sip
+++ b/sip/kabc/address.sip
@@ -34,10 +34,10 @@ class Address
public:
- typedef QValueList<KABC::Address> List;
+ typedef TQValueList<KABC::Address> List;
%If ( KDE_3_1_0 - )
- typedef QValueList<int> TypeList;
+ typedef TQValueList<int> TypeList;
%End
@@ -62,79 +62,79 @@ public:
bool isEmpty () const;
void clear ();
- void setId (const QString&);
- QString id () const;
+ void setId (const TQString&);
+ TQString id () const;
void setType (int);
int type () const;
%If ( KDE_3_1_0 - )
- QString typeLabel () const;
+ TQString typeLabel () const;
%End
- void setPostOfficeBox (const QString&);
- QString postOfficeBox () const;
+ void setPostOfficeBox (const TQString&);
+ TQString postOfficeBox () const;
%If ( KDE_3_1_0 - )
- static QString postOfficeBoxLabel ();
+ static TQString postOfficeBoxLabel ();
%End
- void setExtended (const QString&);
- QString extended () const;
+ void setExtended (const TQString&);
+ TQString extended () const;
%If ( KDE_3_1_0 - )
- static QString extendedLabel ();
+ static TQString extendedLabel ();
%End
- void setStreet (const QString&);
- QString street () const;
+ void setStreet (const TQString&);
+ TQString street () const;
%If ( KDE_3_1_0 - )
- static QString streetLabel ();
+ static TQString streetLabel ();
%End
- void setLocality (const QString&);
- QString locality () const;
+ void setLocality (const TQString&);
+ TQString locality () const;
%If ( KDE_3_1_0 - )
- static QString localityLabel ();
+ static TQString localityLabel ();
%End
- void setRegion (const QString&);
- QString region () const;
+ void setRegion (const TQString&);
+ TQString region () const;
%If ( KDE_3_1_0 - )
- static QString regionLabel ();
+ static TQString regionLabel ();
%End
- void setPostalCode (const QString&);
- QString postalCode () const;
+ void setPostalCode (const TQString&);
+ TQString postalCode () const;
%If ( KDE_3_1_0 - )
- static QString postalCodeLabel ();
+ static TQString postalCodeLabel ();
%End
- void setCountry (const QString&);
- QString country () const;
+ void setCountry (const TQString&);
+ TQString country () const;
%If ( KDE_3_1_0 - )
- static QString countryLabel ();
+ static TQString countryLabel ();
%End
- void setLabel (const QString&);
- QString label () const;
+ void setLabel (const TQString&);
+ TQString label () const;
%If ( KDE_3_1_0 - )
- static QString labelLabel ();
+ static TQString labelLabel ();
static KABC::Address::TypeList typeList ();
- static QString typeLabel (int);
+ static TQString 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&);
+ TQString formattedAddress (const TQString& = TQString ::null , const TQString& = TQString ::null ) const;
+ static TQString countryToISO (const TQString&);
+ static TQString ISOtoCountry (const TQString&);
%End
@@ -142,8 +142,8 @@ public:
%If ( KDE_3_1_0 - )
-//igx QDataStream& operator << (QDataStream&, const KABC::Address&);
-//igx QDataStream& operator >> (QDataStream&, KABC::Address&);
+//igx TQDataStream& operator << (TQDataStream&, const KABC::Address&);
+//igx TQDataStream& operator >> (TQDataStream&, KABC::Address&);
%End
}; // namespace KABC
diff --git a/sip/kabc/addressbook.sip b/sip/kabc/addressbook.sip
index a3fa824..563be99 100644
--- a/sip/kabc/addressbook.sip
+++ b/sip/kabc/addressbook.sip
@@ -26,7 +26,7 @@
namespace KABC
{
-class AddressBook : QObject
+class AddressBook : TQObject
{
%TypeHeaderCode
#include <resource.h>
@@ -44,7 +44,7 @@ public:
AddressBook ();
%If ( KDE_3_2_0 - )
- AddressBook (const QString&);
+ AddressBook (const TQString&);
%End
KABC::Ticket* requestSaveTicket (KABC::Resource* = 0);
@@ -74,29 +74,29 @@ public:
void removeAddressee (const KABC::Addressee&);
//ig void removeAddressee (const KABC::AddressBook::Iterator&);
//igx KABC::AddressBook::Iterator find (const Addressee&);
- KABC::Addressee findByUid (const QString&);
+ KABC::Addressee findByUid (const TQString&);
%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 ();
+ KABC::Addressee::List findByName (const TQString&);
+ KABC::Addressee::List findByEmail (const TQString&);
+ KABC::Addressee::List findByCategory (const TQString&);
+ virtual TQString 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 );
+ bool addCustomField (const TQString&, int = KABC ::Field ::All , const TQString& = TQString ::null , const TQString& = TQString ::null );
%End
bool addResource (KABC::Resource*);
%If ( KDE_3_1_0 - )
bool removeResource (KABC::Resource*);
- QPtrList<KABC::Resource> resources ();
+ TQPtrList<KABC::Resource> resources ();
void setErrorHandler (KABC::ErrorHandler*);
- void error (const QString&);
+ void error (const TQString&);
void cleanUp ();
%End
@@ -126,8 +126,8 @@ 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&);
+ void resourceLoadingError (KABC::Resource*, const TQString&);
+ void resourceSavingError (KABC::Resource*, const TQString&);
%End
@@ -149,15 +149,15 @@ protected:
%If ( KDE_3_1_0 - )
-//igx QDataStream& operator << (QDataStream&, const KABC::AddressBook&);
-//igx QDataStream& operator >> (QDataStream&, KABC::AddressBook&);
+//igx TQDataStream& operator << (TQDataStream&, const KABC::AddressBook&);
+//igx TQDataStream& operator >> (TQDataStream&, KABC::AddressBook&);
%End
}; // namespace KABC
-%MappedType QPtrList<KABC::Resource>
+%MappedType TQPtrList<KABC::Resource>
//converts a Python list of KABC::Resource
{
%TypeHeaderCode
@@ -177,7 +177,7 @@ protected:
// Get it.
- QPtrList<KABC::Resource> *cpplist = (QPtrList<KABC::Resource> *)sipCpp;
+ TQPtrList<KABC::Resource> *cpplist = (TQPtrList<KABC::Resource> *)sipCpp;
KABC::Resource *cpp;
PyObject *inst;
@@ -199,7 +199,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KABC::Resource> *cpplist = new QPtrList<KABC::Resource>;
+ TQPtrList<KABC::Resource> *cpplist = new TQPtrList<KABC::Resource>;
PyObject *elem;
KABC::Resource *cpp;
diff --git a/sip/kabc/addressee.sip b/sip/kabc/addressee.sip
index 803b4d2..c3f62a1 100644
--- a/sip/kabc/addressee.sip
+++ b/sip/kabc/addressee.sip
@@ -34,10 +34,10 @@ class Addressee
public:
-//ig typedef QValueList<KABC::Addressee> List;
+//ig typedef TQValueList<KABC::Addressee> List;
%If ( KDE_3_4_2 - )
- typedef QMap<QString,KABC::Addressee> Map;
+ typedef TQMap<TQString,KABC::Addressee> Map;
%End
Addressee ();
@@ -49,204 +49,204 @@ public:
%End
bool isEmpty () const;
- void setUid (const QString&);
- QString uid () const;
+ void setUid (const TQString&);
+ TQString uid () const;
%If ( KDE_3_1_0 - )
- static QString uidLabel ();
+ static TQString uidLabel ();
%End
- void setName (const QString&);
- QString name () const;
+ void setName (const TQString&);
+ TQString name () const;
%If ( KDE_3_1_0 - )
- static QString nameLabel ();
+ static TQString nameLabel ();
%End
- void setFormattedName (const QString&);
- QString formattedName () const;
+ void setFormattedName (const TQString&);
+ TQString formattedName () const;
%If ( KDE_3_1_0 - )
- static QString formattedNameLabel ();
+ static TQString formattedNameLabel ();
%End
- void setFamilyName (const QString&);
- QString familyName () const;
+ void setFamilyName (const TQString&);
+ TQString familyName () const;
%If ( KDE_3_1_0 - )
- static QString familyNameLabel ();
+ static TQString familyNameLabel ();
%End
- void setGivenName (const QString&);
- QString givenName () const;
+ void setGivenName (const TQString&);
+ TQString givenName () const;
%If ( KDE_3_1_0 - )
- static QString givenNameLabel ();
+ static TQString givenNameLabel ();
%End
- void setAdditionalName (const QString&);
- QString additionalName () const;
+ void setAdditionalName (const TQString&);
+ TQString additionalName () const;
%If ( KDE_3_1_0 - )
- static QString additionalNameLabel ();
+ static TQString additionalNameLabel ();
%End
- void setPrefix (const QString&);
- QString prefix () const;
+ void setPrefix (const TQString&);
+ TQString prefix () const;
%If ( KDE_3_1_0 - )
- static QString prefixLabel ();
+ static TQString prefixLabel ();
%End
- void setSuffix (const QString&);
- QString suffix () const;
+ void setSuffix (const TQString&);
+ TQString suffix () const;
%If ( KDE_3_1_0 - )
- static QString suffixLabel ();
+ static TQString suffixLabel ();
%End
- void setNickName (const QString&);
- QString nickName () const;
+ void setNickName (const TQString&);
+ TQString nickName () const;
%If ( KDE_3_1_0 - )
- static QString nickNameLabel ();
+ static TQString nickNameLabel ();
%End
- void setBirthday (const QDateTime&);
- QDateTime birthday () const;
+ void setBirthday (const TQDateTime&);
+ TQDateTime 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;
+ static TQString birthdayLabel ();
+ static TQString homeAddressStreetLabel ();
+ static TQString homeAddressLocalityLabel ();
+ static TQString homeAddressRegionLabel ();
+ static TQString homeAddressPostalCodeLabel ();
+ static TQString homeAddressCountryLabel ();
+ static TQString homeAddressLabelLabel ();
+ static TQString businessAddressStreetLabel ();
+ static TQString businessAddressLocalityLabel ();
+ static TQString businessAddressRegionLabel ();
+ static TQString businessAddressPostalCodeLabel ();
+ static TQString businessAddressCountryLabel ();
+ static TQString businessAddressLabelLabel ();
+ static TQString homePhoneLabel ();
+ static TQString businessPhoneLabel ();
+ static TQString mobilePhoneLabel ();
+ static TQString homeFaxLabel ();
+ static TQString businessFaxLabel ();
+ static TQString carPhoneLabel ();
+ static TQString isdnLabel ();
+ static TQString pagerLabel ();
+ static TQString emailLabel ();
+%End
+
+ void setMailer (const TQString&);
+ TQString mailer () const;
%If ( KDE_3_1_0 - )
- static QString mailerLabel ();
+ static TQString mailerLabel ();
%End
void setTimeZone (const KABC::TimeZone&);
KABC::TimeZone timeZone () const;
%If ( KDE_3_1_0 - )
- static QString timeZoneLabel ();
+ static TQString timeZoneLabel ();
%End
void setGeo (const KABC::Geo&);
KABC::Geo geo () const;
%If ( KDE_3_1_0 - )
- static QString geoLabel ();
+ static TQString geoLabel ();
%End
- void setTitle (const QString&);
- QString title () const;
+ void setTitle (const TQString&);
+ TQString title () const;
%If ( KDE_3_1_0 - )
- static QString titleLabel ();
+ static TQString titleLabel ();
%End
- void setRole (const QString&);
- QString role () const;
+ void setRole (const TQString&);
+ TQString role () const;
%If ( KDE_3_1_0 - )
- static QString roleLabel ();
+ static TQString roleLabel ();
%End
- void setOrganization (const QString&);
- QString organization () const;
+ void setOrganization (const TQString&);
+ TQString organization () const;
%If ( KDE_3_1_0 - )
- static QString organizationLabel ();
+ static TQString organizationLabel ();
%End
- void setNote (const QString&);
- QString note () const;
+ void setNote (const TQString&);
+ TQString note () const;
%If ( KDE_3_1_0 - )
- static QString noteLabel ();
+ static TQString noteLabel ();
%End
- void setProductId (const QString&);
- QString productId () const;
+ void setProductId (const TQString&);
+ TQString productId () const;
%If ( KDE_3_1_0 - )
- static QString productIdLabel ();
+ static TQString productIdLabel ();
%End
- void setRevision (const QDateTime&);
- QDateTime revision () const;
+ void setRevision (const TQDateTime&);
+ TQDateTime revision () const;
%If ( KDE_3_1_0 - )
- static QString revisionLabel ();
+ static TQString revisionLabel ();
%End
- void setSortString (const QString&);
- QString sortString () const;
+ void setSortString (const TQString&);
+ TQString sortString () const;
%If ( KDE_3_1_0 - )
- static QString sortStringLabel ();
+ static TQString sortStringLabel ();
%End
void setUrl (const KURL&);
KURL url () const;
%If ( KDE_3_1_0 - )
- static QString urlLabel ();
+ static TQString urlLabel ();
void setSecrecy (const KABC::Secrecy&);
KABC::Secrecy secrecy () const;
- static QString secrecyLabel ();
+ static TQString secrecyLabel ();
void setLogo (const KABC::Picture&);
KABC::Picture logo () const;
- static QString logoLabel ();
+ static TQString logoLabel ();
void setPhoto (const KABC::Picture&);
KABC::Picture photo () const;
- static QString photoLabel ();
+ static TQString photoLabel ();
void setSound (const KABC::Sound&);
KABC::Sound sound () const;
- static QString soundLabel ();
+ static TQString soundLabel ();
void setAgent (const KABC::Agent&);
KABC::Agent agent () const;
- static QString agentLabel ();
+ static TQString agentLabel ();
%End
- void setNameFromString (const QString&);
- QString realName () const;
+ void setNameFromString (const TQString&);
+ TQString realName () const;
%If ( KDE_3_1_0 - )
- QString assembledName () const;
+ TQString 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;
+ TQString fullEmail (const TQString& = TQString ::null ) const;
+ void insertEmail (const TQString&, bool = 0);
+ void removeEmail (const TQString&);
+ TQString preferredEmail () const;
+ TQStringList emails () const;
%If ( KDE_3_4_2 - )
- void setEmails (const QStringList&);
+ void setEmails (const TQStringList&);
%End
void insertPhoneNumber (const KABC::PhoneNumber&);
@@ -258,20 +258,20 @@ public:
KABC::PhoneNumber::List phoneNumbers (int) const;
%End
- KABC::PhoneNumber findPhoneNumber (const QString&) const;
+ KABC::PhoneNumber findPhoneNumber (const TQString&) 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 key (int, TQString = TQString ::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;
+ KABC::Key::List keys (int, TQString = TQString ::null ) const;
+ KABC::Key findKey (const TQString&) const;
%End
void insertAddress (const KABC::Address&);
@@ -283,26 +283,26 @@ public:
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;
+ KABC::Address findAddress (const TQString&) const;
+ void insertCategory (const TQString&);
+ void removeCategory (const TQString&);
+ bool hasCategory (const TQString&) const;
+ void setCategories (const TQStringList&);
+ TQStringList categories () const;
+ void insertCustom (const TQString&, const TQString&, const TQString&);
+ void removeCustom (const TQString&, const TQString&);
+ TQString custom (const TQString&, const TQString&) const;
+ void setCustoms (const TQStringList&);
+ TQStringList customs () const;
%If ( KDE_3_1_0 - )
- static void parseEmailAddress (const QString&, QString&, QString&);
+ static void parseEmailAddress (const TQString&, TQString&, TQString&);
%End
void dump () const;
%If ( KDE_3_1_0 - )
- QString asString () const;
+ TQString asString () const;
void setResource (KABC::Resource*);
KABC::Resource* resource () const;
void setChanged (bool);
@@ -324,8 +324,8 @@ public:
%If ( KDE_3_1_0 - )
-//igx QDataStream& operator << (QDataStream&, const KABC::Addressee&);
-//igx QDataStream& operator >> (QDataStream&, KABC::Addressee&);
+//igx TQDataStream& operator << (TQDataStream&, const KABC::Addressee&);
+//igx TQDataStream& operator >> (TQDataStream&, KABC::Addressee&);
%End
}; // namespace KABC
@@ -337,7 +337,7 @@ public:
{
%TypeHeaderCode
#include <qvaluelist.h>
-//typedef QValueList<KABC::Addressee> List;
+//typedef TQValueList<KABC::Addressee> List;
%End
%ConvertFromTypeCode
@@ -349,11 +349,11 @@ public:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KABC::Addressee> *cpplist = (QValueList<KABC::Addressee> *)sipCpp;
+ TQValueList<KABC::Addressee> *cpplist = (TQValueList<KABC::Addressee> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KABC::Addressee>::Iterator it;
+ TQValueList<KABC::Addressee>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KABC::Addressee (*it), sipType_KABC_Addressee, NULL)) == NULL)
@@ -372,7 +372,7 @@ public:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KABC::Addressee> *cpplist = new QValueList<KABC::Addressee>;
+ TQValueList<KABC::Addressee> *cpplist = new TQValueList<KABC::Addressee>;
PyObject *elem;
KABC::Addressee *cpp;
@@ -404,7 +404,7 @@ public:
{
%TypeHeaderCode
#include <qvaluelist.h>
-//typedef QValueList<KABC::Address> List;
+//typedef TQValueList<KABC::Address> List;
%End
%ConvertFromTypeCode
@@ -416,11 +416,11 @@ public:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KABC::Address> *cpplist = (QValueList<KABC::Address> *)sipCpp;
+ TQValueList<KABC::Address> *cpplist = (TQValueList<KABC::Address> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KABC::Address>::Iterator it;
+ TQValueList<KABC::Address>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KABC::Address (*it), sipType_KABC_Address, NULL)) == NULL)
@@ -439,7 +439,7 @@ public:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KABC::Address> *cpplist = new QValueList<KABC::Address>;
+ TQValueList<KABC::Address> *cpplist = new TQValueList<KABC::Address>;
PyObject *elem;
KABC::Address *cpp;
diff --git a/sip/kabc/addresseedialog.sip b/sip/kabc/addresseedialog.sip
index abfd6d2..388d4cc 100644
--- a/sip/kabc/addresseedialog.sip
+++ b/sip/kabc/addresseedialog.sip
@@ -26,7 +26,7 @@
namespace KABC
{
-class AddresseeItem : QListViewItem
+class AddresseeItem : TQListViewItem
{
%TypeHeaderCode
#include <addresseedialog.h>
@@ -41,9 +41,9 @@ public:
Email
};
- AddresseeItem (QListView*, const KABC::Addressee&);
+ AddresseeItem (TQListView*, const KABC::Addressee&);
KABC::Addressee addressee () const;
- virtual QString key (int, bool) const;
+ virtual TQString key (int, bool) const;
}; // class AddresseeItem
@@ -56,11 +56,11 @@ class AddresseeDialog : KDialogBase
public:
- AddresseeDialog (QWidget* = 0, bool = 0);
+ AddresseeDialog (TQWidget* = 0, bool = 0);
KABC::Addressee addressee ();
KABC::Addressee::List addressees ();
- static KABC::Addressee getAddressee (QWidget*);
- static KABC::Addressee::List getAddressees (QWidget*);
+ static KABC::Addressee getAddressee (TQWidget*);
+ static KABC::Addressee::List getAddressees (TQWidget*);
protected slots:
diff --git a/sip/kabc/addresslineedit.sip b/sip/kabc/addresslineedit.sip
index 54606e9..d8ed446 100644
--- a/sip/kabc/addresslineedit.sip
+++ b/sip/kabc/addresslineedit.sip
@@ -36,8 +36,8 @@ class AddressLineEdit : KLineEdit
public:
- AddressLineEdit (QWidget*, bool = 1, const char* = 0);
- virtual void setFont (const QFont&);
+ AddressLineEdit (TQWidget*, bool = 1, const char* = 0);
+ virtual void setFont (const TQFont&);
%If ( KDE_3_2_0 - )
static KConfig* config ();
@@ -50,12 +50,12 @@ public slots:
protected:
virtual void loadAddresses ();
- void addAddress (const QString&);
- virtual void keyPressEvent (QKeyEvent*);
- virtual void dropEvent (QDropEvent*);
+ void addAddress (const TQString&);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void dropEvent (TQDropEvent*);
virtual void paste ();
- virtual void insert (const QString&);
- virtual void mouseReleaseEvent (QMouseEvent*);
+ virtual void insert (const TQString&);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
void doCompletion (bool);
}; // class AddressLineEdit
diff --git a/sip/kabc/agent.sip b/sip/kabc/agent.sip
index 4aff028..5842970 100644
--- a/sip/kabc/agent.sip
+++ b/sip/kabc/agent.sip
@@ -37,21 +37,21 @@ class Agent
public:
Agent ();
- Agent (const QString&);
+ Agent (const TQString&);
Agent (KABC::Addressee*);
bool operator == (const KABC::Agent&) const;
bool operator != (const KABC::Agent&) const;
- void setUrl (const QString&);
+ void setUrl (const TQString&);
void setAddressee (KABC::Addressee*);
bool isIntern () const;
- QString url () const;
+ TQString url () const;
KABC::Addressee* addressee () const;
- QString asString () const;
+ TQString asString () const;
}; // class Agent
-//igx QDataStream& operator << (QDataStream&, const KABC::Agent&);
-//igx QDataStream& operator >> (QDataStream&, KABC::Agent&);
+//igx TQDataStream& operator << (TQDataStream&, const KABC::Agent&);
+//igx TQDataStream& operator >> (TQDataStream&, KABC::Agent&);
}; // namespace KABC
%End
diff --git a/sip/kabc/distributionlist.sip b/sip/kabc/distributionlist.sip
index a2bddbf..28f10c5 100644
--- a/sip/kabc/distributionlist.sip
+++ b/sip/kabc/distributionlist.sip
@@ -39,22 +39,22 @@ public:
{
public:
- typedef QValueList<KABC::DistributionList::Entry> List;
+ typedef TQValueList<KABC::DistributionList::Entry> List;
Entry ();
- Entry (const KABC::Addressee&, const QString&);
+ Entry (const KABC::Addressee&, const TQString&);
KABC::Addressee addressee;
- QString email;
+ TQString 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;
+ DistributionList (KABC::DistributionListManager*, const TQString&);
+ void setName (const TQString&);
+ TQString name () const;
+ void insertEntry (const KABC::Addressee&, const TQString& = TQString ::null );
+ void removeEntry (const KABC::Addressee&, const TQString& = TQString ::null );
+ TQStringList emails () const;
KABC::DistributionList::Entry::List entries () const;
}; // class DistributionList
@@ -69,10 +69,10 @@ class DistributionListManager
public:
DistributionListManager (KABC::AddressBook*);
- KABC::DistributionList* list (const QString&);
+ KABC::DistributionList* list (const TQString&);
void insert (KABC::DistributionList*);
void remove (KABC::DistributionList*);
- QStringList listNames ();
+ TQStringList listNames ();
bool load ();
bool save ();
@@ -81,7 +81,7 @@ public:
%If ( KDE_3_1_0 - )
-class DistributionListWatcher : QObject
+class DistributionListWatcher : TQObject
{
%TypeHeaderCode
#include <distributionlist.h>
@@ -122,11 +122,11 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KABC::DistributionList::Entry> *cpplist = (QValueList<KABC::DistributionList::Entry> *)sipCpp;
+ TQValueList<KABC::DistributionList::Entry> *cpplist = (TQValueList<KABC::DistributionList::Entry> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KABC::DistributionList::Entry>::Iterator it;
+ TQValueList<KABC::DistributionList::Entry>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KABC::DistributionList::Entry (*it), sipType_KABC_DistributionList_Entry, NULL)) == NULL)
@@ -145,7 +145,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KABC::DistributionList::Entry> *cpplist = new QValueList<KABC::DistributionList::Entry>;
+ TQValueList<KABC::DistributionList::Entry> *cpplist = new TQValueList<KABC::DistributionList::Entry>;
PyObject *elem;
KABC::DistributionList::Entry *cpp;
diff --git a/sip/kabc/distributionlistdialog.sip b/sip/kabc/distributionlistdialog.sip
index 720afd0..8aa9f4e 100644
--- a/sip/kabc/distributionlistdialog.sip
+++ b/sip/kabc/distributionlistdialog.sip
@@ -36,7 +36,7 @@ class DistributionListDialog : KDialogBase
public:
- DistributionListDialog (KABC::AddressBook*, QWidget*);
+ DistributionListDialog (KABC::AddressBook*, TQWidget*);
}; // class DistributionListDialog
@@ -49,14 +49,14 @@ class EmailSelector : KDialogBase
public:
- EmailSelector (const QStringList&, const QString&, QWidget*);
- QString selected ();
- static QString getEmail (const QStringList&, const QString&, QWidget*);
+ EmailSelector (const TQStringList&, const TQString&, TQWidget*);
+ TQString selected ();
+ static TQString getEmail (const TQStringList&, const TQString&, TQWidget*);
}; // class EmailSelector
-class DistributionListEditorWidget : QWidget
+class DistributionListEditorWidget : TQWidget
{
%TypeHeaderCode
#include <distributionlistdialog.h>
@@ -64,7 +64,7 @@ class DistributionListEditorWidget : QWidget
public:
- DistributionListEditorWidget (KABC::AddressBook*, QWidget*);
+ DistributionListEditorWidget (KABC::AddressBook*, TQWidget*);
}; // class DistributionListEditorWidget
diff --git a/sip/kabc/distributionlisteditor.sip b/sip/kabc/distributionlisteditor.sip
index e97df7f..48ad147 100644
--- a/sip/kabc/distributionlisteditor.sip
+++ b/sip/kabc/distributionlisteditor.sip
@@ -34,14 +34,14 @@ class EmailSelectDialog : KDialogBase
public:
- EmailSelectDialog (const QStringList&, const QString&, QWidget*);
- QString selected ();
- static QString getEmail (const QStringList&, const QString&, QWidget*);
+ EmailSelectDialog (const TQStringList&, const TQString&, TQWidget*);
+ TQString selected ();
+ static TQString getEmail (const TQStringList&, const TQString&, TQWidget*);
}; // class EmailSelectDialog
-//ig class DistributionListEditor : QWidget;
+//ig class DistributionListEditor : TQWidget;
}; // namespace KABC
diff --git a/sip/kabc/errorhandler.sip b/sip/kabc/errorhandler.sip
index 9a24483..4f96d34 100644
--- a/sip/kabc/errorhandler.sip
+++ b/sip/kabc/errorhandler.sip
@@ -37,7 +37,7 @@ class ErrorHandler
public:
- virtual void error (const QString&) = 0;
+ virtual void error (const TQString&) = 0;
}; // class ErrorHandler
@@ -51,7 +51,7 @@ class ConsoleErrorHandler : KABC::ErrorHandler
public:
- virtual void error (const QString&);
+ virtual void error (const TQString&);
}; // class ConsoleErrorHandler
@@ -66,7 +66,7 @@ class GUIErrorHandler : KABC::ErrorHandler
public:
- virtual void error (const QString&);
+ virtual void error (const TQString&);
}; // class GUIErrorHandler
@@ -84,8 +84,8 @@ class GuiErrorHandler : KABC::ErrorHandler
public:
- GuiErrorHandler (QWidget*);
- virtual void error (const QString&);
+ GuiErrorHandler (TQWidget*);
+ virtual void error (const TQString&);
}; // class GuiErrorHandler
diff --git a/sip/kabc/field.sip b/sip/kabc/field.sip
index ab4d670..443fa2c 100644
--- a/sip/kabc/field.sip
+++ b/sip/kabc/field.sip
@@ -36,7 +36,7 @@ class Field
public:
- typedef QValueList<KABC::Field*> List;
+ typedef TQValueList<KABC::Field*> List;
enum FieldCategory
{
@@ -49,26 +49,26 @@ public:
CustomCategory
};
- virtual QString label ();
+ virtual TQString label ();
virtual int category ();
- static QString categoryLabel (int);
- virtual QString value (const KABC::Addressee&);
- virtual bool setValue (KABC::Addressee&, const QString&);
+ static TQString categoryLabel (int);
+ virtual TQString value (const KABC::Addressee&);
+ virtual bool setValue (KABC::Addressee&, const TQString&);
%If ( KDE_3_2_0 - )
- QString sortKey (const KABC::Addressee&);
+ TQString 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 KABC::Field* createCustomField (const TQString&, int, const TQString&, const TQString&);
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&);
+ static void saveFields (KConfig*, const TQString&, const KABC::Field::List&);
+ static void saveFields (const TQString&, const KABC::Field::List&);
+ static KABC::Field::List restoreFields (KConfig*, const TQString&);
+ static KABC::Field::List restoreFields (const TQString&);
protected:
static void createField (int, int = 0);
@@ -106,11 +106,11 @@ private:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KABC::Field *> *cpplist = (QValueList<KABC::Field *> *)sipCpp;
+ TQValueList<KABC::Field *> *cpplist = (TQValueList<KABC::Field *> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KABC::Field *>::Iterator it;
+ TQValueList<KABC::Field *>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromType((KABC::Field *)(*it), sipType_KABC_Field, NULL)) == NULL)
@@ -129,7 +129,7 @@ private:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KABC::Field *> *cpplist = new QValueList<KABC::Field *>;
+ TQValueList<KABC::Field *> *cpplist = new TQValueList<KABC::Field *>;
PyObject *elem;
KABC::Field *cpp;
diff --git a/sip/kabc/format.sip b/sip/kabc/format.sip
index 30b863b..30e1197 100644
--- a/sip/kabc/format.sip
+++ b/sip/kabc/format.sip
@@ -34,8 +34,8 @@ class Format
public:
- virtual bool load (KABC::AddressBook*, const QString&) = 0;
- virtual bool save (KABC::AddressBook*, const QString&) = 0;
+ virtual bool load (KABC::AddressBook*, const TQString&) = 0;
+ virtual bool save (KABC::AddressBook*, const TQString&) = 0;
}; // class Format
diff --git a/sip/kabc/formatfactory.sip b/sip/kabc/formatfactory.sip
index 14ec70c..1eac237 100644
--- a/sip/kabc/formatfactory.sip
+++ b/sip/kabc/formatfactory.sip
@@ -36,9 +36,9 @@ class FormatInfo
public:
- QString library;
- QString nameLabel;
- QString descriptionLabel;
+ TQString library;
+ TQString nameLabel;
+ TQString descriptionLabel;
}; // class FormatInfo
@@ -52,9 +52,9 @@ class FormatFactory
public:
static KABC::FormatFactory* self ();
- KABC::FormatPlugin* format (const QString&);
- QStringList formats ();
- KABC::FormatInfo* info (const QString&);
+ KABC::FormatPlugin* format (const TQString&);
+ TQStringList formats ();
+ KABC::FormatInfo* info (const TQString&);
protected:
FormatFactory ();
diff --git a/sip/kabc/formatplugin.sip b/sip/kabc/formatplugin.sip
index bb63e8d..1008943 100644
--- a/sip/kabc/formatplugin.sip
+++ b/sip/kabc/formatplugin.sip
@@ -36,11 +36,11 @@ class FormatPlugin : KABC::Plugin
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;
+ virtual bool load (KABC::Addressee&, TQFile*) = 0;
+ virtual bool loadAll (KABC::AddressBook*, KABC::Resource*, TQFile*) = 0;
+ virtual void save (const KABC::Addressee&, TQFile*) = 0;
+ virtual void saveAll (KABC::AddressBook*, KABC::Resource*, TQFile*) = 0;
+ virtual bool checkFormat (TQFile*) const = 0;
}; // class FormatPlugin
diff --git a/sip/kabc/geo.sip b/sip/kabc/geo.sip
index 48124a7..3ffca2f 100644
--- a/sip/kabc/geo.sip
+++ b/sip/kabc/geo.sip
@@ -47,14 +47,14 @@ public:
bool operator != (const KABC::Geo&) const;
%End
- QString asString () const;
+ TQString asString () const;
}; // class Geo
%If ( KDE_3_1_0 - )
-//igx QDataStream& operator << (QDataStream&, const KABC::Geo&);
-//igx QDataStream& operator >> (QDataStream&, KABC::Geo&);
+//igx TQDataStream& operator << (TQDataStream&, const KABC::Geo&);
+//igx TQDataStream& operator >> (TQDataStream&, KABC::Geo&);
%End
}; // namespace KABC
diff --git a/sip/kabc/key.sip b/sip/kabc/key.sip
index 2321204..26bee15 100644
--- a/sip/kabc/key.sip
+++ b/sip/kabc/key.sip
@@ -36,8 +36,8 @@ class Key
public:
- typedef QValueList<KABC::Key> List;
- typedef QValueList<int> TypeList;
+ typedef TQValueList<KABC::Key> List;
+ typedef TQValueList<int> TypeList;
enum Types
{
@@ -46,27 +46,27 @@ public:
Custom
};
- Key (const QString& = QString ::null , int = PGP );
+ Key (const TQString& = TQString ::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;
+ void setId (const TQString&);
+ TQString id () const;
+ void setBinaryData (const TQByteArray&);
+ TQByteArray binaryData () const;
+ void setTextData (const TQString&);
+ TQString textData () const;
bool isBinary () const;
void setType (int);
- void setCustomTypeString (const QString&);
+ void setCustomTypeString (const TQString&);
int type () const;
- QString customTypeString () const;
+ TQString customTypeString () const;
static TypeList typeList ();
- static QString typeLabel (int);
+ static TQString typeLabel (int);
}; // class Key
-//igx QDataStream& operator << (QDataStream&, const KABC::Key&);
-//igx QDataStream& operator >> (QDataStream&, KABC::Key&);
+//igx TQDataStream& operator << (TQDataStream&, const KABC::Key&);
+//igx TQDataStream& operator >> (TQDataStream&, KABC::Key&);
}; // namespace KABC
%End
@@ -78,7 +78,7 @@ public:
{
%TypeHeaderCode
#include <qvaluelist.h>
-//typedef QValueList<KABC::Key> List;
+//typedef TQValueList<KABC::Key> List;
%End
%ConvertFromTypeCode
@@ -90,11 +90,11 @@ public:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KABC::Key> *cpplist = (QValueList<KABC::Key> *)sipCpp;
+ TQValueList<KABC::Key> *cpplist = (TQValueList<KABC::Key> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KABC::Key>::Iterator it;
+ TQValueList<KABC::Key>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KABC::Key(*it), sipType_KABC_Key, NULL)) == NULL)
@@ -113,7 +113,7 @@ public:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KABC::Key> *cpplist = new QValueList<KABC::Key>;
+ TQValueList<KABC::Key> *cpplist = new TQValueList<KABC::Key>;
PyObject *elem;
KABC::Key *cpp;
diff --git a/sip/kabc/ldapclient.sip b/sip/kabc/ldapclient.sip
index 610749e..c999c85 100644
--- a/sip/kabc/ldapclient.sip
+++ b/sip/kabc/ldapclient.sip
@@ -27,8 +27,8 @@
%If ( KDE_3_1_0 - )
namespace KABC
{
-//ig typedef QValueList<QByteArray> LdapAttrValue;
-//ig typedef QMap<QString,KABC::LdapAttrValue> LdapAttrMap;
+//ig typedef TQValueList<TQByteArray> LdapAttrValue;
+//ig typedef TQMap<TQString,KABC::LdapAttrValue> LdapAttrMap;
class LdapObject
{
@@ -41,13 +41,13 @@ public:
LdapObject ();
%If ( KDE_3_3_0 - )
- LdapObject (const QString&, KABC::LdapClient*);
+ LdapObject (const TQString&, KABC::LdapClient*);
%End
LdapObject (const KABC::LdapObject&);
- QString toString () const;
+ TQString toString () const;
void clear ();
- QString dn;
+ TQString dn;
//ig LdapAttrMap attrs;
%If ( KDE_3_3_0 - )
@@ -61,14 +61,14 @@ protected:
public:
%If ( - KDE_3_3_0 )
- LdapObject (QString);
+ LdapObject (TQString);
%End
}; // class LdapObject
-class LdapClient : QObject
+class LdapClient : TQObject
{
%TypeHeaderCode
#include <ldapclient.h>
@@ -76,43 +76,43 @@ class LdapClient : QObject
public:
- LdapClient (QObject* = 0, const char* = 0);
+ LdapClient (TQObject* = 0, const char* = 0);
bool isActive () const;
signals:
void done ();
- void error (const QString&);
+ void error (const TQString&);
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;
+ void setHost (const TQString&);
+ TQString host () const;
+ void setPort (const TQString&);
+ TQString port () const;
+ void setBase (const TQString&);
+ TQString base () const;
%If ( KDE_3_2_0 - )
- void setBindDN (const QString&);
- QString bindDN () const;
- void setPwdBindDN (const QString&);
- QString pwdBindDN () const;
+ void setBindDN (const TQString&);
+ TQString bindDN () const;
+ void setPwdBindDN (const TQString&);
+ TQString pwdBindDN () const;
%End
- void setAttrs (const QStringList&);
- QStringList attrs () const;
- void setScope (const QString);
- void startQuery (const QString&);
+ void setAttrs (const TQStringList&);
+ TQStringList attrs () const;
+ void setScope (const TQString);
+ void startQuery (const TQString&);
void cancelQuery ();
protected slots:
- void slotData (KIO::Job*, const QByteArray&);
- void slotInfoMessage (KIO::Job*, const QString&);
+ void slotData (KIO::Job*, const TQByteArray&);
+ void slotInfoMessage (KIO::Job*, const TQString&);
void slotDone ();
protected:
void startParseLDIF ();
- void parseLDIF (const QByteArray&);
+ void parseLDIF (const TQByteArray&);
void endParseLDIF ();
}; // class LdapClient
@@ -128,8 +128,8 @@ class LdapResult
public:
- QString name;
- QString email;
+ TQString name;
+ TQString email;
int clientNumber;
}; // class LdapResult
@@ -138,11 +138,11 @@ public:
%If ( KDE_3_3_0 - )
-typedef QValueList<KABC::LdapResult> LdapResultList;
+typedef TQValueList<KABC::LdapResult> LdapResultList;
%End
-class LdapSearch : QObject
+class LdapSearch : TQObject
{
%TypeHeaderCode
#include <ldapclient.h>
@@ -151,12 +151,12 @@ class LdapSearch : QObject
public:
LdapSearch ();
- void startSearch (const QString&);
+ void startSearch (const TQString&);
void cancelSearch ();
bool isAvailable () const;
signals:
- void searchData (const QStringList&);
+ void searchData (const TQStringList&);
%If ( KDE_3_3_0 - )
void searchData (const KABC::LdapResultList&);
@@ -189,11 +189,11 @@ signals:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KABC::LdapResult> *cpplist = (QValueList<KABC::LdapResult> *)sipCpp;
+ TQValueList<KABC::LdapResult> *cpplist = (TQValueList<KABC::LdapResult> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KABC::LdapResult>::Iterator it;
+ TQValueList<KABC::LdapResult>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KABC::LdapResult(*it), sipType_KABC_LdapResult, NULL)) == NULL)
@@ -212,7 +212,7 @@ signals:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KABC::LdapResult> *cpplist = new QValueList<KABC::LdapResult>;
+ TQValueList<KABC::LdapResult> *cpplist = new TQValueList<KABC::LdapResult>;
PyObject *elem;
KABC::LdapResult *cpp;
diff --git a/sip/kabc/ldapconfigwidget.sip b/sip/kabc/ldapconfigwidget.sip
index ce1ddb1..928c00a 100644
--- a/sip/kabc/ldapconfigwidget.sip
+++ b/sip/kabc/ldapconfigwidget.sip
@@ -28,7 +28,7 @@
namespace KABC
{
-class LdapConfigWidget : QWidget
+class LdapConfigWidget : TQWidget
{
%TypeHeaderCode
#include <ldapconfigwidget.h>
@@ -55,28 +55,28 @@ public:
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;
+ LdapConfigWidget (TQWidget* = 0, const char* = 0, WFlags = 0);
+ LdapConfigWidget (int, TQWidget* = 0, const char* = 0, WFlags = 0);
+ void setUser (const TQString&);
+ TQString user () const;
+ void setPassword (const TQString&);
+ TQString password () const;
+ void setBindDN (const TQString&);
+ TQString bindDN () const;
+ void setRealm (const TQString&);
+ TQString realm () const;
+ void setHost (const TQString&);
+ TQString 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 setDn (const TQString&);
+ TQString dn () const;
+ void setFilter (const TQString&);
+ TQString filter () const;
+ void setMech (const TQString&);
+ TQString mech () const;
void setSecNO (bool = 1);
bool isSecNO () const;
void setSecTLS (bool = 1);
diff --git a/sip/kabc/ldapurl.sip b/sip/kabc/ldapurl.sip
index d0e6406..605fe6d 100644
--- a/sip/kabc/ldapurl.sip
+++ b/sip/kabc/ldapurl.sip
@@ -41,7 +41,7 @@ public:
{
public:
- QString value;
+ TQString value;
bool critical;
}; // class Extension
@@ -58,20 +58,20 @@ public:
LDAPUrl ();
LDAPUrl (const KURL&);
- const QString& dn () const;
- void setDn (const QString&);
- const QStringList& attributes ();
- void setAttributes (const QStringList&);
+ const TQString& dn () const;
+ void setDn (const TQString&);
+ const TQStringList& attributes ();
+ void setAttributes (const TQStringList&);
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&);
+ const TQString& filter () const;
+ void setFilter (TQString);
+ bool hasExtension (const TQString&) const;
+ KABC::LDAPUrl::Extension extension (const TQString&) const;
+ TQString extension (const TQString&, bool& /Out/) const /PyName=extensionAndCritical/;
+ void setExtension (const TQString&, const KABC::LDAPUrl::Extension&);
+ void setExtension (const TQString&, const TQString&, bool = 0);
+ void removeExtension (const TQString&);
void updateQuery ();
protected:
diff --git a/sip/kabc/ldif.sip b/sip/kabc/ldif.sip
index b7deb95..7cc6eab 100644
--- a/sip/kabc/ldif.sip
+++ b/sip/kabc/ldif.sip
@@ -68,27 +68,27 @@ public:
};
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&);
+ static TQCString assembleLine (const TQString&, const TQByteArray&, uint = 0, bool = 0);
+ static TQCString assembleLine (const TQString&, const TQCString&, uint = 0, bool = 0);
+ static TQCString assembleLine (const TQString&, const TQString&, uint = 0, bool = 0);
+ static bool splitLine (const TQCString&, TQString&, TQByteArray&);
+ static bool splitControl (const TQCString&, TQString&, bool&, TQByteArray&);
void startParsing ();
KABC::LDIF::ParseVal processLine ();
KABC::LDIF::ParseVal nextItem ();
- void setLDIF (const QByteArray&);
+ void setLDIF (const TQByteArray&);
void endLDIF ();
KABC::LDIF::EntryType entryType () const;
int modType () const;
- const QString& dn () const;
- const QString& newRdn () const;
- const QString& newSuperior () const;
+ const TQString& dn () const;
+ const TQString& newRdn () const;
+ const TQString& newSuperior () const;
bool delOldRdn () const;
- const QString& attr () const;
- const QByteArray& val () const;
+ const TQString& attr () const;
+ const TQByteArray& val () const;
bool isUrl () const;
bool critical () const;
- const QString& oid () const;
+ const TQString& oid () const;
uint lineNo () const;
}; // class LDIF
diff --git a/sip/kabc/ldifconverter.sip b/sip/kabc/ldifconverter.sip
index 8bc4b52..76fa5c1 100644
--- a/sip/kabc/ldifconverter.sip
+++ b/sip/kabc/ldifconverter.sip
@@ -35,18 +35,18 @@ namespace LDIFConverter
{
%If ( KDE_3_5_2 - )
-//ig bool LDIFToAddressee (const QString&, AddresseeList&, QDateTime = QDateTime ::currentDateTime ());
-//ig bool addresseeToLDIF (const AddresseeList&, QString&);
+//ig bool LDIFToAddressee (const TQString&, AddresseeList&, TQDateTime = TQDateTime ::currentDateTime ());
+//ig bool addresseeToLDIF (const AddresseeList&, TQString&);
%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&);
+bool addresseeToLDIF (const KABC::Addressee&, TQString&);
+TQString makeLDIFfieldString (TQString, TQString, bool = 1);
+bool parseSingleLine (KABC::Addressee&, KABC::Address&, KABC::Address&, TQString&);
+bool splitLine (TQString&, TQString&, TQString&);
+bool evaluatePair (KABC::Addressee&, KABC::Address&, KABC::Address&, TQString&, TQString&);
%If ( - KDE_3_5_2 )
-bool LDIFToAddressee (const QString&, KABC::Addressee::List&, QDateTime = QDateTime ::currentDateTime ());
+bool LDIFToAddressee (const TQString&, KABC::Addressee::List&, TQDateTime = TQDateTime ::currentDateTime ());
%MethodCode
KABC::Addressee::List *xa1 = (KABC::Addressee::List *)a1;
@@ -57,7 +57,7 @@ bool LDIFToAddressee (const QString&, KABC::Addressee::List&, QD
%End
-bool addresseeToLDIF (const KABC::Addressee::List&, QString&);
+bool addresseeToLDIF (const KABC::Addressee::List&, TQString&);
%MethodCode
KABC::Addressee::List *xa0 = (KABC::Addressee::List *)a0;
diff --git a/sip/kabc/lock.sip b/sip/kabc/lock.sip
index 82dbebb..874d29c 100644
--- a/sip/kabc/lock.sip
+++ b/sip/kabc/lock.sip
@@ -28,7 +28,7 @@
namespace KABC
{
-class Lock : QObject
+class Lock : TQObject
{
%TypeHeaderCode
#include <lock.h>
@@ -36,14 +36,14 @@ class Lock : QObject
public:
- Lock (const QString&);
+ Lock (const TQString&);
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 ();
+ virtual TQString error () const;
+ TQString lockFileName () const;
+ static bool readLockFile (const TQString&, int&, TQString&);
+ static bool writeLockFile (const TQString&);
+ static TQString locksDir ();
signals:
void locked ();
diff --git a/sip/kabc/locknull.sip b/sip/kabc/locknull.sip
index 6c24a38..7e54a1b 100644
--- a/sip/kabc/locknull.sip
+++ b/sip/kabc/locknull.sip
@@ -39,7 +39,7 @@ public:
LockNull (bool);
bool lock ();
bool unlock ();
- QString error () const;
+ TQString error () const;
}; // class LockNull
diff --git a/sip/kabc/phonenumber.sip b/sip/kabc/phonenumber.sip
index 39f662b..d9ff865 100644
--- a/sip/kabc/phonenumber.sip
+++ b/sip/kabc/phonenumber.sip
@@ -34,10 +34,10 @@ class PhoneNumber
public:
- typedef QValueList<KABC::PhoneNumber> List;
+ typedef TQValueList<KABC::PhoneNumber> List;
%If ( KDE_3_1_0 - )
- typedef QValueList<int> TypeList;
+ typedef TQValueList<int> TypeList;
enum Types
{
@@ -60,26 +60,26 @@ public:
%End
PhoneNumber ();
- PhoneNumber (const QString&, int = Home );
+ PhoneNumber (const TQString&, 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 setId (const TQString&);
+ TQString id () const;
+ void setNumber (const TQString&);
+ TQString number () const;
void setType (int);
int type () const;
%If ( KDE_3_1_0 - )
- QString typeLabel () const;
- QString label () const;
+ TQString typeLabel () const;
+ TQString label () const;
static TypeList typeList ();
- static QString typeLabel (int);
- static QString label (int);
+ static TQString typeLabel (int);
+ static TQString label (int);
%End
@@ -112,8 +112,8 @@ public:
%If ( KDE_3_1_0 - )
-//igx QDataStream& operator << (QDataStream&, const KABC::PhoneNumber&);
-//igx QDataStream& operator >> (QDataStream&, KABC::PhoneNumber&);
+//igx TQDataStream& operator << (TQDataStream&, const KABC::PhoneNumber&);
+//igx TQDataStream& operator >> (TQDataStream&, KABC::PhoneNumber&);
%End
}; // namespace KABC
@@ -125,7 +125,7 @@ public:
{
%TypeHeaderCode
#include <qvaluelist.h>
-//typedef QValueList<KABC::PhoneNumber> List;
+//typedef TQValueList<KABC::PhoneNumber> List;
%End
%ConvertFromTypeCode
@@ -137,11 +137,11 @@ public:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KABC::PhoneNumber> *cpplist = (QValueList<KABC::PhoneNumber> *)sipCpp;
+ TQValueList<KABC::PhoneNumber> *cpplist = (TQValueList<KABC::PhoneNumber> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KABC::PhoneNumber>::Iterator it;
+ TQValueList<KABC::PhoneNumber>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KABC::PhoneNumber(*it), sipType_KABC_PhoneNumber, NULL)) == NULL)
@@ -160,7 +160,7 @@ public:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KABC::PhoneNumber> *cpplist = new QValueList<KABC::PhoneNumber>;
+ TQValueList<KABC::PhoneNumber> *cpplist = new TQValueList<KABC::PhoneNumber>;
PyObject *elem;
KABC::PhoneNumber *cpp;
diff --git a/sip/kabc/picture.sip b/sip/kabc/picture.sip
index 453566e..d715f84 100644
--- a/sip/kabc/picture.sip
+++ b/sip/kabc/picture.sip
@@ -37,23 +37,23 @@ class Picture
public:
Picture ();
- Picture (const QString&);
- Picture (const QImage&);
+ Picture (const TQString&);
+ Picture (const TQImage&);
bool operator == (const KABC::Picture&) const;
bool operator != (const KABC::Picture&) const;
- void setUrl (const QString&);
- void setData (const QImage&);
- void setType (const QString&);
+ void setUrl (const TQString&);
+ void setData (const TQImage&);
+ void setType (const TQString&);
bool isIntern () const;
- QString url () const;
- QImage data () const;
- QString type () const;
- QString asString () const;
+ TQString url () const;
+ TQImage data () const;
+ TQString type () const;
+ TQString asString () const;
}; // class Picture
-//igx QDataStream& operator << (QDataStream&, const KABC::Picture&);
-//igx QDataStream& operator >> (QDataStream&, KABC::Picture&);
+//igx TQDataStream& operator << (TQDataStream&, const KABC::Picture&);
+//igx TQDataStream& operator >> (TQDataStream&, KABC::Picture&);
}; // namespace KABC
%End
diff --git a/sip/kabc/plugin.sip b/sip/kabc/plugin.sip
index 4df2c42..cfa9e54 100644
--- a/sip/kabc/plugin.sip
+++ b/sip/kabc/plugin.sip
@@ -37,12 +37,12 @@ class Plugin
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;
+ virtual void setType (const TQString&);
+ virtual TQString type () const;
+ virtual void setNameLabel (const TQString&);
+ virtual TQString nameLabel () const;
+ virtual void setDescriptionLabel (const TQString&);
+ virtual TQString descriptionLabel () const;
}; // class Plugin
diff --git a/sip/kabc/resource.sip b/sip/kabc/resource.sip
index 14149cb..336096b 100644
--- a/sip/kabc/resource.sip
+++ b/sip/kabc/resource.sip
@@ -73,18 +73,18 @@ public:
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 KABC::Addressee findByUid (const TQString&);
+ virtual KABC::Addressee::List findByName (const TQString&);
+ virtual KABC::Addressee::List findByEmail (const TQString&);
+ virtual KABC::Addressee::List findByCategory (const TQString&);
virtual void clear ();
void setAddressBook (KABC::AddressBook*);
signals:
void loadingFinished (KABC::Resource*);
- void loadingError (KABC::Resource*, const QString&);
+ void loadingError (KABC::Resource*, const TQString&);
void savingFinished (KABC::Resource*);
- void savingError (KABC::Resource*, const QString&);
+ void savingError (KABC::Resource*, const TQString&);
protected:
KABC::Ticket* createTicket (KABC::Resource*);
@@ -111,16 +111,16 @@ public:
virtual bool load ();
virtual bool save (KABC::Ticket*);
KABC::AddressBook* addressBook ();
- virtual QString identifier () const;
+ virtual TQString 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&);
+ virtual void setName (const TQString);
+ virtual TQString name () const;
+ static TQString cryptStr (const TQString&);
protected:
KABC::Ticket* createTicket (KABC::Resource*);
diff --git a/sip/kabc/resourcefile.sip b/sip/kabc/resourcefile.sip
index 75786b8..736545e 100644
--- a/sip/kabc/resourcefile.sip
+++ b/sip/kabc/resourcefile.sip
@@ -39,7 +39,7 @@ public:
%If ( KDE_3_3_0 - )
ResourceFile (const KConfig*);
- ResourceFile (const QString&, const QString& = "vcard");
+ ResourceFile (const TQString&, const TQString& = "vcard");
virtual void writeConfig (KConfig*);
virtual bool doOpen ();
virtual void doClose ();
@@ -55,12 +55,12 @@ public:
virtual bool asyncSave (KABC::Ticket*);
%End
- void setFileName (const QString&);
- QString fileName () const;
+ void setFileName (const TQString&);
+ TQString fileName () const;
%If ( KDE_3_5_1 - )
- void setFormat (const QString&);
- QString format () const;
+ void setFormat (const TQString&);
+ TQString format () const;
%If ( KDE_3_5_2 - )
virtual void removeAddressee (const KABC::Addressee&);
@@ -75,11 +75,11 @@ protected slots:
protected:
%If ( KDE_3_3_0 - )
- void init (const QString&, const QString&);
+ void init (const TQString&, const TQString&);
%End
-//ig bool lock (const QString&);
-//ig void unlock (const QString&);
+//ig bool lock (const TQString&);
+//ig void unlock (const TQString&);
public:
@@ -92,7 +92,7 @@ public:
%If ( - KDE_3_3_0 )
ResourceFile (KABC::AddressBook*, const KConfig*);
- ResourceFile (KABC::AddressBook*, const QString&, KABC::FormatPlugin* = 0);
+ ResourceFile (KABC::AddressBook*, const TQString&, KABC::FormatPlugin* = 0);
bool open ();
void close ();
%End
@@ -108,7 +108,7 @@ public:
virtual void cleanUp ();
%End
- virtual QString identifier () const;
+ virtual TQString identifier () const;
%End
@@ -130,7 +130,7 @@ public:
%If ( KDE_3_1_0 - )
ResourceFile (KABC::AddressBook*, const KConfig*);
- ResourceFile (KABC::AddressBook*, const QString&, KABC::FormatPlugin* = 0);
+ ResourceFile (KABC::AddressBook*, const TQString&, KABC::FormatPlugin* = 0);
bool open ();
void close ();
%End
@@ -140,23 +140,23 @@ public:
bool load ();
bool save (KABC::Ticket*);
virtual void cleanUp ();
- void setFileName (const QString&);
- QString fileName () const;
+ void setFileName (const TQString&);
+ TQString fileName () const;
%If ( KDE_3_1_0 - )
- virtual QString identifier () const;
+ virtual TQString identifier () const;
void removeAddressee (const KABC::Addressee&);
%End
protected:
-//ig bool lock (const QString&);
-//ig void unlock (const QString&);
+//ig bool lock (const TQString&);
+//ig void unlock (const TQString&);
public:
%If ( - KDE_3_1_0 )
- ResourceFile (KABC::AddressBook*, const QString&, KABC::Format* = 0);
+ ResourceFile (KABC::AddressBook*, const TQString&, KABC::Format* = 0);
bool load (KABC::AddressBook*);
%End
diff --git a/sip/kabc/resourceselectdialog.sip b/sip/kabc/resourceselectdialog.sip
index 9210316..7e58205 100644
--- a/sip/kabc/resourceselectdialog.sip
+++ b/sip/kabc/resourceselectdialog.sip
@@ -38,9 +38,9 @@ class ResourceSelectDialog
public:
- ResourceSelectDialog (KABC::AddressBook*, QWidget* = 0, const char* = 0);
+ ResourceSelectDialog (KABC::AddressBook*, TQWidget* = 0, const char* = 0);
KABC::Resource* resource ();
- static KABC::Resource* getResource (KABC::AddressBook*, QWidget* = 0);
+ static KABC::Resource* getResource (KABC::AddressBook*, TQWidget* = 0);
//force
private:
diff --git a/sip/kabc/secrecy.sip b/sip/kabc/secrecy.sip
index 605db1e..33c6d30 100644
--- a/sip/kabc/secrecy.sip
+++ b/sip/kabc/secrecy.sip
@@ -36,7 +36,7 @@ class Secrecy
public:
- typedef QValueList<int> TypeList;
+ typedef TQValueList<int> TypeList;
%If ( KDE_3_2_0 - )
@@ -61,8 +61,8 @@ public:
void setType (int);
int type () const;
static TypeList typeList ();
- static QString typeLabel (int);
- QString asString () const;
+ static TQString typeLabel (int);
+ TQString asString () const;
public:
@@ -82,8 +82,8 @@ public:
%If ( KDE_3_4_0 - )
-//igx QDataStream& operator << (QDataStream&, const KABC::Secrecy&);
-//igx QDataStream& operator >> (QDataStream&, KABC::Secrecy&);
+//igx TQDataStream& operator << (TQDataStream&, const KABC::Secrecy&);
+//igx TQDataStream& operator >> (TQDataStream&, KABC::Secrecy&);
%End
}; // namespace KABC
diff --git a/sip/kabc/sound.sip b/sip/kabc/sound.sip
index b455883..c9c8d4e 100644
--- a/sip/kabc/sound.sip
+++ b/sip/kabc/sound.sip
@@ -37,26 +37,26 @@ class Sound
public:
Sound ();
- Sound (const QString&);
- Sound (const QByteArray&);
+ Sound (const TQString&);
+ Sound (const TQByteArray&);
bool operator == (const KABC::Sound&) const;
bool operator != (const KABC::Sound&) const;
- void setUrl (const QString&);
+ void setUrl (const TQString&);
%If ( KDE_3_4_0 - )
bool isEmpty () const;
%End
- void setData (const QByteArray&);
+ void setData (const TQByteArray&);
bool isIntern () const;
- QString url () const;
- QByteArray data () const;
- QString asString () const;
+ TQString url () const;
+ TQByteArray data () const;
+ TQString asString () const;
}; // class Sound
-//igx QDataStream& operator << (QDataStream&, const KABC::Sound&);
-//igx QDataStream& operator >> (QDataStream&, KABC::Sound&);
+//igx TQDataStream& operator << (TQDataStream&, const KABC::Sound&);
+//igx TQDataStream& operator >> (TQDataStream&, KABC::Sound&);
}; // namespace KABC
%End
diff --git a/sip/kabc/stdaddressbook.sip b/sip/kabc/stdaddressbook.sip
index e571f47..4de04df 100644
--- a/sip/kabc/stdaddressbook.sip
+++ b/sip/kabc/stdaddressbook.sip
@@ -49,10 +49,10 @@ public:
static void handleCrash ();
%End
- static QString fileName ();
+ static TQString fileName ();
%If ( KDE_3_1_0 - )
- static QString directoryName ();
+ static TQString directoryName ();
static void setAutomaticSave (bool);
static void close ();
static bool automaticSave ();
@@ -101,7 +101,7 @@ protected:
public:
%If ( - KDE_3_1_0 )
- QString identifier ();
+ TQString identifier ();
%End
diff --git a/sip/kabc/timezone.sip b/sip/kabc/timezone.sip
index e095d45..c8f28af 100644
--- a/sip/kabc/timezone.sip
+++ b/sip/kabc/timezone.sip
@@ -45,14 +45,14 @@ public:
bool operator != (const KABC::TimeZone&) const;
%End
- QString asString () const;
+ TQString asString () const;
}; // class TimeZone
%If ( KDE_3_1_0 - )
-//igx QDataStream& operator << (QDataStream&, const KABC::TimeZone&);
-//igx QDataStream& operator >> (QDataStream&, KABC::TimeZone&);
+//igx TQDataStream& operator << (TQDataStream&, const KABC::TimeZone&);
+//igx TQDataStream& operator >> (TQDataStream&, KABC::TimeZone&);
%End
}; // namespace KABC
diff --git a/sip/kabc/vcardconverter.sip b/sip/kabc/vcardconverter.sip
index 5276fd0..ff90050 100644
--- a/sip/kabc/vcardconverter.sip
+++ b/sip/kabc/vcardconverter.sip
@@ -50,22 +50,22 @@ public:
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&);
+ TQString createVCard (const KABC::Addressee&, KABC::VCardConverter::Version = v3_0 );
+ TQString createVCards (KABC::Addressee::List, KABC::VCardConverter::Version = v3_0 );
+ KABC::Addressee parseVCard (const TQString&);
+ KABC::Addressee::List parseVCards (const TQString&);
%End
- bool vCardToAddressee (const QString&, KABC::Addressee&, KABC::VCardConverter::Version = v3_0 );
- bool addresseeToVCard (const KABC::Addressee&, QString&, KABC::VCardConverter::Version = v3_0 );
+ bool vCardToAddressee (const TQString&, KABC::Addressee&, KABC::VCardConverter::Version = v3_0 );
+ bool addresseeToVCard (const KABC::Addressee&, TQString&, KABC::VCardConverter::Version = v3_0 );
}; // class VCardConverter
%If ( KDE_3_2_0 - )
-QString dateToVCardString (const QDateTime&);
-QString dateToVCardString (const QDate&);
-QDateTime VCardStringToDate (const QString&);
+TQString dateToVCardString (const TQDateTime&);
+TQString dateToVCardString (const TQDate&);
+TQDateTime VCardStringToDate (const TQString&);
%End
}; // namespace KABC
diff --git a/sip/kabc/vcardformat.sip b/sip/kabc/vcardformat.sip
index 91fe090..fa677fc 100644
--- a/sip/kabc/vcardformat.sip
+++ b/sip/kabc/vcardformat.sip
@@ -35,8 +35,8 @@ class VCardFormat : KABC::Format
public:
VCardFormat ();
- bool load (KABC::AddressBook*, const QString&);
- bool save (KABC::AddressBook*, const QString&);
+ bool load (KABC::AddressBook*, const TQString&);
+ bool save (KABC::AddressBook*, const TQString&);
}; // class VCardFormat
diff --git a/sip/kabc/vcardformatplugin.sip b/sip/kabc/vcardformatplugin.sip
index f6aeef2..e059f5d 100644
--- a/sip/kabc/vcardformatplugin.sip
+++ b/sip/kabc/vcardformatplugin.sip
@@ -37,11 +37,11 @@ class VCardFormatPlugin : KABC::FormatPlugin
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;
+ bool load (KABC::Addressee&, TQFile*);
+ bool loadAll (KABC::AddressBook*, KABC::Resource*, TQFile*);
+ void save (const KABC::Addressee&, TQFile*);
+ void saveAll (KABC::AddressBook*, KABC::Resource*, TQFile*);
+ bool checkFormat (TQFile*) const;
}; // class VCardFormatPlugin
diff --git a/sip/kfile/booktoken.sip b/sip/kfile/booktoken.sip
index cf5870a..182f5cd 100644
--- a/sip/kfile/booktoken.sip
+++ b/sip/kfile/booktoken.sip
@@ -50,7 +50,7 @@ class BookmarkTokenizer
public:
BookmarkTokenizer ();
void begin ();
- void write (const QString&);
+ void write (const TQString&);
void end ();
char* nextToken ();
bool hasMoreTokens ();
diff --git a/sip/kfile/kcombiview.sip b/sip/kfile/kcombiview.sip
index 43867f6..79188cb 100644
--- a/sip/kfile/kcombiview.sip
+++ b/sip/kfile/kcombiview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KCombiView : QSplitter, KFileView
+class KCombiView : TQSplitter, KFileView
{
%TypeHeaderCode
#include <kcombiview.h>
@@ -32,8 +32,8 @@ class KCombiView : QSplitter, KFileView
public:
- KCombiView (QWidget* /TransferThis/, const char*);
- virtual QWidget* widget ();
+ KCombiView (TQWidget* /TransferThis/, const char*);
+ virtual TQWidget* widget ();
virtual void clearView ();
virtual void updateView (bool);
virtual void updateView (const KFileItem*);
@@ -53,11 +53,11 @@ public:
virtual KFileItem* prevItem (const KFileItem*) const;
virtual void insertItem (KFileItem*);
virtual void clear ();
- virtual void setSorting (QDir::SortSpec);
+ virtual void setSorting (TQDir::SortSpec);
%If ( KDE_3_1_0 - )
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
%End
void ensureItemVisible (const KFileItem*);
@@ -75,12 +75,12 @@ public:
protected:
protected slots:
- void slotSortingChanged (QDir::SortSpec);
+ void slotSortingChanged (TQDir::SortSpec);
protected:
%If ( KDE_3_2_0 - )
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
void setDropOptions_impl (int);
%End
diff --git a/sip/kfile/kcustommenueditor.sip b/sip/kfile/kcustommenueditor.sip
index 1ade864..901efcb 100644
--- a/sip/kfile/kcustommenueditor.sip
+++ b/sip/kfile/kcustommenueditor.sip
@@ -34,7 +34,7 @@ class KCustomMenuEditor : KDialogBase
public:
- KCustomMenuEditor (QWidget* /TransferThis/);
+ KCustomMenuEditor (TQWidget* /TransferThis/);
void load (KConfigBase*);
void save (KConfigBase*);
diff --git a/sip/kfile/kdiroperator.sip b/sip/kfile/kdiroperator.sip
index a0073e6..4f1693c 100644
--- a/sip/kfile/kdiroperator.sip
+++ b/sip/kfile/kdiroperator.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDirOperator : QWidget
+class KDirOperator : TQWidget
{
%TypeHeaderCode
#include <kdiroperator.h>
@@ -46,7 +46,7 @@ public:
%End
- KDirOperator (const KURL& = KURL (), QWidget* /TransferThis/ = 0, const char* = 0);
+ KDirOperator (const KURL& = KURL (), TQWidget* /TransferThis/ = 0, const char* = 0);
void setShowHiddenFiles (bool);
bool showHiddenFiles () const;
void close ();
@@ -55,30 +55,30 @@ public:
virtual bool close (bool);
%End
- void setNameFilter (const QString&);
- const QString& nameFilter () const;
+ void setNameFilter (const TQString&);
+ const TQString& nameFilter () const;
%If ( KDE_3_1_2 - )
- void setMimeFilter (const QStringList&);
- QStringList mimeFilter () const;
+ void setMimeFilter (const TQStringList&);
+ TQStringList mimeFilter () const;
void clearFilter ();
%End
KURL url () const;
void setURL (const KURL&, bool);
- void setCurrentItem (const QString&);
+ void setCurrentItem (const TQString&);
void setView (KFileView*);
const KFileView* view () const;
- QWidget* viewWidget () const;
+ TQWidget* viewWidget () const;
void setView (KFile::FileView);
- void setSorting (QDir::SortSpec);
- QDir::SortSpec sorting () const;
+ void setSorting (TQDir::SortSpec);
+ TQDir::SortSpec sorting () const;
bool isRoot () const;
KDirLister* dirLister () const;
KProgress* progressBar () const;
void setMode (KFile::Mode);
KFile::Mode mode () const;
- void setPreviewWidget (const QWidget*);
+ void setPreviewWidget (const TQWidget*);
const KFileItemList* selectedItems () const;
bool isSelected (const KFileItem*) const;
int numDirs () const;
@@ -88,20 +88,20 @@ public:
KActionCollection* actionCollection () const;
%If ( KDE_3_1_0 - )
- void setViewConfig (KConfig*, const QString&);
+ void setViewConfig (KConfig*, const TQString&);
KConfig* viewConfig ();
- QString viewConfigGroup () const;
+ TQString viewConfigGroup () const;
%End
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
void setOnlyDoubleClickSelectsFiles (bool);
bool onlyDoubleClickSelectsFiles () const;
- bool mkdir (const QString&, bool = 1);
+ bool mkdir (const TQString&, 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_/;
+ KIO::DeleteJob* del (const KFileItemList&, TQWidget* /Transfer/, bool = 1, bool = 1) /PyName=del_/;
%End
void clearHistory ();
@@ -118,7 +118,7 @@ public:
void setDropOptions (int);
%If ( KDE_3_4_0 - )
- KIO::CopyJob* trash (const KFileItemList&, QWidget* /Transfer/, bool = 1, bool = 1);
+ KIO::CopyJob* trash (const KFileItemList&, TQWidget* /Transfer/, bool = 1, bool = 1);
%End
%End
@@ -127,11 +127,11 @@ public:
protected:
- virtual KFileView* createView (QWidget* /Transfer/, KFile::FileView);
+ virtual KFileView* createView (TQWidget* /Transfer/, KFile::FileView);
void setDirLister (KDirLister*);
%If ( KDE_3_2_0 - )
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
%End
void setupActions ();
@@ -151,11 +151,11 @@ public slots:
void mkdir ();
void deleteSelected ();
void updateSelectionDependentActions ();
- QString makeCompletion (const QString&);
- QString makeDirCompletion (const QString&);
+ TQString makeCompletion (const TQString&);
+ TQString makeDirCompletion (const TQString&);
%If ( KDE_3_4_0 - )
- void trashSelected (KAction::ActivationReason, Qt::ButtonState);
+ void trashSelected (KAction::ActivationReason, TQt::ButtonState);
%End
@@ -167,19 +167,19 @@ protected slots:
void selectDir (const KFileItem*);
void selectFile (const KFileItem*);
void highlightFile (const KFileItem*);
- virtual void activatedMenu (const KFileItem*, const QPoint&);
+ virtual void activatedMenu (const KFileItem*, const TQPoint&);
void sortByName ();
void sortBySize ();
void sortByDate ();
void sortReversed ();
void toggleDirsFirst ();
void toggleIgnoreCase ();
- void slotCompletionMatch (const QString&);
+ void slotCompletionMatch (const TQString&);
signals:
void urlEntered (const KURL&);
void updateInformation (int, int);
- void completion (const QString&);
+ void completion (const TQString&);
void finishedLoading ();
void viewChanged (KFileView*);
void fileHighlighted (const KFileItem*);
@@ -187,7 +187,7 @@ signals:
void fileSelected (const KFileItem*);
%If ( KDE_3_2_0 - )
- void dropped (const KFileItem*, QDropEvent*, const KURL::List&);
+ void dropped (const KFileItem*, TQDropEvent*, const KURL::List&);
%End
@@ -197,7 +197,7 @@ protected:
protected:
%If ( - KDE_3_2_0 )
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
%End
diff --git a/sip/kfile/kdirselectdialog.sip b/sip/kfile/kdirselectdialog.sip
index da84286..d464907 100644
--- a/sip/kfile/kdirselectdialog.sip
+++ b/sip/kfile/kdirselectdialog.sip
@@ -32,14 +32,14 @@ class KDirSelectDialog : KDialogBase
public:
- KDirSelectDialog (const QString& = QString ::null , bool = 0, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
+ KDirSelectDialog (const TQString& = TQString ::null , bool = 0, TQWidget* /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 );
+ static KURL selectDirectory (const TQString& = TQString ::null , bool = 0, TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
%If ( KDE_3_1_0 - )
- QString startDir () const;
+ TQString startDir () const;
%End
diff --git a/sip/kfile/kdiskfreesp.sip b/sip/kfile/kdiskfreesp.sip
index c28a55f..4e8433b 100644
--- a/sip/kfile/kdiskfreesp.sip
+++ b/sip/kfile/kdiskfreesp.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_1_0 - )
-class KDiskFreeSp : QObject
+class KDiskFreeSp : TQObject
{
%TypeHeaderCode
#include <kdiskfreesp.h>
@@ -34,13 +34,13 @@ class KDiskFreeSp : QObject
public:
- KDiskFreeSp (QObject* /TransferThis/ = 0, const char* = 0);
- int readDF (const QString&);
- static KDiskFreeSp* findUsageInfo (const QString&);
+ KDiskFreeSp (TQObject* /TransferThis/ = 0, const char* = 0);
+ int readDF (const TQString&);
+ static KDiskFreeSp* findUsageInfo (const TQString&);
signals:
- void foundMountPoint (const QString&, ulong, ulong, ulong);
-//ig void foundMountPoint (const ulong&, const ulong&, const ulong&, const QString&);
+ void foundMountPoint (const TQString&, ulong, ulong, ulong);
+//ig void foundMountPoint (const ulong&, const ulong&, const ulong&, const TQString&);
void done ();
}; // class KDiskFreeSp
diff --git a/sip/kfile/kencodingfiledialog.sip b/sip/kfile/kencodingfiledialog.sip
index 711404a..9214b47 100644
--- a/sip/kfile/kencodingfiledialog.sip
+++ b/sip/kfile/kencodingfiledialog.sip
@@ -39,22 +39,22 @@ public:
{
public:
- QStringList fileNames;
+ TQStringList fileNames;
KURL::List URLs;
- QString encoding;
+ TQString 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 );
+ KEncodingFileDialog (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , KFileDialog::OperationMode = KFileDialog ::Opening , TQWidget* /TransferThis/ = 0, const char* = "", bool = 1);
+ TQString selectedEncoding () const;
+ static KEncodingFileDialog::Result getOpenFileNameAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
+ static KEncodingFileDialog::Result getOpenFileNamesAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
+ static KEncodingFileDialog::Result getOpenURLAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
+ static KEncodingFileDialog::Result getOpenURLsAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
+ static KEncodingFileDialog::Result getSaveFileNameAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
+ static KEncodingFileDialog::Result getSaveURLAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
protected:
virtual void virtual_hook (int, void*);
diff --git a/sip/kfile/kfile.sip b/sip/kfile/kfile.sip
index e383ff8..e145655 100644
--- a/sip/kfile/kfile.sip
+++ b/sip/kfile/kfile.sip
@@ -68,11 +68,11 @@ public:
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 isSortByName (const TQDir::SortSpec&);
+ static bool isSortBySize (const TQDir::SortSpec&);
+ static bool isSortByDate (const TQDir::SortSpec&);
+ static bool isSortDirsFirst (const TQDir::SortSpec&);
+ static bool isSortCaseInsensitive (const TQDir::SortSpec&);
static bool isDefaultView (const KFile::FileView&);
static bool isSimpleView (const KFile::FileView&);
static bool isDetailView (const KFile::FileView&);
diff --git a/sip/kfile/kfilebookmark.sip b/sip/kfile/kfilebookmark.sip
index 48d7cac..1545686 100644
--- a/sip/kfile/kfilebookmark.sip
+++ b/sip/kfile/kfilebookmark.sip
@@ -40,20 +40,20 @@ public:
};
KFileBookmark ();
- KFileBookmark (const QString&, const QString&);
+ KFileBookmark (const TQString&, const TQString&);
void clear ();
- void setText (const QString&);
- void setURL (const QString&);
+ void setText (const TQString&);
+ void setURL (const TQString&);
void setType (int);
- const QString getText ();
- const QString getURL ();
+ const TQString getText ();
+ const TQString getURL ();
int getType ();
- QPtrList<KFileBookmark>& getChildren ();
+ TQPtrList<KFileBookmark>& getChildren ();
}; // class KFileBookmark
-class KFileBookmarkManager : QObject
+class KFileBookmarkManager : TQObject
{
%TypeHeaderCode
#include <kfilebookmark.h>
@@ -62,15 +62,15 @@ class KFileBookmarkManager : QObject
public:
KFileBookmarkManager ();
- void setTitle (const QString&);
- void read (const QString&);
- void write (const QString&);
- void add (const QString&, const QString&);
+ void setTitle (const TQString&);
+ void read (const TQString&);
+ void write (const TQString&);
+ void add (const TQString&, const TQString&);
bool remove (int);
bool moveUp (int);
bool moveDown (int);
void reread ();
- void rename (int, const QString&);
+ void rename (int, const TQString&);
void write ();
KFileBookmark* getBookmark (int);
KFileBookmark* getRoot ();
@@ -82,7 +82,7 @@ signals:
-%MappedType QPtrList<KFileBookmark>
+%MappedType TQPtrList<KFileBookmark>
//converts a Python list of KFileBookmark
{
%TypeHeaderCode
@@ -102,7 +102,7 @@ signals:
// Get it.
- QPtrList<KFileBookmark> *cpplist = (QPtrList<KFileBookmark> *)sipCpp;
+ TQPtrList<KFileBookmark> *cpplist = (TQPtrList<KFileBookmark> *)sipCpp;
KFileBookmark *cpp;
PyObject *inst;
@@ -124,7 +124,7 @@ signals:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KFileBookmark> *cpplist = new QPtrList<KFileBookmark>;
+ TQPtrList<KFileBookmark> *cpplist = new TQPtrList<KFileBookmark>;
PyObject *elem;
KFileBookmark *cpp;
diff --git a/sip/kfile/kfiledetailview.sip b/sip/kfile/kfiledetailview.sip
index 6aa2953..e667417 100644
--- a/sip/kfile/kfiledetailview.sip
+++ b/sip/kfile/kfiledetailview.sip
@@ -32,17 +32,17 @@ class KFileListViewItem : KListViewItem
public:
- KFileListViewItem (QListView* /TransferThis/, const QString&, const QPixmap&, KFileItem*);
+ KFileListViewItem (TQListView* /TransferThis/, const TQString&, const TQPixmap&, KFileItem*);
%If ( KDE_3_0_1 - )
- KFileListViewItem (QListView* /TransferThis/, KFileItem*);
+ KFileListViewItem (TQListView* /TransferThis/, KFileItem*);
%End
- KFileListViewItem (QListView* /TransferThis/, const QString&, const QPixmap&, KFileItem*, QListViewItem*);
+ KFileListViewItem (TQListView* /TransferThis/, const TQString&, const TQPixmap&, KFileItem*, TQListViewItem*);
KFileItem* fileInfo () const;
- virtual QString key (int, bool) const;
- void setKey (const QString&);
- QRect rect () const;
+ virtual TQString key (int, bool) const;
+ void setKey (const TQString&);
+ TQRect rect () const;
%If ( KDE_3_0_1 - )
void init ();
@@ -60,8 +60,8 @@ class KFileDetailView : KListView, KFileView
public:
- KFileDetailView (QWidget* /TransferThis/, const char*);
- virtual QWidget* widget ();
+ KFileDetailView (TQWidget* /TransferThis/, const char*);
+ virtual TQWidget* widget ();
virtual void clearView ();
virtual void setAutoUpdate (bool);
virtual void setSelectionMode (KFile::SelectionMode);
@@ -80,36 +80,36 @@ public:
virtual KFileItem* nextItem (const KFileItem*) const;
virtual KFileItem* prevItem (const KFileItem*) const;
virtual void insertItem (KFileItem*);
- virtual void setSorting (QDir::SortSpec);
+ virtual void setSorting (TQDir::SortSpec);
void ensureItemVisible (const KFileItem*);
void mimeTypeDeterminationFinished ();
void determineIcon (KFileListViewItem*);
- QScrollView* scrollWidget () const;
+ TQScrollView* scrollWidget () const;
%If ( KDE_3_2_0 - )
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
%End
signals:
%If ( KDE_3_2_0 - )
- void dropped (QDropEvent*, KFileItem*);
- void dropped (QDropEvent*, const KURL::List&, const KURL&);
+ void dropped (TQDropEvent*, KFileItem*);
+ void dropped (TQDropEvent*, const KURL::List&, const KURL&);
%End
protected:
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
%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;
+ virtual TQDragObject* dragObject ();
+ virtual void contentsDragEnterEvent (TQDragEnterEvent*);
+ virtual void contentsDragMoveEvent (TQDragMoveEvent*);
+ virtual void contentsDragLeaveEvent (TQDragLeaveEvent*);
+ virtual void contentsDropEvent (TQDropEvent*);
+ virtual bool acceptDrag (TQDropEvent*) const;
%End
@@ -122,10 +122,10 @@ protected:
private:
void slotSortingChanged (int);
- void selected (QListViewItem*);
- void slotDoubleClicked (QListViewItem*);
- void highlighted (QListViewItem*);
- void rightButtonPressed (QListViewItem*);
+ void selected (TQListViewItem*);
+ void slotDoubleClicked (TQListViewItem*);
+ void highlighted (TQListViewItem*);
+ void rightButtonPressed (TQListViewItem*);
//force
%ConvertToSubClassCode
diff --git a/sip/kfile/kfiledialog.sip b/sip/kfile/kfiledialog.sip
index e1e4e32..946deb1 100644
--- a/sip/kfile/kfiledialog.sip
+++ b/sip/kfile/kfiledialog.sip
@@ -40,60 +40,60 @@ public:
Saving
};
- KFileDialog (const QString&, const QString&, QWidget* /TransferThis/, const char*, bool);
+ KFileDialog (const TQString&, const TQString&, TQWidget* /TransferThis/, const char*, bool);
%If ( KDE_3_1_0 - )
- KFileDialog (const QString&, const QString&, QWidget* /TransferThis/, const char*, bool, QWidget*);
+ KFileDialog (const TQString&, const TQString&, TQWidget* /TransferThis/, const char*, bool, TQWidget*);
%End
KURL selectedURL () const;
KURL::List selectedURLs () const;
KURL baseURL () const;
- QString selectedFile () const;
- QStringList selectedFiles () const;
+ TQString selectedFile () const;
+ TQStringList selectedFiles () const;
void setURL (const KURL&, bool = 1);
- void setSelection (const QString&);
+ void setSelection (const TQString&);
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&);
+ void setFilter (const TQString&);
+ TQString currentFilter () const;
+ void setFilterMimeType (const TQString&, const KMimeType::List&, const KMimeType::Ptr&);
KMimeType::Ptr currentFilterMimeType ();
- void setMimeFilter (const QStringList&, const QString& = QString ::null );
- QString currentMimeFilter () const;
+ void setMimeFilter (const TQStringList&, const TQString& = TQString ::null );
+ TQString currentMimeFilter () const;
void clearFilter ();
- void setPreviewWidget (const QWidget*);
+ void setPreviewWidget (const TQWidget*);
void setPreviewWidget (const KPreviewWidgetBase*);
- static QString getOpenFileName (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ static TQString getOpenFileName (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
%If ( KDE_3_4_0 - )
- static QString getOpenFileNameWId (const QString&, const QString&, WId, const QString&);
+ static TQString getOpenFileNameWId (const TQString&, const TQString&, WId, const TQString&);
%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 );
+ static TQStringList getOpenFileNames (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
+ static KURL getOpenURL (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
+ static KURL::List getOpenURLs (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
+ static TQString getSaveFileName (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
%If ( KDE_3_4_0 - )
- static QString getSaveFileNameWId (const QString&, const QString&, WId, const QString&);
+ static TQString getSaveFileNameWId (const TQString&, const TQString&, WId, const TQString&);
%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 );
+ static KURL getSaveURL (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
+ static TQString getExistingDirectory (const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
%If ( KDE_3_1_0 - )
- static KURL getExistingURL (const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ static KURL getExistingURL (const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
%End
- static KURL getImageOpenURL (const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ static KURL getImageOpenURL (const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
virtual void show ();
void setMode (KFile::Mode /Constrained/);
void setMode (uint);
KFile::Mode mode () const;
- void setLocationLabel (const QString&);
+ void setLocationLabel (const TQString&);
KToolBar* toolBar () const;
KPushButton* okButton () const;
KPushButton* cancelButton () const;
@@ -106,7 +106,7 @@ public:
%If ( KDE_3_1_0 - )
int pathComboIndex ();
- static KURL getStartURL (const QString&, QString&);
+ static KURL getStartURL (const TQString&, TQString&);
%If ( KDE_3_2_0 - )
static void setStartDir (const KURL&);
@@ -116,33 +116,33 @@ public:
signals:
- void fileSelected (const QString&);
- void fileHighlighted (const QString&);
+ void fileSelected (const TQString&);
+ void fileHighlighted (const TQString&);
void selectionChanged ();
- void filterChanged (const QString&);
+ void filterChanged (const TQString&);
protected:
%If ( KDE_3_2_0 - )
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
%End
%If ( KDE_3_1_0 - )
- void init (const QString&, const QString&, QWidget*);
+ void init (const TQString&, const TQString&, TQWidget*);
%End
virtual void initGUI ();
void multiSelectionChanged ();
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
virtual void readRecentFiles (KConfig*);
virtual void saveRecentFiles (KConfig*);
- KURL::List tokenize (const QString&) const;
+ KURL::List tokenize (const TQString&) const;
%If ( KDE_3_2_0 - )
- KURL getCompleteURL (const QString&);
- QString currentFilterExtension ();
+ KURL getCompleteURL (const TQString&);
+ TQString currentFilterExtension ();
void updateAutoSelectExtension ();
%End
@@ -150,17 +150,17 @@ protected:
protected slots:
void urlEntered (const KURL&);
void enterURL (const KURL&);
- void enterURL (const QString&);
- void locationActivated (const QString&);
+ void enterURL (const TQString&);
+ void locationActivated (const TQString&);
void toolbarCallback (int);
- void pathComboChanged (const QString&);
- void dirCompletion (const QString&);
+ void pathComboChanged (const TQString&);
+ void dirCompletion (const TQString&);
void slotFilterChanged ();
void fileHighlighted (const KFileItem*);
void fileSelected (const KFileItem*);
void slotStatResult (KIO::Job*);
void slotLoadingFinished ();
- void fileCompletion (const QString&);
+ void fileCompletion (const TQString&);
%If ( KDE_3_1_0 - )
void toggleSpeedbar (bool);
diff --git a/sip/kfile/kfilefiltercombo.sip b/sip/kfile/kfilefiltercombo.sip
index 73ffa99..28f43d2 100644
--- a/sip/kfile/kfilefiltercombo.sip
+++ b/sip/kfile/kfilefiltercombo.sip
@@ -32,21 +32,21 @@ class KFileFilterCombo : KComboBox
public:
- KFileFilterCombo (QWidget* /TransferThis/ = 0, const char* = 0);
- void setFilter (const QString&);
- QString currentFilter () const;
+ KFileFilterCombo (TQWidget* /TransferThis/ = 0, const char* = 0);
+ void setFilter (const TQString&);
+ TQString currentFilter () const;
%If ( KDE_3_4_0 - )
- void setCurrentFilter (const QString&);
+ void setCurrentFilter (const TQString&);
%End
- void setMimeFilter (const QStringList&, const QString&);
+ void setMimeFilter (const TQStringList&, const TQString&);
bool showsAllTypes () const;
- void setDefaultFilter (const QString&);
- QString defaultFilter () const;
+ void setDefaultFilter (const TQString&);
+ TQString defaultFilter () const;
protected:
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
signals:
void filterChanged ();
diff --git a/sip/kfile/kfileiconview.sip b/sip/kfile/kfileiconview.sip
index 1b33a17..3a97013 100644
--- a/sip/kfile/kfileiconview.sip
+++ b/sip/kfile/kfileiconview.sip
@@ -32,10 +32,10 @@ class KFileIconViewItem : KIconViewItem
public:
- KFileIconViewItem (QIconView* /TransferThis/, const QString&, const QPixmap&, KFileItem*);
+ KFileIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPixmap&, KFileItem*);
%If ( KDE_3_0_1 - )
- KFileIconViewItem (QIconView* /TransferThis/, KFileItem*);
+ KFileIconViewItem (TQIconView* /TransferThis/, KFileItem*);
%End
KFileItem* fileInfo () const;
@@ -51,8 +51,8 @@ class KFileIconView : KIconView, KFileView
public:
- KFileIconView (QWidget* /TransferThis/, const char*);
- virtual QWidget* widget ();
+ KFileIconView (TQWidget* /TransferThis/, const char*);
+ virtual TQWidget* widget ();
virtual void clearView ();
virtual void setAutoUpdate (bool);
virtual void updateView (bool);
@@ -80,12 +80,12 @@ public:
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 );
+ virtual void setSorting (TQDir::SortSpec);
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
void mimeTypeDeterminationFinished ();
void determineIcon (KFileIconViewItem*);
- QScrollView* scrollWidget () const;
+ TQScrollView* scrollWidget () const;
%If ( KDE_3_2_0 - )
void setAcceptDrops (bool);
@@ -107,20 +107,20 @@ public slots:
protected:
- virtual void keyPressEvent (QKeyEvent*);
- virtual void hideEvent (QHideEvent*);
- virtual void showEvent (QShowEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void hideEvent (TQHideEvent*);
+ virtual void showEvent (TQShowEvent*);
%If ( KDE_3_0_1 - )
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
%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;
+ virtual TQDragObject* dragObject ();
+ virtual void contentsDragEnterEvent (TQDragEnterEvent*);
+ virtual void contentsDragMoveEvent (TQDragMoveEvent*);
+ virtual void contentsDragLeaveEvent (TQDragLeaveEvent*);
+ virtual void contentsDropEvent (TQDropEvent*);
+ bool acceptDrag (TQDropEvent*) const;
%End
%End
@@ -129,8 +129,8 @@ protected:
signals:
%If ( KDE_3_2_0 - )
- void dropped (QDropEvent*, KFileItem*);
- void dropped (QDropEvent*, const KURL::List&, const KURL&);
+ void dropped (TQDropEvent*, KFileItem*);
+ void dropped (TQDropEvent*, const KURL::List&, const KURL&);
%End
diff --git a/sip/kfile/kfilepreview.sip b/sip/kfile/kfilepreview.sip
index 7757f98..dd8df53 100644
--- a/sip/kfile/kfilepreview.sip
+++ b/sip/kfile/kfilepreview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KFilePreview : QSplitter, KFileView
+class KFilePreview : TQSplitter, KFileView
{
%TypeHeaderCode
#include <kfilepreview.h>
@@ -32,9 +32,9 @@ class KFilePreview : QSplitter, KFileView
public:
- KFilePreview (QWidget* /TransferThis/, const char*);
- KFilePreview (KFileView*, QWidget* /TransferThis/, const char*);
- virtual QWidget* widget ();
+ KFilePreview (TQWidget* /TransferThis/, const char*);
+ KFilePreview (KFileView*, TQWidget* /TransferThis/, const char*);
+ virtual TQWidget* widget ();
virtual void clearView ();
void setFileView (KFileView*);
KFileView* fileView () const;
@@ -55,16 +55,16 @@ public:
virtual KFileItem* firstFileItem () const;
virtual KFileItem* nextItem (const KFileItem*) const;
virtual KFileItem* prevItem (const KFileItem*) const;
- virtual void setSorting (QDir::SortSpec);
+ virtual void setSorting (TQDir::SortSpec);
%If ( KDE_3_1_0 - )
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
%End
virtual KActionCollection* actionCollection () const;
void ensureItemVisible (const KFileItem*);
- void setPreviewWidget (const QWidget*, const KURL&);
+ void setPreviewWidget (const TQWidget*, const KURL&);
protected slots:
virtual void slotHighlighted (const KFileItem*);
diff --git a/sip/kfile/kfilereader.sip b/sip/kfile/kfilereader.sip
index 5313cd8..dfd4244 100644
--- a/sip/kfile/kfilereader.sip
+++ b/sip/kfile/kfilereader.sip
@@ -33,7 +33,7 @@ class KFileReader : KDirLister
public:
KFileReader ();
- KFileReader (const KURL&, const QString& = QString::null);
+ KFileReader (const KURL&, const TQString& = TQString::null);
bool isRoot () const;
bool isReadable () const;
diff --git a/sip/kfile/kfilesharedlg.sip b/sip/kfile/kfilesharedlg.sip
index 42f825b..b3d78ff 100644
--- a/sip/kfile/kfilesharedlg.sip
+++ b/sip/kfile/kfilesharedlg.sip
@@ -37,7 +37,7 @@ public:
KFileSharePropsPlugin (KPropertiesDialog*);
virtual void applyChanges ();
static bool supports (const KFileItemList&);
- QWidget* page () const;
+ TQWidget* page () const;
protected slots:
void slotConfigureFileSharing ();
diff --git a/sip/kfile/kfiletreebranch.sip b/sip/kfile/kfiletreebranch.sip
index 707c5d6..15c9d47 100644
--- a/sip/kfile/kfiletreebranch.sip
+++ b/sip/kfile/kfiletreebranch.sip
@@ -32,14 +32,14 @@ class KFileTreeBranch : KDirLister
public:
- KFileTreeBranch (KFileTreeView*, const KURL&, const QString&, const QPixmap&, bool = 0, KFileTreeViewItem* = 0);
+ KFileTreeBranch (KFileTreeView*, const KURL&, const TQString&, const TQPixmap&, 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 ();
+ TQString name () const;
+ virtual void setName (const TQString);
+ const TQPixmap& pixmap ();
+ const TQPixmap& openPixmap ();
bool showExtensions () const;
void setOpen (bool = 1);
void setChildRecurse (bool = 1);
@@ -48,7 +48,7 @@ public:
public slots:
virtual bool populate (const KURL&, KFileTreeViewItem*);
virtual void setShowExtensions (bool = 1);
- void setOpenPixmap (const QPixmap&);
+ void setOpenPixmap (const TQPixmap&);
protected:
virtual KFileTreeViewItem* createTreeViewItem (KFileTreeViewItem* /Transfer/, KFileItem*);
@@ -77,16 +77,16 @@ protected:
}; // class KFileTreeBranch
-typedef QPtrList<KFileTreeBranch> KFileTreeBranchList;
-//ig typedef QPtrListIterator<KFileTreeBranch> KFileTreeBranchIterator;
+typedef TQPtrList<KFileTreeBranch> KFileTreeBranchList;
+//ig typedef TQPtrListIterator<KFileTreeBranch> KFileTreeBranchIterator;
-%MappedType QPtrList<KFileTreeViewItem>
+%MappedType TQPtrList<KFileTreeViewItem>
//converts a Python list of KFileTreeViewItem
{
%TypeHeaderCode
#include <kfiletreeviewitem.h>
-typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
+typedef TQPtrList<KFileTreeViewItem> KFileTreeViewItemList;
%End
%ConvertFromTypeCode
@@ -104,7 +104,7 @@ typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
// Get it.
- QPtrList<KFileTreeViewItem> *cList = (QPtrList<KFileTreeViewItem> *)sipCpp;
+ TQPtrList<KFileTreeViewItem> *cList = (TQPtrList<KFileTreeViewItem> *)sipCpp;
PyObject *item;
KFileTreeViewItem *ftvi;
@@ -128,7 +128,7 @@ typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KFileTreeViewItem> *cList = new QPtrList<KFileTreeViewItem>;
+ TQPtrList<KFileTreeViewItem> *cList = new TQPtrList<KFileTreeViewItem>;
PyObject *elem;
int iserr = 0;
@@ -156,12 +156,12 @@ typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
};
-%MappedType QPtrList<KFileTreeBranch>
+%MappedType TQPtrList<KFileTreeBranch>
//converts a Python list of KFileTreeBranch
{
%TypeHeaderCode
#include <kfiletreebranch.h>
-//typedef QPtrList<KFileTreeBranch> KFileTreeBList;
+//typedef TQPtrList<KFileTreeBranch> KFileTreeBList;
%End
%ConvertFromTypeCode
@@ -179,7 +179,7 @@ typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
// Get it.
- QPtrList<KFileTreeBranch> *cList = (QPtrList<KFileTreeBranch> *)sipCpp;
+ TQPtrList<KFileTreeBranch> *cList = (TQPtrList<KFileTreeBranch> *)sipCpp;
PyObject *item;
KFileTreeBranch *ftb;
@@ -203,7 +203,7 @@ typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KFileTreeBranch> *cList = new QPtrList<KFileTreeBranch>;
+ TQPtrList<KFileTreeBranch> *cList = new TQPtrList<KFileTreeBranch>;
PyObject *elem;
int iserr = 0;
diff --git a/sip/kfile/kfiletreeview.sip b/sip/kfile/kfiletreeview.sip
index 4043e1c..d89e59a 100644
--- a/sip/kfile/kfiletreeview.sip
+++ b/sip/kfile/kfiletreeview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KFileTreeViewToolTip : QToolTip
+class KFileTreeViewToolTip : TQToolTip
{
%TypeHeaderCode
#include <kfiletreeview.h>
@@ -32,10 +32,10 @@ class KFileTreeViewToolTip : QToolTip
public:
- KFileTreeViewToolTip (QListView*);
+ KFileTreeViewToolTip (TQListView*);
protected:
- virtual void maybeTip (const QPoint&);
+ virtual void maybeTip (const TQPoint&);
}; // class KFileTreeViewToolTip
@@ -48,52 +48,52 @@ class KFileTreeView : KListView
public:
- KFileTreeView (QWidget* /TransferThis/, const char* = 0);
+ KFileTreeView (TQWidget* /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);
+ KFileTreeBranch* addBranch (const KURL&, const TQString&, bool = 0);
+ virtual KFileTreeBranch* addBranch (const KURL&, const TQString&, const TQPixmap&, bool = 0);
virtual KFileTreeBranch* addBranch (KFileTreeBranch*);
virtual bool removeBranch (KFileTreeBranch*);
- KFileTreeBranch* branch (const QString&);
+ KFileTreeBranch* branch (const TQString&);
KFileTreeBranchList& branches ();
virtual void setDirOnlyMode (KFileTreeBranch*, bool);
- KFileTreeViewItem* findItem (KFileTreeBranch*, const QString&);
- KFileTreeViewItem* findItem (const QString&, const QString&);
+ KFileTreeViewItem* findItem (KFileTreeBranch*, const TQString&);
+ KFileTreeViewItem* findItem (const TQString&, const TQString&);
bool showFolderOpenPixmap () const;
public slots:
virtual void setShowFolderOpenPixmap (bool = 1);
protected:
- virtual bool acceptDrag (QDropEvent*) const;
- virtual QDragObject* dragObject ();
+ virtual bool acceptDrag (TQDropEvent*) const;
+ virtual TQDragObject* 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*);
+ virtual void contentsDragEnterEvent (TQDragEnterEvent*);
+ virtual void contentsDragMoveEvent (TQDragMoveEvent*);
+ virtual void contentsDragLeaveEvent (TQDragLeaveEvent*);
+ virtual void contentsDropEvent (TQDropEvent*);
protected slots:
virtual void slotNewTreeViewItems (KFileTreeBranch*, KFileTreeViewItemList&);
virtual void slotSetNextUrlToSelect (const KURL&);
- virtual QPixmap itemIcon (KFileTreeViewItem*, int = 0) const;
+ virtual TQPixmap itemIcon (KFileTreeViewItem*, int = 0) const;
signals:
- void onItem (const QString&);
- void dropped (QWidget*, QDropEvent*);
- void dropped (QWidget*, QDropEvent*, KURL::List&);
+ void onItem (const TQString&);
+ void dropped (TQWidget*, TQDropEvent*);
+ void dropped (TQWidget*, TQDropEvent*, KURL::List&);
void dropped (KURL::List&, KURL&);
%If ( KDE_3_2_0 - )
- void dropped (QWidget*, QDropEvent*, KURL::List&, KURL&);
+ void dropped (TQWidget*, TQDropEvent*, KURL::List&, KURL&);
%End
- void dropped (QDropEvent*, QListViewItem*);
- void dropped (KFileTreeView*, QDropEvent*, QListViewItem*);
- void dropped (QDropEvent*, QListViewItem*, QListViewItem*);
- void dropped (KFileTreeView*, QDropEvent*, QListViewItem*, QListViewItem*);
+ void dropped (TQDropEvent*, TQListViewItem*);
+ void dropped (KFileTreeView*, TQDropEvent*, TQListViewItem*);
+ void dropped (TQDropEvent*, TQListViewItem*, TQListViewItem*);
+ void dropped (KFileTreeView*, TQDropEvent*, TQListViewItem*, TQListViewItem*);
protected:
@@ -102,7 +102,7 @@ protected:
//force
private:
- void slotOnItem (QListViewItem*);
+ void slotOnItem (TQListViewItem*);
//end
}; // class KFileTreeView
diff --git a/sip/kfile/kfiletreeviewitem.sip b/sip/kfile/kfiletreeviewitem.sip
index 57d99e7..1d52d86 100644
--- a/sip/kfile/kfiletreeviewitem.sip
+++ b/sip/kfile/kfiletreeviewitem.sip
@@ -36,7 +36,7 @@ public:
KFileTreeViewItem (KFileTreeView*, KFileItem*, KFileTreeBranch*);
KFileTreeBranch* branch () const;
KFileItem* fileItem () const;
- QString path () const;
+ TQString path () const;
KURL url () const;
bool isDir () const;
bool alreadyListed () const;
@@ -44,5 +44,5 @@ public:
}; // class KFileTreeViewItem
-typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
-//ig typedef QPtrListIterator<KFileTreeViewItem> KFileTreeViewItemListIterator;
+typedef TQPtrList<KFileTreeViewItem> KFileTreeViewItemList;
+//ig typedef TQPtrListIterator<KFileTreeViewItem> KFileTreeViewItemListIterator;
diff --git a/sip/kfile/kfileview.sip b/sip/kfile/kfileview.sip
index 9078136..f0f0979 100644
--- a/sip/kfile/kfileview.sip
+++ b/sip/kfile/kfileview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KFileViewSignaler : QObject
+class KFileViewSignaler : TQObject
{
%TypeHeaderCode
#include <kfileview.h>
@@ -34,23 +34,23 @@ class KFileViewSignaler : QObject
public:
void activate (const KFileItem*);
void highlightFile (const KFileItem*);
- void activateMenu (const KFileItem*, const QPoint&);
- void changeSorting (QDir::SortSpec);
+ void activateMenu (const KFileItem*, const TQPoint&);
+ void changeSorting (TQDir::SortSpec);
%If ( KDE_3_2_0 - )
- void dropURLs (const KFileItem*, QDropEvent*, const KURL::List&);
+ void dropURLs (const KFileItem*, TQDropEvent*, const KURL::List&);
%End
signals:
void dirActivated (const KFileItem*);
- void sortingChanged (QDir::SortSpec);
+ void sortingChanged (TQDir::SortSpec);
void fileHighlighted (const KFileItem*);
void fileSelected (const KFileItem*);
- void activatedMenu (const KFileItem*, const QPoint&);
+ void activatedMenu (const KFileItem*, const TQPoint&);
%If ( KDE_3_2_0 - )
- void dropped (const KFileItem*, QDropEvent*, const KURL::List&);
+ void dropped (const KFileItem*, TQDropEvent*, const KURL::List&);
%End
@@ -67,9 +67,9 @@ class KFileView
public:
KFileView ();
void addItemList (const KFileItemList&);
- virtual QWidget* widget () = 0;
-//ig QWidget* widget () const;
- void setCurrentItem (const QString&);
+ virtual TQWidget* widget () = 0;
+//ig TQWidget* widget () const;
+ void setCurrentItem (const TQString&);
virtual void setCurrentItem (const KFileItem*) = 0;
virtual KFileItem* currentFileItem () const = 0;
virtual void clear ();
@@ -77,8 +77,8 @@ public:
virtual void updateView (const KFileItem*);
virtual void removeItem (const KFileItem*);
virtual void listingCompleted ();
- QDir::SortSpec sorting () const;
- virtual void setSorting (QDir::SortSpec);
+ TQDir::SortSpec sorting () const;
+ virtual void setSorting (TQDir::SortSpec);
bool isReversed () const;
void sortReversed ();
uint count () const;
@@ -96,8 +96,8 @@ public:
virtual void setViewMode (KFileView::ViewMode);
virtual ViewMode viewMode () const;
- QString viewName ();
- void setViewName (const QString&);
+ TQString viewName ();
+ void setViewName (const TQString&);
virtual void setParentView (KFileView* /Transfer/);
virtual void insertItem (KFileItem*);
virtual void clearView () = 0;
@@ -117,8 +117,8 @@ public:
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 );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
%If ( KDE_3_2_0 - )
@@ -131,8 +131,8 @@ public:
int dropOptions ();
%End
- static QString sortingKey (const QString&, bool, int);
- static QString sortingKey (KIO::filesize_t, bool, int);
+ static TQString sortingKey (const TQString&, bool, int);
+ static TQString sortingKey (KIO::filesize_t, bool, int);
%If ( KDE_3_2_0 - )
static int autoOpenDelay ();
diff --git a/sip/kfile/kfileviewitem.sip b/sip/kfile/kfileviewitem.sip
index 717b22b..0ff97c1 100644
--- a/sip/kfile/kfileviewitem.sip
+++ b/sip/kfile/kfileviewitem.sip
@@ -36,23 +36,23 @@ public:
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;
+ TQString urlString () const;
+ TQPixmap pixmap (int, int = 0) const;
+ TQPixmap pixmap () const;
+ TQString date () const;
+ TQString access () const;
void setViewItem (const KFileView*, const void*);
//ig const void* viewItem (const KFileView*) const;
- static QString dateTime (time_t);
+ static TQString dateTime (time_t);
KFileViewItem* next () const;
void setNext (KFileViewItem*);
protected:
- QString parsePermissions (mode_t) const;
+ TQString parsePermissions (mode_t) const;
}; // class KFileViewItem
-//ig typedef QList<KFileViewItem> KFileViewItemList;
-//ig typedef QListIterator<KFileViewItem> KFileViewItemListIterator;
+//ig typedef TQList<KFileViewItem> KFileViewItemList;
+//ig typedef TQListIterator<KFileViewItem> KFileViewItemListIterator;
diff --git a/sip/kfile/kicondialog.sip b/sip/kfile/kicondialog.sip
index dda1a0c..819bac2 100644
--- a/sip/kfile/kicondialog.sip
+++ b/sip/kfile/kicondialog.sip
@@ -32,15 +32,15 @@ class KIconCanvas : KIconView
public:
- KIconCanvas (QWidget* /TransferThis/ = 0, const char* = 0);
- void loadFiles (const QStringList&);
- QString getCurrent ();
+ KIconCanvas (TQWidget* /TransferThis/ = 0, const char* = 0);
+ void loadFiles (const TQStringList&);
+ TQString getCurrent ();
public slots:
void stopLoading ();
signals:
-//ig void nameChanged (QString);
+//ig void nameChanged (TQString);
void startLoading (int);
void progress (int);
void finished ();
@@ -59,36 +59,36 @@ class KIconDialog : KDialogBase
public:
- KIconDialog (QWidget* /TransferThis/ = 0, const char* = 0);
- KIconDialog (KIconLoader*, QWidget* /TransferThis/ = 0, const char* = 0);
+ KIconDialog (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KIconDialog (KIconLoader*, TQWidget* /TransferThis/ = 0, const char* = 0);
void setStrictIconSize (bool);
bool strictIconSize () const;
%If ( KDE_3_1_0 - )
- void setCustomLocation (const QString&);
+ void setCustomLocation (const TQString&);
%End
void setIconSize (int);
int iconSize () const;
- QString selectIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0);
+ TQString 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 ();
+ TQString 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 );
+ static TQString getIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0, TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
signals:
%If ( KDE_3_2_0 - )
- void newIconName (const QString&);
+ void newIconName (const TQString&);
%End
@@ -105,7 +105,7 @@ protected:
}; // class KIconDialog
-class KIconButton : QPushButton
+class KIconButton : TQPushButton
{
%TypeHeaderCode
#include <kicondialog.h>
@@ -113,19 +113,19 @@ class KIconButton : QPushButton
public:
- KIconButton (QWidget* /TransferThis/ = 0, const char* = 0);
- KIconButton (KIconLoader*, QWidget* /TransferThis/, const char* = 0);
+ KIconButton (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KIconButton (KIconLoader*, TQWidget* /TransferThis/, const char* = 0);
void setStrictIconSize (bool);
bool strictIconSize () const;
void setIconType (KIcon::Group, KIcon::Context, bool = 0);
- void setIcon (const QString&);
+ void setIcon (const TQString&);
void resetIcon ();
- const QString icon ();
+ const TQString icon ();
void setIconSize (int);
int iconSize () const;
signals:
-//ig void iconChanged (QString);
+//ig void iconChanged (TQString);
}; // class KIconButton
diff --git a/sip/kfile/kimagefilepreview.sip b/sip/kfile/kimagefilepreview.sip
index 792eddb..3909afa 100644
--- a/sip/kfile/kimagefilepreview.sip
+++ b/sip/kfile/kimagefilepreview.sip
@@ -33,8 +33,8 @@ class KImageFilePreview : KPreviewWidgetBase
public:
- KImageFilePreview (QWidget* /TransferThis/);
- virtual QSize sizeHint () const;
+ KImageFilePreview (TQWidget* /TransferThis/);
+ virtual TQSize sizeHint () const;
public slots:
virtual void showPreview (const KURL&);
@@ -44,10 +44,10 @@ protected slots:
void showPreview ();
void showPreview (const KURL&, bool);
void toggleAuto (bool);
- virtual void gotPreview (const KFileItem*, const QPixmap&);
+ virtual void gotPreview (const KFileItem*, const TQPixmap&);
protected:
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
virtual KIO::PreviewJob* createJob (const KURL&, int, int);
protected:
diff --git a/sip/kfile/knotifydialog.sip b/sip/kfile/knotifydialog.sip
index 98b4fcb..f260332 100644
--- a/sip/kfile/knotifydialog.sip
+++ b/sip/kfile/knotifydialog.sip
@@ -34,9 +34,9 @@ class KNotifyDialog : KDialogBase
public:
- KNotifyDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const KAboutData* = 0);
+ KNotifyDialog (TQWidget* /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)
+//takes parent | (TQWidget = 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
@@ -53,10 +53,10 @@ public:
Py_END_ALLOW_THREADS
%End
- static int configure (QWidget* /Transfer/ = 0, const char* = 0, const KAboutData* = 0);
+ static int configure (TQWidget* /Transfer/ = 0, const char* = 0, const KAboutData* = 0);
%MethodCode
//returns (int)
-//takes parent | (QWidget = 0) | name | (a Python string = "") | aboutData | (KAboutData = see note)
+//takes parent | (TQWidget = 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
@@ -74,7 +74,7 @@ public:
%End
virtual void addApplicationEvents (const char*);
- virtual void addApplicationEvents (const QString&);
+ virtual void addApplicationEvents (const TQString&);
virtual void clearApplicationEvents ();
}; // class KNotifyDialog
@@ -85,9 +85,9 @@ public:
%If ( KDE_3_1_0 - )
namespace KNotify
{
-typedef QPtrList<KNotify::Event> EventList;
-//ig typedef QPtrListIterator<KNotify::Application> ApplicationListIterator;
-//ig typedef QPtrListIterator<KNotify::Event> EventListIterator;
+typedef TQPtrList<KNotify::Event> EventList;
+//ig typedef TQPtrListIterator<KNotify::Application> ApplicationListIterator;
+//ig typedef TQPtrListIterator<KNotify::Event> EventListIterator;
class Application
{
@@ -97,13 +97,13 @@ class Application
public:
- Application (const QString&);
- QString text () const;
- QString icon () const;
+ Application (const TQString&);
+ TQString text () const;
+ TQString icon () const;
const KNotify::EventList& eventList ();
void reloadEvents (bool = 0);
void save ();
- QString appName () const;
+ TQString appName () const;
}; // class Application
@@ -123,12 +123,12 @@ class Event
public:
- QString text () const;
+ TQString text () const;
int presentation;
int dontShow;
- QString logfile;
- QString soundfile;
- QString commandline;
+ TQString logfile;
+ TQString soundfile;
+ TQString commandline;
const KNotify::Application* application () const;
private:
@@ -137,7 +137,7 @@ private:
}; // class Event
-//ig class ListViewItem : QListViewItem;
+//ig class ListViewItem : TQListViewItem;
%If ( - KDE_3_2_0 )
@@ -151,10 +151,10 @@ class KNotifyWidget : KNotifyWidgetBase
public:
- KNotifyWidget (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
+ KNotifyWidget (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
KListView* eventsView ();
void addVisibleApp (KNotify::Application*);
- KNotify::Application* addApplicationEvents (const QString&);
+ KNotify::Application* addApplicationEvents (const TQString&);
void resetDefaults (bool);
void sort (bool = 1);
@@ -170,7 +170,7 @@ signals:
protected:
KNotify::Event* currentEvent ();
- virtual void showEvent (QShowEvent*);
+ virtual void showEvent (TQShowEvent*);
virtual void enableAll (int, bool);
void reload (bool = 0);
@@ -181,7 +181,7 @@ public:
SIP_PYLIST visibleApps ();
%MethodCode
//returns (a Python list of KNotify.Application)
- QPtrList<KNotify::Application> applist;
+ TQPtrList<KNotify::Application> applist;
Py_BEGIN_ALLOW_THREADS
applist = sipCpp->visibleApps ();
@@ -200,7 +200,7 @@ public:
SIP_PYLIST allApps ();
%MethodCode
//returns (a Python list of KNotify.Application)
- QPtrList<KNotify::Application> applist;
+ TQPtrList<KNotify::Application> applist;
Py_BEGIN_ALLOW_THREADS
applist = sipCpp->allApps ();
@@ -240,7 +240,7 @@ class ApplicationList
%If (KDE_3_1_0 - )
-%MappedType QPtrList<KNotify::Event>
+%MappedType TQPtrList<KNotify::Event>
//converts a Python list of KNotify.Event
{
%TypeHeaderCode
@@ -261,7 +261,7 @@ class ApplicationList
// Get it.
- QPtrList<KNotify::Event> *cpplist = (QPtrList<KNotify::Event> *)sipCpp;
+ TQPtrList<KNotify::Event> *cpplist = (TQPtrList<KNotify::Event> *)sipCpp;
KNotify::Event *cpp;
PyObject *inst;
@@ -283,7 +283,7 @@ class ApplicationList
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KNotify::Event> *cpplist = new QPtrList<KNotify::Event>;
+ TQPtrList<KNotify::Event> *cpplist = new TQPtrList<KNotify::Event>;
PyObject *elem;
KNotify::Event *cpp;
diff --git a/sip/kfile/knotifywidgetbase.sip b/sip/kfile/knotifywidgetbase.sip
index 98f8238..f83b853 100644
--- a/sip/kfile/knotifywidgetbase.sip
+++ b/sip/kfile/knotifywidgetbase.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_1_0 - KDE_3_2_0 )
-class KNotifyWidgetBase : QWidget
+class KNotifyWidgetBase : TQWidget
{
%TypeHeaderCode
#include <knotifywidgetbase.h>
@@ -34,27 +34,27 @@ class KNotifyWidgetBase : QWidget
public:
- KNotifyWidgetBase (QWidget*/TransferThis/ = 0, const char* = 0, WFlags = 0);
+ KNotifyWidgetBase (TQWidget*/TransferThis/ = 0, const char* = 0, WFlags = 0);
KListView* m_listview;
- QGroupBox* m_actionsBox;
+ TQGroupBox* m_actionsBox;
KURLRequester* m_logfilePath;
KURLRequester* m_soundPath;
- QCheckBox* m_logToFile;
+ TQCheckBox* 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;
+ TQCheckBox* m_playSound;
+ TQPushButton* m_playButton;
+ TQCheckBox* m_execute;
+ TQCheckBox* m_messageBox;
+ TQCheckBox* m_passivePopup;
+ TQCheckBox* m_stderr;
+ TQGroupBox* m_controlsBox;
+ TQCheckBox* m_affectAllApps;
+ TQPushButton* m_buttonDisable;
+ TQPushButton* m_buttonEnable;
KComboBox* m_comboEnable;
KComboBox* m_comboDisable;
- QPushButton* m_extension;
- QPushButton* m_playerButton;
+ TQPushButton* m_extension;
+ TQPushButton* m_playerButton;
protected:
diff --git a/sip/kfile/kopenwith.sip b/sip/kfile/kopenwith.sip
index 2a8f2f9..4d83a21 100644
--- a/sip/kfile/kopenwith.sip
+++ b/sip/kfile/kopenwith.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KOpenWithDlg : QDialog
+class KOpenWithDlg : TQDialog
{
%TypeHeaderCode
#include <kopenwith.h>
@@ -32,15 +32,15 @@ class KOpenWithDlg : QDialog
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);
+ KOpenWithDlg (const KURL::List&, TQWidget* /TransferThis/ = 0);
+ KOpenWithDlg (const KURL::List&, const TQString&, const TQString&, TQWidget* /TransferThis/ = 0);
+ KOpenWithDlg (const TQString&, const TQString&, TQWidget* /TransferThis/ = 0);
%If ( KDE_3_1_0 - )
- KOpenWithDlg (QWidget* /TransferThis/ = 0);
+ KOpenWithDlg (TQWidget* /TransferThis/ = 0);
%End
- QString text ();
+ TQString text ();
%If ( KDE_3_2_0 - )
void hideNoCloseOnExit ();
@@ -56,8 +56,8 @@ public:
public slots:
void slotClear ();
- void slotSelected (const QString&, const QString&);
- void slotHighlighted (const QString&, const QString&);
+ void slotSelected (const TQString&, const TQString&);
+ void slotHighlighted (const TQString&, const TQString&);
void slotTextChanged ();
void slotTerminalToggled (bool);
void slotDbClick ();
@@ -68,7 +68,7 @@ protected slots:
protected:
void setServiceType (const KURL::List&);
- void init (const QString&, const QString&);
+ void init (const TQString&, const TQString&);
}; // class KOpenWithDlg
@@ -89,7 +89,7 @@ public:
%If ( - KDE_3_1_0 )
-class KAppTreeListItem : QListViewItem
+class KAppTreeListItem : TQListViewItem
{
%TypeHeaderCode
#include <kopenwith.h>
@@ -97,12 +97,12 @@ class KAppTreeListItem : QListViewItem
protected:
- QString key (int, bool) const;
- void init (const QPixmap&, bool, bool, QString, QString);
+ TQString key (int, bool) const;
+ void init (const TQPixmap&, bool, bool, TQString, TQString);
public:
- KAppTreeListItem (KListView* /TransferThis/, const QString&, const QPixmap&, bool, bool, QString, QString);
- KAppTreeListItem (QListViewItem* /TransferThis/, const QString&, const QPixmap&, bool, bool, QString, QString);
+ KAppTreeListItem (KListView* /TransferThis/, const TQString&, const TQPixmap&, bool, bool, TQString, TQString);
+ KAppTreeListItem (TQListViewItem* /TransferThis/, const TQString&, const TQPixmap&, bool, bool, TQString, TQString);
bool isDirectory ();
protected:
@@ -124,21 +124,21 @@ class KApplicationTree : KListView
public:
- KApplicationTree (QWidget* /TransferThis/);
- void addDesktopGroup (QString, KAppTreeListItem* = 0);
+ KApplicationTree (TQWidget* /TransferThis/);
+ void addDesktopGroup (TQString, KAppTreeListItem* = 0);
KAppTreeListItem* it;
bool isDirSel ();
protected:
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
public slots:
- void slotItemHighlighted (QListViewItem*);
- void slotSelectionChanged (QListViewItem*);
+ void slotItemHighlighted (TQListViewItem*);
+ void slotSelectionChanged (TQListViewItem*);
signals:
- void selected (const QString&, const QString&);
- void highlighted (const QString&, const QString&);
+ void selected (const TQString&, const TQString&);
+ void highlighted (const TQString&, const TQString&);
}; // class KApplicationTree
diff --git a/sip/kfile/kpreviewwidgetbase.sip b/sip/kfile/kpreviewwidgetbase.sip
index 7c967bf..cb44f70 100644
--- a/sip/kfile/kpreviewwidgetbase.sip
+++ b/sip/kfile/kpreviewwidgetbase.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPreviewWidgetBase : QWidget
+class KPreviewWidgetBase : TQWidget
{
%TypeHeaderCode
#include <kpreviewwidgetbase.h>
@@ -32,21 +32,21 @@ class KPreviewWidgetBase : QWidget
public:
- KPreviewWidgetBase (QWidget* /TransferThis/, const char* = 0);
+ KPreviewWidgetBase (TQWidget* /TransferThis/, const char* = 0);
public slots:
virtual void showPreview (const KURL&) = 0;
virtual void clearPreview () = 0;
%If ( KDE_3_2_0 - )
- QStringList supportedMimeTypes () const;
+ TQStringList supportedMimeTypes () const;
%End
protected:
%If ( KDE_3_2_0 - )
- void setSupportedMimeTypes (const QStringList&);
+ void setSupportedMimeTypes (const TQStringList&);
%End
diff --git a/sip/kfile/kpropertiesdialog.sip b/sip/kfile/kpropertiesdialog.sip
index 09246a6..6f6df9c 100644
--- a/sip/kfile/kpropertiesdialog.sip
+++ b/sip/kfile/kpropertiesdialog.sip
@@ -33,17 +33,17 @@ class KPropertiesDialog : KDialogBase
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);
+ KPropertiesDialog (KFileItem*, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (KFileItemList, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (const KURL&, mode_t, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (const KURL&, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (const KURL&, const KURL&, const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (const TQString&, TQWidget* /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);
+ static bool showDialog (KFileItem*, TQWidget* /Transfer/ = 0, const char* = 0, bool = 0);
+ static bool showDialog (const KURL&, TQWidget* /Transfer/ = 0, const char* = 0, bool = 0);
+ static bool showDialog (const KFileItemList&, TQWidget* /Transfer/ = 0, const char* = 0, bool = 0);
%End
void insertPlugin (KPropsDlgPlugin*);
@@ -52,16 +52,16 @@ public:
KFileItemList items () const;
KDialogBase* dialog ();
const KURL& currentDir () const;
- const QString& defaultName () const;
+ const TQString& defaultName () const;
void updateUrl (const KURL&);
- void rename (const QString&);
+ void rename (const TQString&);
void abortApplying ();
%If ( KDE_3_1_0 - )
void showFileSharingPage ();
%If ( KDE_3_3_0 - )
- void setFileSharingPage (QWidget*);
+ void setFileSharingPage (TQWidget*);
%End
@@ -92,7 +92,7 @@ protected:
}; // class KPropertiesDialog
-class KPropsDlgPlugin : QObject
+class KPropsDlgPlugin : TQObject
{
%TypeHeaderCode
#include <kpropertiesdialog.h>
@@ -152,7 +152,7 @@ protected slots:
%End
void slotDirSizeFinished (KIO::Job*);
- void slotFoundMountPoint (const QString&, ulong, ulong, ulong);
+ void slotFoundMountPoint (const TQString&, ulong, ulong, ulong);
void slotSizeStop ();
void slotSizeDetermine ();
diff --git a/sip/kfile/kpropsdlg.sip b/sip/kfile/kpropsdlg.sip
index d435f14..661a9cf 100644
--- a/sip/kfile/kpropsdlg.sip
+++ b/sip/kfile/kpropsdlg.sip
@@ -33,20 +33,20 @@ class KPropertiesDialog : KDialogBase
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);
+ KPropertiesDialog (KFileItem*, TQWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (KFileItemList, TQWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (const KURL&, mode_t = -1, TQWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (const KURL&, const KURL&, const TQString&, TQWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (const TQString&, TQWidget*/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;
+ const TQString& defaultName () const;
void updateUrl (const KURL&);
- void rename (const QString&);
+ void rename (const TQString&);
void abortApplying ();
public slots:
@@ -61,7 +61,7 @@ signals:
}; // class KPropertiesDialog
-class KPropsDlgPlugin : QObject
+class KPropsDlgPlugin : TQObject
{
%TypeHeaderCode
#include <kpropsdlg.h>
@@ -103,7 +103,7 @@ 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 slotFoundMountPoint (const TQString&, ulong, ulong, ulong);
void slotSizeStop ();
void slotSizeDetermine ();
diff --git a/sip/kfile/krecentdirs.sip b/sip/kfile/krecentdirs.sip
index 2cc0b16..31fed75 100644
--- a/sip/kfile/krecentdirs.sip
+++ b/sip/kfile/krecentdirs.sip
@@ -32,9 +32,9 @@ class KRecentDirs
public:
- static QStringList list (const QString&);
- static QString dir (const QString&);
- static void add (const QString&, const QString&);
+ static TQStringList list (const TQString&);
+ static TQString dir (const TQString&);
+ static void add (const TQString&, const TQString&);
}; // class KRecentDirs
diff --git a/sip/kfile/krecentdocument.sip b/sip/kfile/krecentdocument.sip
index af6ab70..7e4c8cc 100644
--- a/sip/kfile/krecentdocument.sip
+++ b/sip/kfile/krecentdocument.sip
@@ -32,13 +32,13 @@ class KRecentDocument
public:
- static QStringList recentDocuments ();
+ static TQStringList recentDocuments ();
static void add (const KURL&);
- static void add (const KURL&, const QString&);
- static void add (const QString&, bool = 0);
+ static void add (const KURL&, const TQString&);
+ static void add (const TQString&, bool = 0);
static void clear ();
static int maximumItems ();
- static QString recentDocumentDirectory ();
+ static TQString recentDocumentDirectory ();
}; // class KRecentDocument
diff --git a/sip/kfile/kurlbar.sip b/sip/kfile/kurlbar.sip
index c826de3..b8582d8 100644
--- a/sip/kfile/kurlbar.sip
+++ b/sip/kfile/kurlbar.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KURLBarItem : QListBoxPixmap
+class KURLBarItem : TQListBoxPixmap
{
%TypeHeaderCode
#include <kurlbar.h>
@@ -34,27 +34,27 @@ class KURLBarItem : QListBoxPixmap
public:
%If ( KDE_3_2_0 - )
- KURLBarItem (KURLBar* /TransferThis/, const KURL&, bool, const QString& = QString ::null , const QString& = QString ::null , KIcon::Group = KIcon ::Panel );
+ KURLBarItem (KURLBar* /TransferThis/, const KURL&, bool, const TQString& = TQString ::null , const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel );
%End
- KURLBarItem (KURLBar* /TransferThis/, const KURL&, const QString& = QString ::null , const QString& = QString ::null , KIcon::Group = KIcon ::Panel );
+ KURLBarItem (KURLBar* /TransferThis/, const KURL&, const TQString& = TQString ::null , const TQString& = TQString ::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&);
+ void setIcon (const TQString&, KIcon::Group = KIcon ::Panel );
+ void setDescription (const TQString&);
+ void setToolTip (const TQString&);
%If ( KDE_3_0_1 - )
- QSize sizeHint () const;
+ TQSize sizeHint () const;
%End
- virtual int width (const QListBox*) const;
- virtual int height (const QListBox*) const;
+ virtual int width (const TQListBox*) const;
+ virtual int height (const TQListBox*) const;
const KURL& url () const;
- const QString& description () const;
- const QString& icon () const;
- QString toolTip () const;
+ const TQString& description () const;
+ const TQString& icon () const;
+ TQString toolTip () const;
KIcon::Group iconGroup () const;
- virtual const QPixmap* pixmap () const;
+ virtual const TQPixmap* pixmap () const;
void setApplicationLocal (bool);
bool applicationLocal () const;
@@ -64,7 +64,7 @@ public:
protected:
- virtual void paint (QPainter*);
+ virtual void paint (TQPainter*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -72,7 +72,7 @@ protected:
}; // class KURLBarItem
-class KURLBar : QFrame
+class KURLBar : TQFrame
{
%TypeHeaderCode
#include <kurlbar.h>
@@ -80,24 +80,24 @@ class KURLBar : QFrame
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 );
+ KURLBar (bool, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ virtual KURLBarItem* insertItem (const KURL&, const TQString&, bool = 1, const TQString& = TQString ::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 );
+ virtual KURLBarItem* insertDynamicItem (const KURL&, const TQString&, const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel );
%End
- virtual void setOrientation (Qt::Orientation);
- Qt::Orientation orientation () const;
+ virtual void setOrientation (TQt::Orientation);
+ TQt::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 TQSize sizeHint () const;
+ virtual TQSize minimumSizeHint () const;
+ virtual void readConfig (KConfig*, const TQString&);
+ virtual void writeConfig (KConfig*, const TQString&);
virtual void readItem (int, KConfig*, bool);
virtual void writeItem (KURLBarItem*, int, KConfig*, bool);
KURLBarItem* currentItem () const;
@@ -123,17 +123,17 @@ signals:
protected:
virtual bool addNewItem ();
virtual bool editItem (KURLBarItem*);
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
%If ( KDE_3_4_0 - )
- virtual void paletteChange (const QPalette&);
+ virtual void paletteChange (const TQPalette&);
%End
protected slots:
- virtual void slotContextMenuRequested (QListBoxItem*, const QPoint&);
- virtual void slotSelected (QListBoxItem*);
- virtual void slotDropped (QDropEvent*);
+ virtual void slotContextMenuRequested (TQListBoxItem*, const TQPoint&);
+ virtual void slotSelected (TQListBoxItem*);
+ virtual void slotDropped (TQDropEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -156,9 +156,9 @@ class KURLBarListBox : KListBox
public:
- KURLBarListBox (QWidget* /TransferThis/ = 0, const char* = 0);
- virtual void setOrientation (Qt::Orientation);
- Qt::Orientation orientation () const;
+ KURLBarListBox (TQWidget* /TransferThis/ = 0, const char* = 0);
+ virtual void setOrientation (TQt::Orientation);
+ TQt::Orientation orientation () const;
%If ( KDE_3_0_1 - )
bool isVertical () const;
@@ -166,18 +166,18 @@ public:
signals:
- void dropped (QDropEvent*);
+ void dropped (TQDropEvent*);
protected:
- virtual QDragObject* dragObject ();
- virtual void contentsDragEnterEvent (QDragEnterEvent*);
- virtual void contentsDropEvent (QDropEvent*);
+ virtual TQDragObject* dragObject ();
+ virtual void contentsDragEnterEvent (TQDragEnterEvent*);
+ virtual void contentsDropEvent (TQDropEvent*);
%If ( KDE_3_2_0 - )
- virtual void contextMenuEvent (QContextMenuEvent*);
+ virtual void contextMenuEvent (TQContextMenuEvent*);
%If ( KDE_3_4_0 - )
- virtual void paintEvent (QPaintEvent*);
+ virtual void paintEvent (TQPaintEvent*);
%End
%End
@@ -197,17 +197,17 @@ class KURLBarItemDialog : KDialogBase
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);
+ static bool getInformation (bool, KURL&, TQString&, TQString&, bool&, int, TQWidget* /Transfer/ = 0);
+ KURLBarItemDialog (bool, const KURL&, const TQString&, TQString, bool = 1, int = KIcon ::SizeMedium , TQWidget* /TransferThis/ = 0, const char* = 0);
KURL url () const;
- QString description () const;
- QString icon () const;
+ TQString description () const;
+ TQString icon () const;
bool applicationLocal () const;
protected:
public slots:
- void urlChanged (const QString&);
+ void urlChanged (const TQString&);
}; // class KURLBarItemDialog
diff --git a/sip/kfile/kurlcombobox.sip b/sip/kfile/kurlcombobox.sip
index f696ef8..09e36a5 100644
--- a/sip/kfile/kurlcombobox.sip
+++ b/sip/kfile/kurlcombobox.sip
@@ -47,16 +47,16 @@ public:
RemoveBottom
};
- KURLComboBox (KURLComboBox::Mode, QWidget* /TransferThis/ = 0, const char* = 0);
- KURLComboBox (KURLComboBox::Mode, bool, QWidget* /TransferThis/ = 0, const char* = 0);
+ KURLComboBox (KURLComboBox::Mode, TQWidget* /TransferThis/ = 0, const char* = 0);
+ KURLComboBox (KURLComboBox::Mode, bool, TQWidget* /TransferThis/ = 0, const char* = 0);
void setURL (const KURL&);
- void setURLs (QStringList);
- void setURLs (QStringList, KURLComboBox::OverLoadResolving);
- QStringList urls () const;
+ void setURLs (TQStringList);
+ void setURLs (TQStringList, KURLComboBox::OverLoadResolving);
+ TQStringList 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 addDefaultURL (const KURL&, const TQString& = TQString ::null );
+ void addDefaultURL (const KURL&, const TQPixmap&, const TQString& = TQString ::null );
void setDefaults ();
void removeURL (const KURL&, bool = 1);
@@ -73,8 +73,8 @@ protected:
//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&);
+ TQPixmap getPixmap (const KURL&) const;
+//ig void updateItem (const KURLComboBox::KURLComboItem*, int, const TQPixmap&);
}; // class KURLComboBox
diff --git a/sip/kfile/kurlrequester.sip b/sip/kfile/kurlrequester.sip
index c6103b6..9d44788 100644
--- a/sip/kfile/kurlrequester.sip
+++ b/sip/kfile/kurlrequester.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KURLRequester : QHBox
+class KURLRequester : TQHBox
{
%TypeHeaderCode
#include <kurlrequester.h>
@@ -32,10 +32,10 @@ class KURLRequester : QHBox
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;
+ KURLRequester (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KURLRequester (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0);
+ KURLRequester (TQWidget*, TQWidget* /TransferThis/, const char* = 0);
+ TQString url () const;
void setShowLocalProtocol (bool);
void setMode (uint);
@@ -43,10 +43,10 @@ public:
uint mode () const;
%End
- void setFilter (const QString&);
+ void setFilter (const TQString&);
%If ( KDE_3_3_0 - )
- QString filter () const;
+ TQString filter () const;
%End
bool showLocalProtocol () const;
@@ -62,7 +62,7 @@ public:
public slots:
- void setURL (const QString&);
+ void setURL (const TQString&);
%If ( KDE_3_4_0 - )
void setKURL (const KURL&);
@@ -70,17 +70,17 @@ public slots:
%If ( KDE_3_1_0 - )
- virtual void setCaption (const QString&);
+ virtual void setCaption (const TQString&);
%End
void clear ();
signals:
- void textChanged (const QString&);
+ void textChanged (const TQString&);
void returnPressed ();
- void returnPressed (const QString&);
+ void returnPressed (const TQString&);
void openFileDialog (KURLRequester*);
- void urlSelected (const QString&);
+ void urlSelected (const TQString&);
protected:
void init ();
@@ -104,7 +104,7 @@ class KURLComboRequester : KURLRequester
public:
- KURLComboRequester (QWidget* /TransferThis/ = 0, const char* = 0);
+ KURLComboRequester (TQWidget* /TransferThis/ = 0, const char* = 0);
}; // class KURLComboRequester
diff --git a/sip/kfile/kurlrequesterdlg.sip b/sip/kfile/kurlrequesterdlg.sip
index a61408d..d58e786 100644
--- a/sip/kfile/kurlrequesterdlg.sip
+++ b/sip/kfile/kurlrequesterdlg.sip
@@ -32,10 +32,10 @@ class KURLRequesterDlg : KDialogBase
public:
- KURLRequesterDlg (const QString&, QWidget* /TransferThis/, const char*, bool = 1);
- KURLRequesterDlg (const QString&, const QString&, QWidget* /TransferThis/, const char*, bool = 1);
+ KURLRequesterDlg (const TQString&, TQWidget* /TransferThis/, const char*, bool = 1);
+ KURLRequesterDlg (const TQString&, const TQString&, TQWidget* /TransferThis/, const char*, bool = 1);
KURL selectedURL () const;
- static KURL getURL (const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ static KURL getURL (const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
KFileDialog* fileDialog ();
KURLRequester* urlRequester ();
diff --git a/sip/khtml/css_rule.sip b/sip/khtml/css_rule.sip
index 74ceb1b..202edda 100644
--- a/sip/khtml/css_rule.sip
+++ b/sip/khtml/css_rule.sip
@@ -51,7 +51,7 @@ public:
MEDIA_RULE,
FONT_FACE_RULE,
PAGE_RULE,
- QUIRKS_RULE
+ TQUIRKS_RULE
};
%End
diff --git a/sip/khtml/css_value.sip b/sip/khtml/css_value.sip
index 5d8194d..a3b7a68 100644
--- a/sip/khtml/css_value.sip
+++ b/sip/khtml/css_value.sip
@@ -242,10 +242,10 @@ class RGBColor
public:
RGBColor ();
- RGBColor (const QColor&);
+ RGBColor (const TQColor&);
%If ( KDE_3_1_0 - )
- RGBColor (QRgb);
+ RGBColor (TQRgb);
%End
RGBColor (const DOM::RGBColor&);
@@ -254,7 +254,7 @@ public:
DOM::CSSPrimitiveValue blue () const;
%If ( KDE_3_1_0 - )
- QRgb color () const;
+ TQRgb color () const;
%End
@@ -263,7 +263,7 @@ protected:
public:
%If ( - KDE_3_1_0 )
- const QColor& color () const;
+ const TQColor& color () const;
%End
diff --git a/sip/khtml/dom_exception.sip b/sip/khtml/dom_exception.sip
index 6a446a8..8245b75 100644
--- a/sip/khtml/dom_exception.sip
+++ b/sip/khtml/dom_exception.sip
@@ -41,7 +41,7 @@ public:
{
INDEX_SIZE_ERR,
DOMSTRING_SIZE_ERR,
- HIERARCHY_REQUEST_ERR,
+ HIERARCHY_RETQUEST_ERR,
WRONG_DOCUMENT_ERR,
INVALID_CHARACTER_ERR,
NO_DATA_ALLOWED_ERR,
diff --git a/sip/khtml/dom_node.sip b/sip/khtml/dom_node.sip
index e7d4b8e..2efb881 100644
--- a/sip/khtml/dom_node.sip
+++ b/sip/khtml/dom_node.sip
@@ -115,10 +115,10 @@ public:
bool isNull () const;
//ig NodeImpl* handle () const;
ulong index () const;
- QString toHTML ();
+ TQString toHTML ();
void applyChanges ();
void getCursor (int, int&, int&, int&);
- QRect getRect ();
+ TQRect getRect ();
protected:
diff --git a/sip/khtml/dom_string.sip b/sip/khtml/dom_string.sip
index 07c90b9..98a41eb 100644
--- a/sip/khtml/dom_string.sip
+++ b/sip/khtml/dom_string.sip
@@ -35,25 +35,25 @@ class DOMString
public:
DOMString ();
- DOMString (const QChar*, uint);
- DOMString (const QString&);
+ DOMString (const TQChar*, uint);
+ DOMString (const TQString&);
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;
+ const TQChar& operator [] (uint) const;
- int find (const QChar, int = 0) const;
+ int find (const TQChar, 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;
+ TQChar* unicode () const;
+ TQString string () const;
int toInt () const;
bool percentage (int&) const;
DOM::DOMString copy () const;
@@ -66,7 +66,7 @@ protected:
}; // class DOMString
//igx bool operator == (const DOMString&, const DOMString&);
-//igx bool operator == (const DOMString&, const QString&);
+//igx bool operator == (const DOMString&, const TQString&);
//igx bool operator == (const DOMString&, const char*);
bool strcasecmp (const DOM::DOMString&, const DOM::DOMString&);
bool strcasecmp (const DOM::DOMString&, const char*);
diff --git a/sip/khtml/khtml_part.sip b/sip/khtml/khtml_part.sip
index be24216..1f2615a 100644
--- a/sip/khtml/khtml_part.sip
+++ b/sip/khtml/khtml_part.sip
@@ -39,8 +39,8 @@ public:
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 );
+ KHTMLPart (TQWidget* = 0, const char* = 0, TQObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI );
+ KHTMLPart (KHTMLView*, TQObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI );
virtual bool openURL (const KURL&);
virtual bool closeURL ();
virtual void showError (KIO::Job*);
@@ -65,7 +65,7 @@ public:
void setMetaRefreshEnabled (bool);
bool metaRefreshEnabled () const;
- QVariant executeScript (const DOM::Node&, const QString&);
+ TQVariant executeScript (const DOM::Node&, const TQString&);
void setDNDEnabled (bool);
bool dndEnabled () const;
void setJavaEnabled (bool);
@@ -100,33 +100,33 @@ public:
void enablePlugins (bool);
void autoloadImages (bool);
void enableMetaRefresh (bool);
- bool setCharset (const QString&, bool = 0);
+ bool setCharset (const TQString&, bool = 0);
KURL baseURL () const;
- QString baseTarget () const;
+ TQString baseTarget () const;
KURL backgroundURL () const;
- void scheduleRedirection (int, const QString&, bool = 1);
+ void scheduleRedirection (int, const TQString&, 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 write (const TQString&);
virtual void end ();
- void paint (QPainter*, const QRect&, int = 0, bool* = 0);
- bool setEncoding (const QString&, bool = 0);
- QString encoding ();
+ void paint (TQPainter*, const TQRect&, int = 0, bool* = 0);
+ bool setEncoding (const TQString&, bool = 0);
+ TQString encoding ();
void setUserStyleSheet (const KURL&);
- void setUserStyleSheet (const QString&);
+ void setUserStyleSheet (const TQString&);
public:
- void setStandardFont (const QString&);
- void setFixedFont (const QString&);
- bool gotoAnchor (const QString&);
+ void setStandardFont (const TQString&);
+ void setFixedFont (const TQString&);
+ bool gotoAnchor (const TQString&);
%If ( KDE_3_2_0 - )
bool nextAnchor ();
bool prevAnchor ();
%End
- void setURLCursor (const QCursor&);
- QCursor urlCursor () const;
+ void setURLCursor (const TQCursor&);
+ TQCursor urlCursor () const;
%If ( KDE_3_3_0 - )
@@ -137,11 +137,11 @@ public:
};
void findText ();
- void findText (const QString&, long, QWidget* /Transfer/ = 0, KFindDialog* = 0);
+ void findText (const TQString&, long, TQWidget* /Transfer/ = 0, KFindDialog* = 0);
%End
void findTextBegin ();
- bool findTextNext (const QString&, bool, bool, bool);
+ bool findTextNext (const TQString&, bool, bool, bool);
%If ( KDE_3_3_0 - )
bool findTextNext ();
@@ -149,7 +149,7 @@ public:
void setZoomFactor (int);
int zoomFactor () const;
- virtual QString selectedText () const;
+ virtual TQString selectedText () const;
DOM::Range selection () const;
%If ( KDE_3_2_0 - )
@@ -162,29 +162,29 @@ public:
void show ();
void hide ();
KParts::PartManager* partManager ();
- virtual void saveState (QDataStream&);
- virtual void restoreState (QDataStream&);
+ virtual void saveState (TQDataStream&);
+ virtual void restoreState (TQDataStream&);
DOM::Node nodeUnderMouse () const;
const KHTMLSettings* settings () const;
KHTMLPart* parentPart ();
- QStringList frameNames () const;
- QPtrList<KParts::ReadOnlyPart> frames () const;
- KHTMLPart* findFrame (const QString&);
+ TQStringList frameNames () const;
+ TQPtrList<KParts::ReadOnlyPart> frames () const;
+ KHTMLPart* findFrame (const TQString&);
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;
+ bool frameExists (const TQString&);
+ void setJSStatusBarText (const TQString&);
+ void setJSDefaultStatusBarText (const TQString&);
+ TQString jsStatusBarText () const;
+ TQString jsDefaultStatusBarText () const;
+ TQString referrer () const;
%If ( KDE_3_1_3 - )
- QString pageReferrer () const;
+ TQString pageReferrer () const;
%End
- QString lastModified () const;
- void preloadStyleSheet (const QString&, const QString&);
- void preloadScript (const QString&, const QString&);
+ TQString lastModified () const;
+ void preloadStyleSheet (const TQString&, const TQString&);
+ void preloadScript (const TQString&, const TQString&);
bool restored () const;
%If ( KDE_3_2_0 - )
@@ -209,8 +209,8 @@ public:
signals:
- void onURL (const QString&);
- void popupMenu (const QString&, const QPoint&);
+ void onURL (const TQString&);
+ void popupMenu (const TQString&, const TQPoint&);
void selectionChanged ();
void nodeActivated (const DOM::Node&);
@@ -219,16 +219,16 @@ signals:
%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&);
+ void formSubmitNotification (const char*, const TQString&, const TQByteArray&, const TQString&, const TQString&, const TQString&);
%End
%End
protected:
- KURL completeURL (const QString&);
- void htmlError (int, const QString&, const KURL&);
- virtual void customEvent (QCustomEvent*);
+ KURL completeURL (const TQString&);
+ void htmlError (int, const TQString&, const KURL&);
+ virtual void customEvent (TQCustomEvent*);
//ig virtual void khtmlMousePressEvent (khtml::MousePressEvent*);
//ig virtual void khtmlMouseDoubleClickEvent (khtml::MouseDoubleClickEvent*);
//ig virtual void khtmlMouseMoveEvent (khtml::MouseMoveEvent*);
@@ -236,17 +236,17 @@ protected:
//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&);
+ virtual void urlSelected (const TQString&, int, int, const TQString&, KParts::URLArgs = KParts ::URLArgs ());
+ virtual KParts::ReadOnlyPart* createPart (TQWidget*, const char*, TQObject* /Transfer/, const char*, const TQString&, TQString&, TQStringList&, const TQStringList&);
%If ( KDE_3_1_0 - )
- bool pluginPageQuestionAsked (const QString&) const;
- void setPluginPageQuestionAsked (const QString&);
+ bool pluginPageQuestionAsked (const TQString&) const;
+ void setPluginPageQuestionAsked (const TQString&);
%If ( KDE_3_2_0 - )
//ig void setPageSecurity (KHTMLPart::PageSecurity);
- virtual bool doOpenStream (const QString&);
- virtual bool doWriteStream (const QByteArray&);
+ virtual bool doOpenStream (const TQString&);
+ virtual bool doWriteStream (const TQByteArray&);
virtual bool doCloseStream ();
%End
@@ -256,26 +256,26 @@ protected:
public slots:
void setActiveNode (const DOM::Node&);
void stopAnimations ();
- QCString dcopObjectId () const;
+ TQCString dcopObjectId () const;
%If ( KDE_3_2_0 - )
- QVariant executeScript (const QString&);
+ TQVariant executeScript (const TQString&);
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 );
+ void submitFormProxy (const char*, const TQString&, const TQByteArray&, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null );
%End
public:
%If ( - KDE_3_2_0 )
- QVariant executeScript (const QString&);
+ TQVariant executeScript (const TQString&);
%End
//force
private:
- void setStatusBarText (const QString&, int);
+ void setStatusBarText (const TQString&, int);
//end
}; // class KHTMLPart
diff --git a/sip/khtml/khtml_part.sip.323 b/sip/khtml/khtml_part.sip.323
index 1173eef..f4b39b1 100644
--- a/sip/khtml/khtml_part.sip.323
+++ b/sip/khtml/khtml_part.sip.323
@@ -39,8 +39,8 @@ public:
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 );
+ KHTMLPart (TQWidget* = 0, const char* = 0, TQObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI );
+ KHTMLPart (KHTMLView*, TQObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI );
virtual bool openURL (const KURL&);
virtual bool closeURL ();
virtual void showError (KIO::Job*);
@@ -65,7 +65,7 @@ public:
void setMetaRefreshEnabled (bool);
bool metaRefreshEnabled () const;
- QVariant executeScript (const DOM::Node&, const QString&);
+ TQVariant executeScript (const DOM::Node&, const TQString&);
void setDNDEnabled (bool);
bool dndEnabled () const;
void setJavaEnabled (bool);
@@ -100,37 +100,37 @@ public:
void enablePlugins (bool);
void autoloadImages (bool);
void enableMetaRefresh (bool);
- bool setCharset (const QString&, bool = 0);
+ bool setCharset (const TQString&, bool = 0);
KURL baseURL () const;
- QString baseTarget () const;
+ TQString baseTarget () const;
KURL backgroundURL () const;
- void scheduleRedirection (int, const QString&, bool = 1);
+ void scheduleRedirection (int, const TQString&, 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 write (const TQString&);
virtual void end ();
- void paint (QPainter*, const QRect&, int = 0, bool* = 0);
- bool setEncoding (const QString&, bool = 0);
- QString encoding ();
+ void paint (TQPainter*, const TQRect&, int = 0, bool* = 0);
+ bool setEncoding (const TQString&, bool = 0);
+ TQString encoding ();
void setUserStyleSheet (const KURL&);
- void setUserStyleSheet (const QString&);
+ void setUserStyleSheet (const TQString&);
public:
- void setStandardFont (const QString&);
- void setFixedFont (const QString&);
- bool gotoAnchor (const QString&);
+ void setStandardFont (const TQString&);
+ void setFixedFont (const TQString&);
+ bool gotoAnchor (const TQString&);
%If ( KDE_3_2_0 - )
bool nextAnchor ();
bool prevAnchor ();
%End
- void setURLCursor (const QCursor&);
- QCursor urlCursor () const;
+ void setURLCursor (const TQCursor&);
+ TQCursor urlCursor () const;
void findTextBegin ();
- bool findTextNext (const QString&, bool, bool, bool);
+ bool findTextNext (const TQString&, bool, bool, bool);
%If ( KDE_3_3_0 - )
void findText ();
@@ -139,7 +139,7 @@ public:
void setZoomFactor (int);
int zoomFactor () const;
- virtual QString selectedText () const;
+ virtual TQString selectedText () const;
DOM::Range selection () const;
%If ( KDE_3_2_0 - )
@@ -152,29 +152,29 @@ public:
void show ();
void hide ();
KParts::PartManager* partManager ();
- virtual void saveState (QDataStream&);
- virtual void restoreState (QDataStream&);
+ virtual void saveState (TQDataStream&);
+ virtual void restoreState (TQDataStream&);
DOM::Node nodeUnderMouse () const;
const KHTMLSettings* settings () const;
KHTMLPart* parentPart ();
- QStringList frameNames () const;
- QPtrList<KParts::ReadOnlyPart> frames () const;
- KHTMLPart* findFrame (const QString&);
+ TQStringList frameNames () const;
+ TQPtrList<KParts::ReadOnlyPart> frames () const;
+ KHTMLPart* findFrame (const TQString&);
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;
+ bool frameExists (const TQString&);
+ void setJSStatusBarText (const TQString&);
+ void setJSDefaultStatusBarText (const TQString&);
+ TQString jsStatusBarText () const;
+ TQString jsDefaultStatusBarText () const;
+ TQString referrer () const;
%If ( KDE_3_1_3 - )
- QString pageReferrer () const;
+ TQString pageReferrer () const;
%End
- QString lastModified () const;
- void preloadStyleSheet (const QString&, const QString&);
- void preloadScript (const QString&, const QString&);
+ TQString lastModified () const;
+ void preloadStyleSheet (const TQString&, const TQString&);
+ void preloadScript (const TQString&, const TQString&);
bool restored () const;
%If ( KDE_3_2_0 - )
@@ -199,8 +199,8 @@ public:
signals:
- void onURL (const QString&);
- void popupMenu (const QString&, const QPoint&);
+ void onURL (const TQString&);
+ void popupMenu (const TQString&, const TQPoint&);
void selectionChanged ();
void nodeActivated (const DOM::Node&);
@@ -209,16 +209,16 @@ signals:
%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&);
+ void formSubmitNotification (const char*, const TQString&, const TQByteArray&, const TQString&, const TQString&, const TQString&);
%End
%End
protected:
- KURL completeURL (const QString&);
- void htmlError (int, const QString&, const KURL&);
- virtual void customEvent (QCustomEvent*);
+ KURL completeURL (const TQString&);
+ void htmlError (int, const TQString&, const KURL&);
+ virtual void customEvent (TQCustomEvent*);
//ig virtual void khtmlMousePressEvent (khtml::MousePressEvent*);
//ig virtual void khtmlMouseDoubleClickEvent (khtml::MouseDoubleClickEvent*);
//ig virtual void khtmlMouseMoveEvent (khtml::MouseMoveEvent*);
@@ -226,17 +226,17 @@ protected:
//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&);
+ virtual void urlSelected (const TQString&, int, int, const TQString&, KParts::URLArgs = KParts ::URLArgs ());
+ virtual KParts::ReadOnlyPart* createPart (TQWidget*, const char*, TQObject* /Transfer/, const char*, const TQString&, TQString&, TQStringList&, const TQStringList&);
%If ( KDE_3_1_0 - )
- bool pluginPageQuestionAsked (const QString&) const;
- void setPluginPageQuestionAsked (const QString&);
+ bool pluginPageQuestionAsked (const TQString&) const;
+ void setPluginPageQuestionAsked (const TQString&);
%If ( KDE_3_2_0 - )
//ig void setPageSecurity (KHTMLPart::PageSecurity);
- virtual bool doOpenStream (const QString&);
- virtual bool doWriteStream (const QByteArray&);
+ virtual bool doOpenStream (const TQString&);
+ virtual bool doWriteStream (const TQByteArray&);
virtual bool doCloseStream ();
%End
@@ -246,26 +246,26 @@ protected:
public slots:
void setActiveNode (const DOM::Node&);
void stopAnimations ();
- QCString dcopObjectId () const;
+ TQCString dcopObjectId () const;
%If ( KDE_3_2_0 - )
- QVariant executeScript (const QString&);
+ TQVariant executeScript (const TQString&);
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 );
+ void submitFormProxy (const char*, const TQString&, const TQByteArray&, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null );
%End
public:
%If ( - KDE_3_2_0 )
- QVariant executeScript (const QString&);
+ TQVariant executeScript (const TQString&);
%End
//force
private:
- void setStatusBarText (const QString&, int);
+ void setStatusBarText (const TQString&, int);
//end
}; // class KHTMLPart
diff --git a/sip/khtml/khtml_part.sip.330 b/sip/khtml/khtml_part.sip.330
index be24216..1f2615a 100644
--- a/sip/khtml/khtml_part.sip.330
+++ b/sip/khtml/khtml_part.sip.330
@@ -39,8 +39,8 @@ public:
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 );
+ KHTMLPart (TQWidget* = 0, const char* = 0, TQObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI );
+ KHTMLPart (KHTMLView*, TQObject* /TransferThis/ = 0, const char* = 0, KHTMLPart::GUIProfile = DefaultGUI );
virtual bool openURL (const KURL&);
virtual bool closeURL ();
virtual void showError (KIO::Job*);
@@ -65,7 +65,7 @@ public:
void setMetaRefreshEnabled (bool);
bool metaRefreshEnabled () const;
- QVariant executeScript (const DOM::Node&, const QString&);
+ TQVariant executeScript (const DOM::Node&, const TQString&);
void setDNDEnabled (bool);
bool dndEnabled () const;
void setJavaEnabled (bool);
@@ -100,33 +100,33 @@ public:
void enablePlugins (bool);
void autoloadImages (bool);
void enableMetaRefresh (bool);
- bool setCharset (const QString&, bool = 0);
+ bool setCharset (const TQString&, bool = 0);
KURL baseURL () const;
- QString baseTarget () const;
+ TQString baseTarget () const;
KURL backgroundURL () const;
- void scheduleRedirection (int, const QString&, bool = 1);
+ void scheduleRedirection (int, const TQString&, 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 write (const TQString&);
virtual void end ();
- void paint (QPainter*, const QRect&, int = 0, bool* = 0);
- bool setEncoding (const QString&, bool = 0);
- QString encoding ();
+ void paint (TQPainter*, const TQRect&, int = 0, bool* = 0);
+ bool setEncoding (const TQString&, bool = 0);
+ TQString encoding ();
void setUserStyleSheet (const KURL&);
- void setUserStyleSheet (const QString&);
+ void setUserStyleSheet (const TQString&);
public:
- void setStandardFont (const QString&);
- void setFixedFont (const QString&);
- bool gotoAnchor (const QString&);
+ void setStandardFont (const TQString&);
+ void setFixedFont (const TQString&);
+ bool gotoAnchor (const TQString&);
%If ( KDE_3_2_0 - )
bool nextAnchor ();
bool prevAnchor ();
%End
- void setURLCursor (const QCursor&);
- QCursor urlCursor () const;
+ void setURLCursor (const TQCursor&);
+ TQCursor urlCursor () const;
%If ( KDE_3_3_0 - )
@@ -137,11 +137,11 @@ public:
};
void findText ();
- void findText (const QString&, long, QWidget* /Transfer/ = 0, KFindDialog* = 0);
+ void findText (const TQString&, long, TQWidget* /Transfer/ = 0, KFindDialog* = 0);
%End
void findTextBegin ();
- bool findTextNext (const QString&, bool, bool, bool);
+ bool findTextNext (const TQString&, bool, bool, bool);
%If ( KDE_3_3_0 - )
bool findTextNext ();
@@ -149,7 +149,7 @@ public:
void setZoomFactor (int);
int zoomFactor () const;
- virtual QString selectedText () const;
+ virtual TQString selectedText () const;
DOM::Range selection () const;
%If ( KDE_3_2_0 - )
@@ -162,29 +162,29 @@ public:
void show ();
void hide ();
KParts::PartManager* partManager ();
- virtual void saveState (QDataStream&);
- virtual void restoreState (QDataStream&);
+ virtual void saveState (TQDataStream&);
+ virtual void restoreState (TQDataStream&);
DOM::Node nodeUnderMouse () const;
const KHTMLSettings* settings () const;
KHTMLPart* parentPart ();
- QStringList frameNames () const;
- QPtrList<KParts::ReadOnlyPart> frames () const;
- KHTMLPart* findFrame (const QString&);
+ TQStringList frameNames () const;
+ TQPtrList<KParts::ReadOnlyPart> frames () const;
+ KHTMLPart* findFrame (const TQString&);
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;
+ bool frameExists (const TQString&);
+ void setJSStatusBarText (const TQString&);
+ void setJSDefaultStatusBarText (const TQString&);
+ TQString jsStatusBarText () const;
+ TQString jsDefaultStatusBarText () const;
+ TQString referrer () const;
%If ( KDE_3_1_3 - )
- QString pageReferrer () const;
+ TQString pageReferrer () const;
%End
- QString lastModified () const;
- void preloadStyleSheet (const QString&, const QString&);
- void preloadScript (const QString&, const QString&);
+ TQString lastModified () const;
+ void preloadStyleSheet (const TQString&, const TQString&);
+ void preloadScript (const TQString&, const TQString&);
bool restored () const;
%If ( KDE_3_2_0 - )
@@ -209,8 +209,8 @@ public:
signals:
- void onURL (const QString&);
- void popupMenu (const QString&, const QPoint&);
+ void onURL (const TQString&);
+ void popupMenu (const TQString&, const TQPoint&);
void selectionChanged ();
void nodeActivated (const DOM::Node&);
@@ -219,16 +219,16 @@ signals:
%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&);
+ void formSubmitNotification (const char*, const TQString&, const TQByteArray&, const TQString&, const TQString&, const TQString&);
%End
%End
protected:
- KURL completeURL (const QString&);
- void htmlError (int, const QString&, const KURL&);
- virtual void customEvent (QCustomEvent*);
+ KURL completeURL (const TQString&);
+ void htmlError (int, const TQString&, const KURL&);
+ virtual void customEvent (TQCustomEvent*);
//ig virtual void khtmlMousePressEvent (khtml::MousePressEvent*);
//ig virtual void khtmlMouseDoubleClickEvent (khtml::MouseDoubleClickEvent*);
//ig virtual void khtmlMouseMoveEvent (khtml::MouseMoveEvent*);
@@ -236,17 +236,17 @@ protected:
//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&);
+ virtual void urlSelected (const TQString&, int, int, const TQString&, KParts::URLArgs = KParts ::URLArgs ());
+ virtual KParts::ReadOnlyPart* createPart (TQWidget*, const char*, TQObject* /Transfer/, const char*, const TQString&, TQString&, TQStringList&, const TQStringList&);
%If ( KDE_3_1_0 - )
- bool pluginPageQuestionAsked (const QString&) const;
- void setPluginPageQuestionAsked (const QString&);
+ bool pluginPageQuestionAsked (const TQString&) const;
+ void setPluginPageQuestionAsked (const TQString&);
%If ( KDE_3_2_0 - )
//ig void setPageSecurity (KHTMLPart::PageSecurity);
- virtual bool doOpenStream (const QString&);
- virtual bool doWriteStream (const QByteArray&);
+ virtual bool doOpenStream (const TQString&);
+ virtual bool doWriteStream (const TQByteArray&);
virtual bool doCloseStream ();
%End
@@ -256,26 +256,26 @@ protected:
public slots:
void setActiveNode (const DOM::Node&);
void stopAnimations ();
- QCString dcopObjectId () const;
+ TQCString dcopObjectId () const;
%If ( KDE_3_2_0 - )
- QVariant executeScript (const QString&);
+ TQVariant executeScript (const TQString&);
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 );
+ void submitFormProxy (const char*, const TQString&, const TQByteArray&, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null );
%End
public:
%If ( - KDE_3_2_0 )
- QVariant executeScript (const QString&);
+ TQVariant executeScript (const TQString&);
%End
//force
private:
- void setStatusBarText (const QString&, int);
+ void setStatusBarText (const TQString&, int);
//end
}; // class KHTMLPart
diff --git a/sip/khtml/khtml_settings.sip b/sip/khtml/khtml_settings.sip
index 4b13dd6..54a8f70 100644
--- a/sip/khtml/khtml_settings.sip
+++ b/sip/khtml/khtml_settings.sip
@@ -103,14 +103,14 @@ public:
%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&);
+ TQString stdFontName () const;
+ TQString fixedFontName () const;
+ TQString serifFontName () const;
+ TQString sansSerifFontName () const;
+ TQString cursiveFontName () const;
+ TQString fantasyFontName () const;
+ void setStdFontName (const TQString&);
+ void setFixedFontName (const TQString&);
int minFontSize () const;
int mediumFontSize () const;
@@ -119,20 +119,20 @@ public:
void setJSErrorsEnabled (bool);
%End
- const QString& encoding () const;
+ const TQString& encoding () const;
%If ( KDE_3_4_0 - )
bool followSystemColors () const;
%End
- const QColor& textColor ();
+ const TQColor& textColor ();
%If ( KDE_3_4_0 - )
- const QColor& baseColor () const;
+ const TQColor& baseColor () const;
%End
- const QColor& linkColor ();
- const QColor& vLinkColor ();
+ const TQColor& linkColor ();
+ const TQColor& vLinkColor ();
bool autoLoadImages ();
%If ( KDE_3_4_0 - )
@@ -149,44 +149,44 @@ public:
bool isBackRightClickEnabled ();
%End
- bool isJavaEnabled (const QString& = QString ::null );
- bool isJavaScriptEnabled (const QString& = QString ::null );
- bool isJavaScriptDebugEnabled (const QString& = QString ::null );
+ bool isJavaEnabled (const TQString& = TQString ::null );
+ bool isJavaScriptEnabled (const TQString& = TQString ::null );
+ bool isJavaScriptDebugEnabled (const TQString& = TQString ::null );
%If ( KDE_3_2_0 - )
- bool isJavaScriptErrorReportingEnabled (const QString& = QString ::null ) const;
+ bool isJavaScriptErrorReportingEnabled (const TQString& = TQString ::null ) const;
%End
- bool isPluginsEnabled (const QString& = QString ::null );
+ bool isPluginsEnabled (const TQString& = TQString ::null );
%If ( KDE_3_5_0 - )
- bool isAdFiltered (const QString&) const;
+ bool isAdFiltered (const TQString&) const;
bool isAdFilterEnabled () const;
bool isHideAdsEnabled () const;
- void addAdFilter (const QString&);
+ void addAdFilter (const TQString&);
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;
+ KHTMLSettings::KJSWindowOpenPolicy windowOpenPolicy (const TQString& = TQString ::null ) const;
+ KHTMLSettings::KJSWindowMovePolicy windowMovePolicy (const TQString& = TQString ::null ) const;
+ KHTMLSettings::KJSWindowResizePolicy windowResizePolicy (const TQString& = TQString ::null ) const;
+ KHTMLSettings::KJSWindowStatusPolicy windowStatusPolicy (const TQString& = TQString ::null ) const;
+ KHTMLSettings::KJSWindowFocusPolicy windowFocusPolicy (const TQString& = TQString ::null ) const;
%End
- static KJavaScriptAdvice strToAdvice (const QString&);
-//ig static void splitDomainAdvice (const QString&, QString&, KHTMLSettings::KJavaScriptAdvice&, KHTMLSettings::KJavaScriptAdvice&);
+ static KJavaScriptAdvice strToAdvice (const TQString&);
+//ig static void splitDomainAdvice (const TQString&, TQString&, 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;
+ TQString settingsToCSS () const;
+ static const TQString& availableFamilies ();
+ TQString userStyleSheet () const;
bool isFormCompletionEnabled () const;
int maxFormCompletionItems () const;
@@ -194,7 +194,7 @@ public:
bool isAutoDelayedActionsEnabled () const;
%If ( KDE_3_5_0 - )
- QValueList<QPair<QString,QChar>> fallbackAccessKeysAssignments () const;
+ TQValueList<TQPair<TQString,TQChar>> fallbackAccessKeysAssignments () const;
void setJSPopupBlockerPassivePopup (bool);
bool jsPopupBlockerPassivePopup () const;
%End
@@ -207,14 +207,14 @@ public:
%If (KDE_3_5_0 - )
-%MappedType QValueList<QPair<QString,QChar>>
-//converts a Python list of tuples (QString,QChar)
+%MappedType TQValueList<TQPair<TQString,TQChar>>
+//converts a Python list of tuples (TQString,TQChar)
{
%TypeHeaderCode
#include <qvaluelist.h>
#include <qstring.h>
#include <khtml_settings.h>
-typedef QPair<QString,QChar> AssignPair;
+typedef TQPair<TQString,TQChar> AssignPair;
%End
%ConvertFromTypeCode
@@ -226,17 +226,17 @@ typedef QPair<QString,QChar> AssignPair;
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<AssignPair> *cpplist = (QValueList<AssignPair> *)sipCpp;
+ TQValueList<AssignPair> *cpplist = (TQValueList<AssignPair> *)sipCpp;
// Get it.
- QValueList<AssignPair>::Iterator it;
+ TQValueList<AssignPair>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
PyObject *inst = NULL;
- QString s = (*it).first;
- QChar c = (*it).second;
- PyObject *pys = sipConvertFromNewType(new QString(s), sipType_QString, sipTransferObj);
- PyObject *pyc = sipConvertFromNewType(new QChar(c), sipType_QChar, sipTransferObj);
+ TQString s = (*it).first;
+ TQChar c = (*it).second;
+ PyObject *pys = sipConvertFromNewType(new TQString(s), sipType_QString, sipTransferObj);
+ PyObject *pyc = sipConvertFromNewType(new TQChar(c), sipType_QChar, sipTransferObj);
if ((pys == NULL) || ((inst = Py_BuildValue ("NN", pys, pyc)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
@@ -256,10 +256,10 @@ typedef QPair<QString,QChar> AssignPair;
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<AssignPair> *cpplist = new QValueList<AssignPair>;
+ TQValueList<AssignPair> *cpplist = new TQValueList<AssignPair>;
- QString *p1;
- QChar *p2;
+ TQString *p1;
+ TQChar *p2;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
@@ -269,8 +269,8 @@ typedef QPair<QString,QChar> AssignPair;
PyObject *elem = PyList_GET_ITEM (sipPy, i);
PyObject *pyp1 = PyTuple_GET_ITEM (elem, 0);
PyObject *pyp2 = PyTuple_GET_ITEM (elem, 1);
- p1 = (QString *)sipForceConvertToType(pyp1, sipType_QString, sipTransferObj, SIP_NOT_NONE, &p1_state, &iserr);
- p2 = (QChar *)sipForceConvertToType(pyp2, sipType_QChar, sipTransferObj, SIP_NOT_NONE, &p2_state, &iserr);
+ p1 = (TQString *)sipForceConvertToType(pyp1, sipType_QString, sipTransferObj, SIP_NOT_NONE, &p1_state, &iserr);
+ p2 = (TQChar *)sipForceConvertToType(pyp2, sipType_QChar, sipTransferObj, SIP_NOT_NONE, &p2_state, &iserr);
if (iserr)
{
diff --git a/sip/khtml/khtmlview.sip b/sip/khtml/khtmlview.sip
index 779416c..67bc258 100644
--- a/sip/khtml/khtmlview.sip
+++ b/sip/khtml/khtmlview.sip
@@ -26,7 +26,7 @@
//ig namespace khtml;
-class KHTMLView : QScrollView
+class KHTMLView : TQScrollView
{
%TypeHeaderCode
#include <khtmlview.h>
@@ -34,7 +34,7 @@ class KHTMLView : QScrollView
public:
- KHTMLView (KHTMLPart*, QWidget* /TransferThis/, const char* = 0);
+ KHTMLView (KHTMLPart*, TQWidget* /TransferThis/, const char* = 0);
KHTMLPart* part () const;
int frameWidth () const;
void setMarginWidth (int);
@@ -82,45 +82,45 @@ signals:
protected:
void clear ();
- virtual void resizeEvent (QResizeEvent*);
- virtual void showEvent (QShowEvent*);
- virtual void hideEvent (QHideEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
+ virtual void showEvent (TQShowEvent*);
+ virtual void hideEvent (TQHideEvent*);
virtual bool focusNextPrevChild (bool);
- virtual void drawContents (QPainter*, int, int, int, int);
- virtual void drawContents (QPainter*);
- virtual void viewportMousePressEvent (QMouseEvent*);
+ virtual void drawContents (TQPainter*, int, int, int, int);
+ virtual void drawContents (TQPainter*);
+ virtual void viewportMousePressEvent (TQMouseEvent*);
%If ( KDE_3_2_0 - )
- virtual void focusInEvent (QFocusEvent*);
+ virtual void focusInEvent (TQFocusEvent*);
%End
- virtual void focusOutEvent (QFocusEvent*);
- virtual void viewportMouseDoubleClickEvent (QMouseEvent*);
- virtual void viewportMouseMoveEvent (QMouseEvent*);
- virtual void viewportMouseReleaseEvent (QMouseEvent*);
+ virtual void focusOutEvent (TQFocusEvent*);
+ virtual void viewportMouseDoubleClickEvent (TQMouseEvent*);
+ virtual void viewportMouseMoveEvent (TQMouseEvent*);
+ virtual void viewportMouseReleaseEvent (TQMouseEvent*);
%If ( KDE_3_1_0 - )
- virtual void viewportResizeEvent (QResizeEvent*);
+ virtual void viewportResizeEvent (TQResizeEvent*);
%End
- virtual void viewportWheelEvent (QWheelEvent*);
- virtual void dragEnterEvent (QDragEnterEvent*);
- virtual void dropEvent (QDropEvent*);
+ virtual void viewportWheelEvent (TQWheelEvent*);
+ virtual void dragEnterEvent (TQDragEnterEvent*);
+ virtual void dropEvent (TQDropEvent*);
%If ( KDE_3_1_0 - )
- virtual void closeEvent (QCloseEvent*);
+ virtual void closeEvent (TQCloseEvent*);
%If ( KDE_3_2_0 - )
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
%End
%End
- void keyPressEvent (QKeyEvent*);
- void keyReleaseEvent (QKeyEvent*);
- void contentsContextMenuEvent (QContextMenuEvent*);
+ void keyPressEvent (TQKeyEvent*);
+ void keyReleaseEvent (TQKeyEvent*);
+ void contentsContextMenuEvent (TQContextMenuEvent*);
void doAutoScroll ();
- void timerEvent (QTimerEvent*);
+ void timerEvent (TQTimerEvent*);
protected slots:
void slotPaletteChanged ();
diff --git a/sip/kio/authinfo.sip b/sip/kio/authinfo.sip
index 0a835a6..0832cd8 100644
--- a/sip/kio/authinfo.sip
+++ b/sip/kio/authinfo.sip
@@ -39,14 +39,14 @@ public:
bool isModified () const;
void setModified (bool);
KURL url;
- QString username;
- QString password;
- QString prompt;
- QString caption;
- QString comment;
- QString commentLabel;
- QString realmValue;
- QString digestInfo;
+ TQString username;
+ TQString password;
+ TQString prompt;
+ TQString caption;
+ TQString comment;
+ TQString commentLabel;
+ TQString realmValue;
+ TQString digestInfo;
bool verifyPath;
bool readOnly;
bool keepPassword;
@@ -57,8 +57,8 @@ protected:
%If ( KDE_3_1_4 - )
-//igx QDataStream& operator << (QDataStream&, const KIO::AuthInfo&);
-//igx QDataStream& operator >> (QDataStream&, KIO::AuthInfo&);
+//igx TQDataStream& operator << (TQDataStream&, const KIO::AuthInfo&);
+//igx TQDataStream& operator >> (TQDataStream&, KIO::AuthInfo&);
%End
@@ -83,10 +83,10 @@ public:
{
public:
- QString type;
- QString machine;
- QString login;
- QString password;
+ TQString type;
+ TQString machine;
+ TQString login;
+ TQString password;
KStringListMap macdef;
}; // class AutoLogin
@@ -94,12 +94,12 @@ public:
public:
static KIO::NetRC* self ();
- bool lookup (const KURL&, KIO::NetRC::AutoLogin&, bool = 0, QString = QString ::null , int = 6);
+ bool lookup (const KURL&, KIO::NetRC::AutoLogin&, bool = 0, TQString = TQString ::null , int = 6);
void reload ();
protected:
-//ig QString extract (const char*, const char*, int&);
- int openf (const QString&);
+//ig TQString extract (const char*, const char*, int&);
+ int openf (const TQString&);
%If ( KDE_3_2_0 - )
bool parse (int);
@@ -125,10 +125,10 @@ protected:
%MappedType KStringListMap
{
-//converts a Python dict of QString:QStringList
+//converts a Python dict of TQString:TQStringList
%TypeHeaderCode
#include <qmap.h>
-typedef QMap<QString, QStringList> KStringListMap;
+typedef TQMap<TQString, TQStringList> KStringListMap;
%End
%ConvertFromTypeCode
@@ -146,12 +146,12 @@ typedef QMap<QString, QStringList> KStringListMap;
// Get it.
- const QMap<QString, QStringList> map = *sipCpp;
- QMap<QString, QStringList>::ConstIterator it;
+ const TQMap<TQString, TQStringList> map = *sipCpp;
+ TQMap<TQString, TQStringList>::ConstIterator it;
for (it = map.begin (); it != map.end (); ++it)
{
- PyObject *sKey = PyString_FromString ((const char *)((QString)it.key ()));
+ PyObject *sKey = PyString_FromString ((const char *)((TQString)it.key ()));
PyObject *sData = sipConvertFromInstance ((void *)&it.data (), sipClass_QStringList, sipTransferObj);
if ((sKey == NULL) || (sData == NULL) || (PyDict_SetItem (dict, sKey, sData) < 0))
@@ -171,19 +171,19 @@ typedef QMap<QString, QStringList> KStringListMap;
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QString, QStringList> *map = new QMap<QString, QStringList>;
+ TQMap<TQString, TQStringList> *map = new TQMap<TQString, TQStringList>;
PyObject *key, *value;
SIP_SSIZE_T pos = 0;
- QString *sKey;
- QStringList *sData;
+ TQString *sKey;
+ TQStringList *sData;
while (PyDict_Next(sipPy, &pos, &key, &value))
{
int iserr = 0, sKey_state, sData_state;
- sKey = (QString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sKey_state, &iserr);
- sData = (QStringList *)sipForceConvertToType(value, sipType_QStringList, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr);
+ sKey = (TQString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sKey_state, &iserr);
+ sData = (TQStringList *)sipForceConvertToType(value, sipType_QStringList, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr);
if (iserr)
{
diff --git a/sip/kio/chmodjob.sip b/sip/kio/chmodjob.sip
index 887a5ff..df93c7a 100644
--- a/sip/kio/chmodjob.sip
+++ b/sip/kio/chmodjob.sip
@@ -50,6 +50,6 @@ protected:
}; // class ChmodJob
-KIO::ChmodJob* chmod (const KFileItemList&, int, int, QString, QString, bool, bool = 1);
+KIO::ChmodJob* chmod (const KFileItemList&, int, int, TQString, TQString, bool, bool = 1);
}; // namespace KIO
diff --git a/sip/kio/connection.sip b/sip/kio/connection.sip
index 67e535f..4b35123 100644
--- a/sip/kio/connection.sip
+++ b/sip/kio/connection.sip
@@ -35,12 +35,12 @@ class Task
public:
int cmd;
- QByteArray data;
+ TQByteArray data;
}; // class Task
-class Connection : QObject
+class Connection : TQObject
{
%TypeHeaderCode
#include <connection.h>
@@ -51,14 +51,14 @@ public:
Connection ();
void init (KSocket*);
void init (int, int);
- void connect (QObject* = 0, const char* = 0);
+ void connect (TQObject* = 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 send (int, const TQByteArray& = TQByteArray ());
+ bool sendnow (int, const TQByteArray&);
+//ig int read (int*, TQByteArray&);
void suspend ();
void resume ();
bool suspended () const;
diff --git a/sip/kio/davjob.sip b/sip/kio/davjob.sip
index ff140b0..3336f86 100644
--- a/sip/kio/davjob.sip
+++ b/sip/kio/davjob.sip
@@ -36,20 +36,20 @@ class DavJob : KIO::TransferJob
public:
- DavJob (const KURL&, int, const QString&, bool);
- QDomDocument& response ();
+ DavJob (const KURL&, int, const TQString&, bool);
+ TQDomDocument& response ();
protected slots:
virtual void slotFinished ();
- virtual void slotData (const QByteArray&);
+ virtual void slotData (const TQByteArray&);
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);
+KIO::DavJob* davPropFind (const KURL&, const TQDomDocument&, TQString, bool = 1);
+KIO::DavJob* davPropPatch (const KURL&, const TQDomDocument&, bool = 1);
+KIO::DavJob* davSearch (const KURL&, const TQString&, const TQString&, const TQString&, bool = 1);
}; // namespace KIO
%End
diff --git a/sip/kio/defaultprogress.sip b/sip/kio/defaultprogress.sip
index 3646086..aedaa56 100644
--- a/sip/kio/defaultprogress.sip
+++ b/sip/kio/defaultprogress.sip
@@ -37,13 +37,13 @@ public:
DefaultProgress (bool = 1);
%If ( KDE_3_1_0 - )
- DefaultProgress (QWidget* /TransferThis/, const char* = 0);
+ DefaultProgress (TQWidget* /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);
+ static TQString makePercentString (ulong, KIO::filesize_t, ulong);
%End
%End
@@ -60,7 +60,7 @@ public slots:
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 slotInfoMessage (KIO::Job*, const TQString&);
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&);
@@ -71,8 +71,8 @@ public slots:
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 slotMounting (KIO::Job*, const TQString&, const TQString&);
+ virtual void slotUnmounting (KIO::Job*, const TQString&);
virtual void slotCanResume (KIO::Job*, KIO::filesize_t);
%If ( KDE_3_1_0 - )
diff --git a/sip/kio/forwardingslavebase.sip b/sip/kio/forwardingslavebase.sip
index 23f3903..18ea824 100644
--- a/sip/kio/forwardingslavebase.sip
+++ b/sip/kio/forwardingslavebase.sip
@@ -28,7 +28,7 @@
namespace KIO
{
-class ForwardingSlaveBase : QObject, KIO::SlaveBase
+class ForwardingSlaveBase : TQObject, KIO::SlaveBase
{
%TypeHeaderCode
#include <forwardingslavebase.h>
@@ -36,7 +36,7 @@ class ForwardingSlaveBase : QObject, KIO::SlaveBase
public:
- ForwardingSlaveBase (const QCString&, const QCString&, const QCString&);
+ ForwardingSlaveBase (const TQCString&, const TQCString&, const TQCString&);
virtual void get (const KURL&);
virtual void put (const KURL&, int, bool, bool);
virtual void stat (const KURL&);
@@ -44,7 +44,7 @@ public:
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 symlink (const TQString&, const KURL&, bool);
virtual void chmod (const KURL&, int);
virtual void copy (const KURL&, const KURL&, int, bool);
virtual void del (const KURL&, bool);
diff --git a/sip/kio/global.sip b/sip/kio/global.sip
index 7f5a13b..e46997a 100644
--- a/sip/kio/global.sip
+++ b/sip/kio/global.sip
@@ -31,24 +31,24 @@ namespace KIO
{
typedef long long fileoffset_t;
typedef unsigned long long filesize_t;
-QString convertSize (KIO::filesize_t);
+TQString convertSize (KIO::filesize_t);
%If ( KDE_3_5_0 - )
-QString convertSizeWithBytes (KIO::filesize_t);
+TQString convertSizeWithBytes (KIO::filesize_t);
%End
-QString number (KIO::filesize_t);
-QString convertSizeFromKB (KIO::filesize_t);
+TQString number (KIO::filesize_t);
+TQString convertSizeFromKB (KIO::filesize_t);
%If ( KDE_3_4_0 - )
uint calculateRemainingSeconds (KIO::filesize_t, KIO::filesize_t, KIO::filesize_t);
-QString convertSeconds (uint);
+TQString 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&);
+TQTime calculateRemaining (KIO::filesize_t, KIO::filesize_t, KIO::filesize_t);
+TQString itemsSummaryString (uint, uint, uint, KIO::filesize_t, bool);
+TQString encodeFileName (const TQString&);
+TQString decodeFileName (const TQString&);
%If ( KDE_3_2_0 - )
@@ -152,18 +152,18 @@ enum Error
ERR_DISK_FULL,
ERR_IDENTICAL_FILES,
ERR_SLAVE_DEFINED,
- ERR_UPGRADE_REQUIRED,
+ ERR_UPGRADE_RETQUIRED,
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);
+TQString buildErrorString (int, const TQString&);
+//ig TQString buildHTMLErrorString (int, const TQString&, const KURL* = 0, int = -1);
+TQByteArray rawErrorDetail (int, const TQString&, const KURL* = 0, int = -1);
%If ( KDE_3_2_0 - )
-QString unsupportedActionErrorString (const QString&, int);
+TQString unsupportedActionErrorString (const TQString&, int);
%If ( KDE_3_5_1 - )
@@ -214,14 +214,14 @@ enum CacheControl
%End
-KIO::CacheControl parseCacheControl (const QString&);
-QString getCacheControlString (KIO::CacheControl);
-QString findDeviceMountPoint (const QString&);
-QString findPathMountPoint (const QString&);
-bool probably_slow_mounted (const QString&);
+KIO::CacheControl parseCacheControl (const TQString&);
+TQString getCacheControlString (KIO::CacheControl);
+TQString findDeviceMountPoint (const TQString&);
+TQString findPathMountPoint (const TQString&);
+bool probably_slow_mounted (const TQString&);
%If ( KDE_3_1_0 - )
-bool manually_mounted (const QString&);
+bool manually_mounted (const TQString&);
%If ( KDE_3_2_0 - )
@@ -234,7 +234,7 @@ enum FileSystemFlag
CaseInsensitive
};
-bool testFileSystemFlag (const QString&, KIO::FileSystemFlag);
+bool testFileSystemFlag (const TQString&, KIO::FileSystemFlag);
%End
%End
@@ -248,16 +248,16 @@ class UDSAtom
public:
- QString m_str;
+ TQString m_str;
long m_long;
uint m_uds;
}; // class UDSAtom
-//ig typedef QValueList<KIO::UDSAtom> UDSEntry;
-//ig typedef QValueList<KIO::UDSEntry> UDSEntryList;
-//ig typedef QValueListIterator<UDSEntry> UDSEntryListIterator;
-//ig typedef QValueListConstIterator<UDSEntry> UDSEntryListConstIterator;
+//ig typedef TQValueList<KIO::UDSAtom> UDSEntry;
+//ig typedef TQValueList<KIO::UDSEntry> UDSEntryList;
+//ig typedef TQValueListIterator<UDSEntry> UDSEntryListIterator;
+//ig typedef TQValueListConstIterator<UDSEntry> UDSEntryListConstIterator;
%If ( KDE_3_4_0 - KDE_3_5_1 )
@@ -450,7 +450,7 @@ enum CacheControl
%End
//force
-//ig typedef QMap<QString,QString> MetaData;
+//ig typedef TQMap<TQString,TQString> MetaData;
//end
}; // namespace KIO
@@ -500,11 +500,11 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KIO::UDSAtom> *cpplist = (QValueList<KIO::UDSAtom> *)sipCpp;
+ TQValueList<KIO::UDSAtom> *cpplist = (TQValueList<KIO::UDSAtom> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KIO::UDSAtom>::Iterator it;
+ TQValueList<KIO::UDSAtom>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KIO::UDSAtom(*it), sipType_KIO_UDSAtom, NULL)) == NULL)
@@ -523,7 +523,7 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KIO::UDSAtom> *cpplist = new QValueList<KIO::UDSAtom>;
+ TQValueList<KIO::UDSAtom> *cpplist = new TQValueList<KIO::UDSAtom>;
PyObject *elem;
KIO::UDSAtom *cpp;
@@ -568,11 +568,11 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KIO::UDSEntry> *cpplist = (QValueList<KIO::UDSEntry> *)sipCpp;
+ TQValueList<KIO::UDSEntry> *cpplist = (TQValueList<KIO::UDSEntry> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KIO::UDSEntry>::Iterator it;
+ TQValueList<KIO::UDSEntry>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
KIO::UDSEntry cpp = *it;
@@ -593,7 +593,7 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KIO::UDSEntry> *cpplist = new QValueList<KIO::UDSEntry>;
+ TQValueList<KIO::UDSEntry> *cpplist = new TQValueList<KIO::UDSEntry>;
PyObject *elem;
KIO::UDSEntry *cpp;
@@ -622,7 +622,7 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
%MappedType KIO::MetaData
-//converts a Python dict of QString, QString
+//converts a Python dict of TQString, TQString
{
%TypeHeaderCode
#include<qmap.h>
@@ -644,17 +644,17 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
// Get it.
- const QMap<QString,QString> cppmap = *sipCpp;
- QMap<QString,QString>::ConstIterator it;
+ const TQMap<TQString,TQString> cppmap = *sipCpp;
+ TQMap<TQString,TQString>::ConstIterator it;
for (it = cppmap.begin (); it != cppmap.end (); ++it)
{
- QString acpp = it.key ();
- QString bcpp = it.data ();
+ TQString acpp = it.key ();
+ TQString bcpp = it.data ();
PyObject *ainst;
PyObject *binst;
- if (((ainst = sipConvertFromNewType(new QString(acpp), sipType_QString, sipTransferObj)) == NULL)
- || ((binst = sipConvertFromNewType(new QString(bcpp), sipType_QString, sipTransferObj)) == NULL)
+ if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_QString, sipTransferObj)) == NULL)
+ || ((binst = sipConvertFromNewType(new TQString(bcpp), sipType_QString, sipTransferObj)) == NULL)
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
Py_XDECREF (ainst);
@@ -669,25 +669,25 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
%ConvertToTypeCode
- // Convert a Python dictionary to a QMap on the heap.
+ // Convert a Python dictionary to a TQMap on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QString,QString> *cppmap = new QMap<QString,QString>;
+ TQMap<TQString,TQString> *cppmap = new TQMap<TQString,TQString>;
PyObject *aelem, *belem;
SIP_SSIZE_T pos = 0;
- QString *acpp;
- QString *bcpp;
+ TQString *acpp;
+ TQString *bcpp;
while (PyDict_Next(sipPy, &pos, &aelem, &belem))
{
int iserr = 0, acpp_state, bcpp_state;
- acpp = (QString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
- bcpp = (QString *)sipForceConvertToType(belem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr);
+ acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
+ bcpp = (TQString *)sipForceConvertToType(belem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr);
if (iserr)
{
diff --git a/sip/kio/job.sip b/sip/kio/job.sip
index 2f6339e..511b625 100644
--- a/sip/kio/job.sip
+++ b/sip/kio/job.sip
@@ -29,20 +29,20 @@ 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* symlink (const TQString&, const KURL&, bool, bool = 1);
+KIO::SimpleJob* special (const KURL&, const TQByteArray&, bool = 1);
+KIO::SimpleJob* mount (bool, const char*, const TQString&, const TQString&, bool = 1);
+KIO::SimpleJob* unmount (const TQString&, 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);
+KIO::TransferJob* http_post (const KURL&, const TQByteArray&, 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);
+KIO::StoredTransferJob* storedPut (const TQByteArray&, const KURL&, int, bool, bool, bool = 1);
%End
KIO::MultiGetJob* multi_get (long, const KURL&, const KIO::MetaData&);
diff --git a/sip/kio/jobclasses.sip b/sip/kio/jobclasses.sip
index c8f257f..e3bceac 100644
--- a/sip/kio/jobclasses.sip
+++ b/sip/kio/jobclasses.sip
@@ -26,7 +26,7 @@
namespace KIO
{
-class Job : QObject
+class Job : TQObject
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -40,11 +40,11 @@ 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);
+ const TQString& errorText ();
+ TQString errorString ();
+ TQStringList detailedErrorStrings (const KURL* = 0, int = -1) const;
+ void showErrorDialog (TQWidget* = 0);
+ void setAutoErrorHandlingEnabled (bool, TQWidget* = 0);
bool isAutoErrorHandlingEnabled () const;
%If ( KDE_3_5_0 - )
@@ -58,8 +58,8 @@ public:
bool isInteractive () const;
%End
- void setWindow (QWidget*);
- QWidget* window () const;
+ void setWindow (TQWidget*);
+ TQWidget* window () const;
%If ( KDE_3_1_0 - )
void setParentJob (KIO::Job*);
@@ -67,12 +67,12 @@ public:
%End
void setMetaData (const KIO::MetaData&);
- void addMetaData (const QString&, const QString&);
- void addMetaData (const QMap<QString,QString>&);
- void mergeMetaData (const QMap<QString,QString>&);
+ void addMetaData (const TQString&, const TQString&);
+ void addMetaData (const TQMap<TQString,TQString>&);
+ void mergeMetaData (const TQMap<TQString,TQString>&);
KIO::MetaData outgoingMetaData () const;
KIO::MetaData metaData () const;
- QString queryMetaData (const QString&);
+ TQString queryMetaData (const TQString&);
%If ( KDE_3_2_0 - )
KIO::filesize_t getProcessedSize ();
@@ -82,10 +82,10 @@ public:
signals:
void result (KIO::Job*);
void canceled (KIO::Job*);
- void infoMessage (KIO::Job*, const QString&);
+ void infoMessage (KIO::Job*, const TQString&);
%If ( KDE_3_5_0 - )
- void warning (KIO::Job*, const QString&);
+ void warning (KIO::Job*, const TQString&);
%End
void connected (KIO::Job*);
@@ -97,7 +97,7 @@ signals:
protected slots:
virtual void slotResult (KIO::Job*);
void slotSpeed (KIO::Job*, ulong);
- void slotInfoMessage (KIO::Job*, const QString&);
+ void slotInfoMessage (KIO::Job*, const TQString&);
void slotSpeedTimeout ();
protected:
@@ -146,7 +146,7 @@ class SimpleJob : KIO::Job
public:
- SimpleJob (const KURL&, int, const QByteArray&, bool);
+ SimpleJob (const KURL&, int, const TQByteArray&, bool);
const KURL& url () const;
virtual void kill (bool = 1);
virtual void putOnHold ();
@@ -165,15 +165,15 @@ public slots:
protected slots:
virtual void slotFinished ();
- void slotWarning (const QString&);
- void slotInfoMessage (const QString&);
+ void slotWarning (const TQString&);
+ void slotInfoMessage (const TQString&);
void slotConnected ();
void slotProcessedSize (KIO::filesize_t);
void slotSpeed (ulong);
virtual void slotMetaData (const KIO::MetaData&);
public slots:
- virtual void slotError (int, const QString&);
+ virtual void slotError (int, const TQString&);
protected slots:
void slotNeedProgressId ();
@@ -206,7 +206,7 @@ class StatJob : KIO::SimpleJob
public:
- StatJob (const KURL&, int, const QByteArray&, bool);
+ StatJob (const KURL&, int, const TQByteArray&, bool);
void setSide (bool);
void setDetails (short);
const KIO::UDSEntry& statResult () const;
@@ -248,7 +248,7 @@ class MkdirJob : KIO::SimpleJob
public:
- MkdirJob (const KURL&, int, const QByteArray&, bool);
+ MkdirJob (const KURL&, int, const TQByteArray&, bool);
virtual void start (KIO::Slave*);
signals:
@@ -279,7 +279,7 @@ class DirectCopyJob : KIO::SimpleJob
public:
- DirectCopyJob (const KURL&, int, const QByteArray&, bool);
+ DirectCopyJob (const KURL&, int, const TQByteArray&, bool);
virtual void start (KIO::Slave*);
signals:
@@ -298,7 +298,7 @@ class TransferJob : KIO::SimpleJob
public:
- TransferJob (const KURL&, int, const QByteArray&, const QByteArray&, bool);
+ TransferJob (const KURL&, int, const TQByteArray&, const TQByteArray&, bool);
virtual void start (KIO::Slave*);
virtual void slotResult (KIO::Job*);
void suspend ();
@@ -308,32 +308,32 @@ public:
%If ( KDE_3_2_0 - )
void setAsyncDataEnabled (bool);
- void sendAsyncData (const QByteArray&);
+ void sendAsyncData (const TQByteArray&);
void setReportDataSent (bool);
bool reportDataSent ();
%End
signals:
- void data (KIO::Job*, const QByteArray&);
- void dataReq (KIO::Job*, QByteArray&);
+ void data (KIO::Job*, const TQByteArray&);
+ void dataReq (KIO::Job*, TQByteArray&);
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 mimetype (KIO::Job*, const TQString&);
void canResume (KIO::Job*, KIO::filesize_t);
protected slots:
virtual void slotRedirection (const KURL&);
virtual void slotFinished ();
- virtual void slotData (const QByteArray&);
+ virtual void slotData (const TQByteArray&);
virtual void slotDataReq ();
- virtual void slotMimetype (const QString&);
+ virtual void slotMimetype (const TQString&);
virtual void slotNeedSubURLData ();
- virtual void slotSubURLData (KIO::Job*, const QByteArray&);
+ virtual void slotSubURLData (KIO::Job*, const TQByteArray&);
%If ( KDE_3_2_0 - )
virtual void slotMetaData (const KIO::MetaData&);
@@ -365,9 +365,9 @@ class StoredTransferJob : KIO::TransferJob
public:
- StoredTransferJob (const KURL&, int, const QByteArray&, const QByteArray&, bool);
- void setData (const QByteArray&);
- QByteArray data () const;
+ StoredTransferJob (const KURL&, int, const TQByteArray&, const TQByteArray&, bool);
+ void setData (const TQByteArray&);
+ TQByteArray data () const;
}; // class StoredTransferJob
@@ -387,15 +387,15 @@ public:
void get (long, const KURL&, const KIO::MetaData&);
signals:
- void data (long, const QByteArray&);
- void mimetype (long, const QString&);
+ void data (long, const TQByteArray&);
+ void mimetype (long, const TQString&);
void result (long);
protected slots:
virtual void slotRedirection (const KURL&);
virtual void slotFinished ();
- virtual void slotData (const QByteArray&);
- virtual void slotMimetype (const QString&);
+ virtual void slotData (const TQByteArray&);
+ virtual void slotMimetype (const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -411,8 +411,8 @@ class MimetypeJob : KIO::TransferJob
public:
- MimetypeJob (const KURL&, int, const QByteArray&, bool);
- QString mimetype () const;
+ MimetypeJob (const KURL&, int, const TQByteArray&, bool);
+ TQString mimetype () const;
virtual void start (KIO::Slave*);
protected slots:
@@ -449,8 +449,8 @@ public:
public slots:
void slotStart ();
- void slotData (KIO::Job*, const QByteArray&);
- void slotDataReq (KIO::Job*, QByteArray&);
+ void slotData (KIO::Job*, const TQByteArray&);
+ void slotDataReq (KIO::Job*, TQByteArray&);
protected slots:
virtual void slotResult (KIO::Job*);
@@ -486,7 +486,7 @@ class ListJob : KIO::SimpleJob
public:
- ListJob (const KURL&, bool, bool = 0, QString = QString ::null , bool = 1);
+ ListJob (const KURL&, bool, bool = 0, TQString = TQString ::null , bool = 1);
virtual void start (KIO::Slave*);
%If ( KDE_3_4_3 - )
@@ -536,7 +536,7 @@ class CopyInfo
public:
KURL uSource;
KURL uDest;
- QString linkDest;
+ TQString linkDest;
mode_t permissions;
time_t ctime;
time_t mtime;
@@ -580,18 +580,18 @@ signals:
void totalDirs (KIO::Job*, ulong);
%If ( KDE_3_2_0 - )
- void aboutToCreate (KIO::Job*, const QValueList<KIO::CopyInfo>&);
+ void aboutToCreate (KIO::Job*, const TQValueList<KIO::CopyInfo>&);
%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 linking (KIO::Job*, const TQString&, 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&);
+ void copyingLinkDone (KIO::Job*, const KURL&, const TQString&, const KURL&);
protected:
@@ -679,7 +679,7 @@ protected:
-%MappedType QValueList<KIO::CopyInfo>
+%MappedType TQValueList<KIO::CopyInfo>
//converts a Python list of KIO::CopyInfo
{
%TypeHeaderCode
@@ -695,11 +695,11 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KIO::CopyInfo> *cpplist = (QValueList<KIO::CopyInfo> *)sipCpp;
+ TQValueList<KIO::CopyInfo> *cpplist = (TQValueList<KIO::CopyInfo> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KIO::CopyInfo>::Iterator it;
+ TQValueList<KIO::CopyInfo>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KIO::CopyInfo(*it), sipType_KIO_CopyInfo, NULL)) == NULL)
@@ -718,7 +718,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KIO::CopyInfo> *cpplist = new QValueList<KIO::CopyInfo>;
+ TQValueList<KIO::CopyInfo> *cpplist = new TQValueList<KIO::CopyInfo>;
PyObject *elem;
KIO::CopyInfo *cpp;
diff --git a/sip/kio/kacl.sip b/sip/kio/kacl.sip
index d7d7fe2..8997ce3 100644
--- a/sip/kio/kacl.sip
+++ b/sip/kio/kacl.sip
@@ -34,7 +34,7 @@ class KACL
public:
- KACL (const QString&);
+ KACL (const TQString&);
KACL (const KACL&);
KACL (mode_t);
KACL ();
@@ -51,16 +51,16 @@ public:
bool isExtended () const;
ushort maskPermissions (bool&) const;
bool setMaskPermissions (ushort);
- ushort namedUserPermissions (const QString&, bool*) const;
- bool setNamedUserPermissions (const QString&, ushort);
+ ushort namedUserPermissions (const TQString&, bool*) const;
+ bool setNamedUserPermissions (const TQString&, ushort);
ACLUserPermissionsList allUserPermissions () const;
bool setAllUserPermissions (const ACLUserPermissionsList&);
- ushort namedGroupPermissions (const QString&, bool*) const;
- bool setNamedGroupPermissions (const QString&, ushort);
+ ushort namedGroupPermissions (const TQString&, bool*) const;
+ bool setNamedGroupPermissions (const TQString&, ushort);
ACLGroupPermissionsList allGroupPermissions () const;
bool setAllGroupPermissions (const ACLGroupPermissionsList&);
- bool setACL (const QString&);
- QString asString () const;
+ bool setACL (const TQString&);
+ TQString asString () const;
protected:
virtual void virtual_hook (int, void*);
@@ -71,24 +71,24 @@ protected:
%If ( KDE_3_5_0 - )
-typedef QPair<QString,unsigned short> ACLUserPermissions;
-typedef QValueList<ACLUserPermissions> ACLUserPermissionsList;
-//igx typedef QValueListIterator<ACLUserPermissions> ACLUserPermissionsIterator;
-//igx typedef QValueListConstIterator<ACLUserPermissions> ACLUserPermissionsConstIterator;
-//igx typedef QPair<QString,unsigned short> ACLGroupPermissions;
-//igx typedef QValueList<ACLGroupPermissions> ACLGroupPermissionsList;
-//igx typedef QValueListIterator<ACLGroupPermissions> ACLGroupPermissionsIterator;
-//igx typedef QValueListConstIterator<ACLGroupPermissions> ACLGroupPermissionsConstIterator;
-//igx QDataStream& operator << (QDataStream&, const KACL&);
-//igx QDataStream& operator >> (QDataStream&, KACL&);
+typedef TQPair<TQString,unsigned short> ACLUserPermissions;
+typedef TQValueList<ACLUserPermissions> ACLUserPermissionsList;
+//igx typedef TQValueListIterator<ACLUserPermissions> ACLUserPermissionsIterator;
+//igx typedef TQValueListConstIterator<ACLUserPermissions> ACLUserPermissionsConstIterator;
+//igx typedef TQPair<TQString,unsigned short> ACLGroupPermissions;
+//igx typedef TQValueList<ACLGroupPermissions> ACLGroupPermissionsList;
+//igx typedef TQValueListIterator<ACLGroupPermissions> ACLGroupPermissionsIterator;
+//igx typedef TQValueListConstIterator<ACLGroupPermissions> ACLGroupPermissionsConstIterator;
+//igx TQDataStream& operator << (TQDataStream&, const KACL&);
+//igx TQDataStream& operator >> (TQDataStream&, KACL&);
//force
typedef ACLUserPermissionsList ACLGroupPermissionsList;
//end
%End
-%MappedType QValueList<ACLUserPermissions>
-//converts a Python list of ACLUserPermissions tuples (QString, int)
+%MappedType TQValueList<ACLUserPermissions>
+//converts a Python list of ACLUserPermissions tuples (TQString, int)
{
%TypeHeaderCode
#include <qvaluelist.h>
@@ -105,16 +105,16 @@ typedef ACLUserPermissionsList ACLGroupPermissionsList;
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<ACLUserPermissions> *cpplist = (QValueList<ACLUserPermissions> *)sipCpp;
+ TQValueList<ACLUserPermissions> *cpplist = (TQValueList<ACLUserPermissions> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<ACLUserPermissions>::Iterator it;
+ TQValueList<ACLUserPermissions>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- QString s = (*it).first;
+ TQString s = (*it).first;
ushort u = (*it).second;
- PyObject *pys = sipConvertFromNewType(new QString(s), sipType_QString, sipTransferObj);
+ PyObject *pys = sipConvertFromNewType(new TQString(s), sipType_QString, sipTransferObj);
if ((pys == NULL) || ((inst = Py_BuildValue ("Ni", pys, u)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
@@ -133,9 +133,9 @@ typedef ACLUserPermissionsList ACLGroupPermissionsList;
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<ACLUserPermissions> *cpplist = new QValueList<ACLUserPermissions>;
+ TQValueList<ACLUserPermissions> *cpplist = new TQValueList<ACLUserPermissions>;
- QString *p1;
+ TQString *p1;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
@@ -144,7 +144,7 @@ typedef ACLUserPermissionsList ACLGroupPermissionsList;
PyObject *elem = PyList_GET_ITEM (sipPy, i);
PyObject *pyp1 = PyTuple_GET_ITEM (elem, 0);
- p1 = (QString *)sipForceConvertToType(pyp1, sipType_QString, sipTransferObj, SIP_NOT_NONE, &p1_state, &iserr);
+ p1 = (TQString *)sipForceConvertToType(pyp1, sipType_QString, sipTransferObj, SIP_NOT_NONE, &p1_state, &iserr);
if (iserr)
{
diff --git a/sip/kio/kar.sip b/sip/kio/kar.sip
index 08560f2..59eca9b 100644
--- a/sip/kio/kar.sip
+++ b/sip/kio/kar.sip
@@ -34,12 +34,12 @@ class KAr : KArchive
public:
- KAr (const QString&);
- KAr (QIODevice*);
- QString fileName ();
- virtual bool prepareWriting (const QString&, const QString&, const QString&, uint);
+ KAr (const TQString&);
+ KAr (TQIODevice*);
+ TQString fileName ();
+ virtual bool prepareWriting (const TQString&, const TQString&, const TQString&, uint);
virtual bool doneWriting (uint);
- virtual bool writeDir (const QString&, const QString&, const QString&);
+ virtual bool writeDir (const TQString&, const TQString&, const TQString&);
protected:
virtual bool openArchive (int);
diff --git a/sip/kio/karchive.sip b/sip/kio/karchive.sip
index 45c634b..def99a0 100644
--- a/sip/kio/karchive.sip
+++ b/sip/kio/karchive.sip
@@ -32,7 +32,7 @@ class KArchive
protected:
- KArchive (QIODevice*);
+ KArchive (TQIODevice*);
public:
virtual bool open (int);
@@ -44,31 +44,31 @@ public:
bool isOpened () const;
int mode () const;
- QIODevice* device () const;
+ TQIODevice* device () const;
const KArchiveDirectory* directory () const;
%If ( KDE_3_2_0 - )
- bool addLocalFile (const QString&, const QString&);
- bool addLocalDirectory (const QString&, const QString&);
+ bool addLocalFile (const TQString&, const TQString&);
+ bool addLocalDirectory (const TQString&, const TQString&);
%End
- virtual bool writeDir (const QString&, const QString&, const QString&) = 0;
+ virtual bool writeDir (const TQString&, const TQString&, const TQString&) = 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);
+ bool writeDir (const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
+ bool writeSymLink (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
%End
- virtual bool writeFile (const QString&, const QString&, const QString&, uint, const char*);
+ virtual bool writeFile (const TQString&, const TQString&, const TQString&, 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*);
+ bool writeFile (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t, const char*);
%End
- virtual bool prepareWriting (const QString&, const QString&, const QString&, uint) = 0;
+ virtual bool prepareWriting (const TQString&, const TQString&, const TQString&, 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 prepareWriting (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
bool writeData (const char*, uint);
%End
@@ -78,18 +78,18 @@ protected:
virtual bool openArchive (int) = 0;
virtual bool closeArchive () = 0;
virtual KArchiveDirectory* rootDir ();
- KArchiveDirectory* findOrCreate (const QString&);
- void setDevice (QIODevice*);
+ KArchiveDirectory* findOrCreate (const TQString&);
+ void setDevice (TQIODevice*);
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 prepareWriting_impl (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
+ bool writeFile_impl (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t, const char*);
+ bool writeDir_impl (const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
+ bool writeSymLink_impl (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
bool writeData_impl (const char*, uint);
%End
@@ -112,14 +112,14 @@ class KArchiveEntry
public:
- KArchiveEntry (KArchive*, const QString&, int, int, const QString&, const QString&, const QString&);
- QDateTime datetime () const;
+ KArchiveEntry (KArchive*, const TQString&, int, int, const TQString&, const TQString&, const TQString&);
+ TQDateTime datetime () const;
int date () const;
- QString name () const;
+ TQString name () const;
mode_t permissions () const;
- QString user () const;
- QString group () const;
- QString symlink () const;
+ TQString user () const;
+ TQString group () const;
+ TQString symlink () const;
virtual bool isFile () const;
virtual bool isDirectory () const;
@@ -140,7 +140,7 @@ class KArchiveFile : KArchiveEntry
public:
- KArchiveFile (KArchive*, const QString&, int, int, const QString&, const QString&, const QString&, int, int);
+ KArchiveFile (KArchive*, const TQString&, int, int, const TQString&, const TQString&, const TQString&, int, int);
int position () const;
int size () const;
@@ -148,12 +148,12 @@ public:
void setSize (int);
%End
- virtual QByteArray data () const;
- QIODevice* device () const;
+ virtual TQByteArray data () const;
+ TQIODevice* device () const;
virtual bool isFile () const;
%If ( KDE_3_1_0 - )
- void copyTo (const QString&) const;
+ void copyTo (const TQString&) const;
%End
@@ -171,14 +171,14 @@ class KArchiveDirectory : KArchiveEntry
public:
- KArchiveDirectory (KArchive*, const QString&, int, int, const QString&, const QString&, const QString&);
- QStringList entries () const;
- KArchiveEntry* entry (QString);
+ KArchiveDirectory (KArchive*, const TQString&, int, int, const TQString&, const TQString&, const TQString&);
+ TQStringList entries () const;
+ KArchiveEntry* entry (TQString);
void addEntry (KArchiveEntry*);
virtual bool isDirectory () const;
%If ( KDE_3_1_0 - )
- void copyTo (const QString&, bool = 1) const;
+ void copyTo (const TQString&, bool = 1) const;
%End
diff --git a/sip/kio/kautomount.sip b/sip/kio/kautomount.sip
index 5a41740..924d670 100644
--- a/sip/kio/kautomount.sip
+++ b/sip/kio/kautomount.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAutoMount : QObject
+class KAutoMount : TQObject
{
%TypeHeaderCode
#include <kautomount.h>
@@ -32,7 +32,7 @@ class KAutoMount : QObject
public:
- KAutoMount (bool, const QString&, const QString&, const QString&, const QString&, bool = 1);
+ KAutoMount (bool, const TQString&, const TQString&, const TQString&, const TQString&, bool = 1);
signals:
void finished ();
@@ -51,7 +51,7 @@ private:
}; // class KAutoMount
-class KAutoUnmount : QObject
+class KAutoUnmount : TQObject
{
%TypeHeaderCode
#include <kautomount.h>
@@ -59,7 +59,7 @@ class KAutoUnmount : QObject
public:
- KAutoUnmount (const QString&, const QString&);
+ KAutoUnmount (const TQString&, const TQString&);
signals:
void finished ();
diff --git a/sip/kio/kdatatool.sip b/sip/kio/kdatatool.sip
index 3473e4d..8395429 100644
--- a/sip/kio/kdatatool.sip
+++ b/sip/kio/kdatatool.sip
@@ -35,19 +35,19 @@ public:
KDataToolInfo ();
KDataToolInfo (const KService::Ptr&, KInstance*);
KDataToolInfo (const KDataToolInfo&);
- QString dataType () const;
- QStringList mimeTypes () const;
+ TQString dataType () const;
+ TQStringList 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;
+ TQPixmap icon () const;
+ TQPixmap miniIcon () const;
+ TQString iconName () const;
+ TQStringList userCommands () const;
+ TQStringList commands () const;
+ KDataTool* createTool (TQObject* /Transfer/ = 0, const char* = 0) const;
KService::Ptr service () const;
KInstance* instance () const;
bool isValid () const;
- static QValueList<KDataToolInfo> query (const QString&, const QString&, KInstance*);
+ static TQValueList<KDataToolInfo> query (const TQString&, const TQString&, KInstance*);
}; // class KDataToolInfo
@@ -60,11 +60,11 @@ class KDataToolAction : KAction
public:
- KDataToolAction (const QString&, const KDataToolInfo&, const QString&, QObject* /TransferThis/ = 0, const char* = 0);
- static QPtrList<KAction> dataToolActionList (const QValueList<KDataToolInfo>&, const QObject*, const char*);
+ KDataToolAction (const TQString&, const KDataToolInfo&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0);
+ static TQPtrList<KAction> dataToolActionList (const TQValueList<KDataToolInfo>&, const TQObject*, const char*);
signals:
- void toolActivated (const KDataToolInfo&, const QString&);
+ void toolActivated (const KDataToolInfo&, const TQString&);
protected:
virtual void slotActivated ();
@@ -75,7 +75,7 @@ protected:
}; // class KDataToolAction
-class KDataTool : QObject
+class KDataTool : TQObject
{
%TypeHeaderCode
#include <kdatatool.h>
@@ -83,10 +83,10 @@ class KDataTool : QObject
public:
- KDataTool (QObject* /TransferThis/ = 0, const char* = 0);
+ KDataTool (TQObject* /TransferThis/ = 0, const char* = 0);
void setInstance (KInstance*);
KInstance* instance () const;
- virtual bool run (const QString&, void*, const QString&, const QString&) = 0;
+ virtual bool run (const TQString&, void*, const TQString&, const TQString&) = 0;
protected:
//igx virtual void virtual_hook (int, void*);
@@ -95,7 +95,7 @@ protected:
-%MappedType QValueList<KDataToolInfo>
+%MappedType TQValueList<KDataToolInfo>
//converts a Python list of KDataToolInfo
{
%TypeHeaderCode
@@ -117,11 +117,11 @@ protected:
// Get it.
- QValueList<KDataToolInfo> *dlist = (QValueList<KDataToolInfo> *)sipCpp;
+ TQValueList<KDataToolInfo> *dlist = (TQValueList<KDataToolInfo> *)sipCpp;
PyObject *inst;
- QValueList<KDataToolInfo>::Iterator it;
+ TQValueList<KDataToolInfo>::Iterator it;
for( it = dlist->begin(); it != dlist->end(); ++it )
{
if ((inst = sipConvertFromNewType(new KDataToolInfo(*it), sipType_KDataToolInfo, NULL)) == NULL
@@ -142,7 +142,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KDataToolInfo> *dList = new QValueList<KDataToolInfo>;
+ TQValueList<KDataToolInfo> *dList = new TQValueList<KDataToolInfo>;
PyObject *elem;
KDataToolInfo *d;
diff --git a/sip/kio/kdcopservicestarter.sip b/sip/kio/kdcopservicestarter.sip
index fd1684c..ec9bf56 100644
--- a/sip/kio/kdcopservicestarter.sip
+++ b/sip/kio/kdcopservicestarter.sip
@@ -35,8 +35,8 @@ class KDCOPServiceStarter
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);
+ int findServiceFor (const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , TQString* = 0, TQCString* = 0, int = 0);
+ virtual int startServiceFor (const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , TQString* = 0, TQCString* = 0, int = 0);
protected:
KDCOPServiceStarter ();
diff --git a/sip/kio/kdirlister.sip b/sip/kio/kdirlister.sip
index 1526279..e48bea0 100644
--- a/sip/kio/kdirlister.sip
+++ b/sip/kio/kdirlister.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDirLister : QObject
+class KDirLister : TQObject
{
%TypeHeaderCode
#include <kdirlister.h>
@@ -39,7 +39,7 @@ public:
bool autoUpdate () const;
virtual void setAutoUpdate (bool);
bool autoErrorHandlingEnabled () const;
- void setAutoErrorHandlingEnabled (bool, QWidget* /Transfer/);
+ void setAutoErrorHandlingEnabled (bool, TQWidget* /Transfer/);
bool showingDotFiles () const;
virtual void setShowingDotFiles (bool);
bool dirOnlyMode () const;
@@ -56,23 +56,23 @@ public:
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&);
+ virtual KFileItem* findByName (const TQString&) const;
+ virtual void setNameFilter (const TQString&);
+ const TQString& nameFilter () const;
+ virtual void setMimeFilter (const TQStringList&);
%If ( KDE_3_1_0 - )
- void setMimeExcludeFilter (const QStringList&);
+ void setMimeExcludeFilter (const TQStringList&);
%End
virtual void clearMimeFilter ();
- const QStringList& mimeFilters () const;
- bool matchesFilter (const QString&) const;
- bool matchesMimeFilter (const QString&) const;
+ const TQStringList& mimeFilters () const;
+ bool matchesFilter (const TQString&) const;
+ bool matchesMimeFilter (const TQString&) const;
%If ( KDE_3_1_0 - )
- void setMainWindow (QWidget*);
- QWidget* mainWindow ();
+ void setMainWindow (TQWidget*);
+ TQWidget* mainWindow ();
enum WhichItems
{
@@ -99,7 +99,7 @@ signals:
void itemsFilteredByMime (const KFileItemList&);
void deleteItem (KFileItem*);
void refreshItems (const KFileItemList&);
- void infoMessage (const QString&);
+ void infoMessage (const TQString&);
void percent (int);
void totalSize (KIO::filesize_t);
void processedSize (KIO::filesize_t);
@@ -108,11 +108,11 @@ signals:
protected:
virtual bool matchesFilter (const KFileItem*) const;
virtual bool matchesMimeFilter (const KFileItem*) const;
- virtual bool doNameFilter (const QString&, const QPtrList<QRegExp>&) const;
- virtual bool doMimeFilter (const QString&, const QStringList&) const;
+ virtual bool doNameFilter (const TQString&, const TQPtrList<TQRegExp>&) const;
+ virtual bool doMimeFilter (const TQString&, const TQStringList&) const;
%If ( KDE_3_1_0 - )
- bool doMimeExcludeFilter (const QString&, const QStringList&) const;
+ bool doMimeExcludeFilter (const TQString&, const TQStringList&) const;
%End
virtual bool validURL (const KURL&) const;
@@ -145,7 +145,7 @@ protected:
// Get it.
- QPtrList<KFileItem> *cpplist = (QPtrList<KFileItem> *)sipCpp;
+ TQPtrList<KFileItem> *cpplist = (TQPtrList<KFileItem> *)sipCpp;
KFileItem *cpp;
PyObject *inst;
@@ -167,7 +167,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KFileItem> *cpplist = new QPtrList<KFileItem>;
+ TQPtrList<KFileItem> *cpplist = new TQPtrList<KFileItem>;
PyObject *elem;
KFileItem *cpp;
@@ -195,8 +195,8 @@ protected:
};
-%MappedType QPtrList<QRegExp>
-//converts a Python list of QRegExp
+%MappedType TQPtrList<TQRegExp>
+//converts a Python list of TQRegExp
{
%TypeHeaderCode
#include <qregexp.h>
@@ -215,8 +215,8 @@ protected:
// Get it.
- QPtrList<QRegExp> *cpplist = (QPtrList<QRegExp> *)sipCpp;
- QRegExp *cpp;
+ TQPtrList<TQRegExp> *cpplist = (TQPtrList<TQRegExp> *)sipCpp;
+ TQRegExp *cpp;
PyObject *inst;
// the loop depends on the type of iterator the tmeplate makes available
@@ -237,16 +237,16 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<QRegExp> *cpplist = new QPtrList<QRegExp>;
+ TQPtrList<TQRegExp> *cpplist = new TQPtrList<TQRegExp>;
PyObject *elem;
- QRegExp *cpp;
+ TQRegExp *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (QRegExp *)sipForceConvertToType(elem, sipType_QRegExp, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TQRegExp *)sipForceConvertToType(elem, sipType_QRegExp, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
diff --git a/sip/kio/kdirnotify.sip b/sip/kio/kdirnotify.sip
index 1f3fbb9..2fc96d0 100644
--- a/sip/kio/kdirnotify.sip
+++ b/sip/kio/kdirnotify.sip
@@ -34,9 +34,9 @@ class KDirNotify : DCOPObject
public:
%If ( KDE_3_1_4 - )
- virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&);
- QCStringList functions ();
- QCStringList interfaces ();
+ virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
+ TQCStringList functions ();
+ TQCStringList interfaces ();
%End
diff --git a/sip/kio/kdirwatch.sip b/sip/kio/kdirwatch.sip
index 41867dd..d94b9fb 100644
--- a/sip/kio/kdirwatch.sip
+++ b/sip/kio/kdirwatch.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDirWatch : QObject
+class KDirWatch : TQObject
{
%TypeHeaderCode
#include <kdirwatch.h>
@@ -32,22 +32,22 @@ class KDirWatch : QObject
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&);
+ KDirWatch (TQObject* /TransferThis/ = 0, const char* = 0);
+ void addDir (const TQString&, bool = 0, bool = 0);
+ void addFile (const TQString&);
+ TQDateTime ctime (const TQString&);
+ void removeDir (const TQString&);
+ void removeFile (const TQString&);
+ bool stopDirScan (const TQString&);
+ bool restartDirScan (const TQString&);
void startScan (bool = 0, bool = 0);
void stopScan ();
bool isStopped ();
- bool contains (const QString&) const;
+ bool contains (const TQString&) const;
static void statistics ();
- void setCreated (const QString&);
- void setDirty (const QString&);
- void setDeleted (const QString&);
+ void setCreated (const TQString&);
+ void setDirty (const TQString&);
+ void setDeleted (const TQString&);
%If ( KDE_3_5_1 - )
@@ -74,9 +74,9 @@ public:
signals:
- void dirty (const QString&);
- void created (const QString&);
- void deleted (const QString&);
+ void dirty (const TQString&);
+ void created (const TQString&);
+ void deleted (const TQString&);
public:
diff --git a/sip/kio/kemailsettings.sip b/sip/kio/kemailsettings.sip
index 8041d0b..95c9930 100644
--- a/sip/kio/kemailsettings.sip
+++ b/sip/kio/kemailsettings.sip
@@ -64,19 +64,19 @@ public:
};
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&);
+ TQStringList profiles () const;
+ TQString currentProfileName () const;
+ void setProfile (const TQString&);
+ TQString defaultProfileName () const;
+ void setDefault (const TQString&);
+ TQString getSetting (KEMailSettings::Setting);
+ void setSetting (KEMailSettings::Setting, const TQString&);
public:
%If ( - KDE_3_2_0 )
-//ig QString getExtendedSetting (KEMailSettings::Extension, const QString&);
-//ig void setExtendedSetting (KEMailSettings::Extension, const QString&, const QString&);
+//ig TQString getExtendedSetting (KEMailSettings::Extension, const TQString&);
+//ig void setExtendedSetting (KEMailSettings::Extension, const TQString&, const TQString&);
%End
diff --git a/sip/kio/kfilefilter.sip b/sip/kio/kfilefilter.sip
index cbe6561..481f004 100644
--- a/sip/kio/kfilefilter.sip
+++ b/sip/kio/kfilefilter.sip
@@ -55,12 +55,12 @@ public:
bool filterSpecials () const;
%If ( KDE_3_1_0 - )
- void setNameFilters (const QString&, bool, const QChar& = ' ');
+ void setNameFilters (const TQString&, bool, const TQChar& = ' ');
%End
- virtual void setNameFilters (const QString&);
- virtual void setMimeFilters (const QStringList&);
- QStringList mimeFilters () const;
+ virtual void setNameFilters (const TQString&);
+ virtual void setMimeFilters (const TQStringList&);
+ TQStringList mimeFilters () const;
virtual void setModeFilter (mode_t);
mode_t modeFilter () const;
virtual bool passesFilter (const KFileItem*) const;
@@ -73,7 +73,7 @@ protected:
public:
%If ( - KDE_3_2_0 )
-//ig QString nameFilters () const;
+//ig TQString nameFilters () const;
%End
diff --git a/sip/kio/kfileitem.sip b/sip/kio/kfileitem.sip
index 3bba31c..985efdf 100644
--- a/sip/kio/kfileitem.sip
+++ b/sip/kio/kfileitem.sip
@@ -40,7 +40,7 @@ public:
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 KURL&, const TQString&, mode_t);
KFileItem (const KFileItem&);
void refresh ();
void refreshMimeType ();
@@ -48,11 +48,11 @@ public:
void setURL (const KURL&);
%If ( KDE_3_2_0 - )
- void setName (const QString&);
+ void setName (const TQString&);
%End
mode_t permissions () const;
- QString permissionsString () const;
+ TQString permissionsString () const;
%If ( KDE_3_5_0 - )
bool hasExtendedACL () const;
@@ -61,8 +61,8 @@ public:
%End
mode_t mode () const;
- QString user () const;
- QString group () const;
+ TQString user () const;
+ TQString group () const;
bool isLink () const;
bool isDir () const;
bool isFile () const;
@@ -77,10 +77,10 @@ public:
bool isHidden () const;
%End
- QString linkDest () const;
+ TQString linkDest () const;
%If ( KDE_3_4_0 - )
- QString localPath () const;
+ TQString localPath () const;
%End
KIO::filesize_t size () const;
@@ -95,20 +95,20 @@ public:
time_t time (uint, bool& /Out/) const /PyName=timeAndHasTime/;
%End
- QString timeString (uint = KIO ::UDS_MODIFICATION_TIME ) const;
+ TQString timeString (uint = KIO ::UDS_MODIFICATION_TIME ) const;
bool isLocalFile () const;
- const QString& text () const;
- const QString& name (bool = 0) const;
- QString mimetype () const;
+ const TQString& text () const;
+ const TQString& name (bool = 0) const;
+ TQString mimetype () const;
KMimeType::Ptr determineMimeType ();
KMimeType::Ptr mimeTypePtr ();
bool isMimeTypeKnown () const;
- QString mimeComment ();
- QString iconName ();
- QPixmap pixmap (int, int = 0) const;
+ TQString mimeComment ();
+ TQString iconName ();
+ TQPixmap pixmap (int, int = 0) const;
int overlays () const;
- QString getStatusBarInfo ();
- QString getToolTipText (int = 6);
+ TQString getStatusBarInfo ();
+ TQString getToolTipText (int = 6);
bool acceptsDrops ();
void run ();
const KIO::UDSEntry& entry () const;
@@ -123,7 +123,7 @@ public:
%If ( KDE_3_5_0 - )
void setFileMode (mode_t);
- void setMimeType (const QString&);
+ void setMimeType (const TQString&);
%End
const KFileMetaInfo& metaInfo (bool = 1, int = KFileMetaInfo ::Fastest ) const;
@@ -146,26 +146,26 @@ protected:
void readUDSEntry (bool);
%End
- QString parsePermissions (mode_t) const;
+ TQString parsePermissions (mode_t) const;
protected:
//igx virtual void virtual_hook (int, void*);
}; // class KFileItem
-typedef QPtrList<KFileItem> KFileItemList;
+typedef TQPtrList<KFileItem> KFileItemList;
%If ( KDE_3_1_4 - )
-//ig typedef QPtrListIterator<KFileItem> KFileItemListIterator;
+//ig typedef TQPtrListIterator<KFileItem> KFileItemListIterator;
%If ( KDE_3_2_0 - )
-//igx QDataStream& operator << (QDataStream&, const KFileItem&);
-//igx QDataStream& operator >> (QDataStream&, KFileItem&);
+//igx TQDataStream& operator << (TQDataStream&, const KFileItem&);
+//igx TQDataStream& operator >> (TQDataStream&, KFileItem&);
%End
%End
%If ( - KDE_3_1_4 )
-//ig typedef QListIterator<KFileItem> KFileItemListIterator;
+//ig typedef TQListIterator<KFileItem> KFileItemListIterator;
%End
diff --git a/sip/kio/kfilemetainfo.sip b/sip/kio/kfilemetainfo.sip
index b0418be..a5d8b78 100644
--- a/sip/kio/kfilemetainfo.sip
+++ b/sip/kio/kfilemetainfo.sip
@@ -94,16 +94,16 @@ public:
{
public:
- QStringList supportedKeys () const;
- const QString& name () const;
- const QString& translatedName () const;
- const KFileMimeTypeInfo::ItemInfo* itemInfo (const QString&) const;
+ TQStringList supportedKeys () const;
+ const TQString& name () const;
+ const TQString& translatedName () const;
+ const KFileMimeTypeInfo::ItemInfo* itemInfo (const TQString&) const;
uint attributes () const;
bool supportsVariableKeys () const;
const KFileMimeTypeInfo::ItemInfo* variableItemInfo () const;
private:
- GroupInfo (const QString&, const QString&);
+ GroupInfo (const TQString&, const TQString&);
}; // class GroupInfo
@@ -115,44 +115,44 @@ public:
public:
ItemInfo ();
- const QString& prefix () const;
- const QString& suffix () const;
- QVariant::Type type () const;
- const QString& key () const;
+ const TQString& prefix () const;
+ const TQString& suffix () const;
+ TQVariant::Type type () const;
+ const TQString& key () const;
%If ( KDE_3_1_0 - )
- QString string (const QVariant&, bool = 1) const;
+ TQString string (const TQVariant&, bool = 1) const;
%End
bool isVariableItem () const;
- const QString& translatedKey () const;
+ const TQString& translatedKey () const;
uint attributes () const;
uint hint () const;
uint unit () const;
private:
- ItemInfo (const QString&, const QString&, QVariant::Type);
+ ItemInfo (const TQString&, const TQString&, TQVariant::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;
+ TQValidator* createValidator (const TQString&, const TQString&, TQObject* /Transfer/ = 0, const char* = 0) const;
+ TQStringList supportedGroups () const;
+ TQStringList translatedGroups () const;
+ TQStringList preferredGroups () const;
+ TQString mimeType () const;
+ const KFileMimeTypeInfo::GroupInfo* groupInfo (const TQString&) const;
+ TQStringList supportedKeys () const;
+ TQStringList preferredKeys () const;
+ KFileMimeTypeInfo::GroupInfo* addGroupInfo (const TQString&, const TQString&);
+ TQString m_translatedName;
+ TQStringList m_supportedKeys;
uint m_attr;
-//ig QDict<ItemInfo> m_itemDict;
+//ig TQDict<ItemInfo> m_itemDict;
protected:
- KFileMimeTypeInfo (const QString&);
+ KFileMimeTypeInfo (const TQString&);
public:
@@ -202,20 +202,20 @@ public:
typedef KFileMimeTypeInfo::Hint Hint;
//ig typedef KFileMimeTypeInfo::Unit Unit;
typedef KFileMimeTypeInfo::Attributes Attributes;
- KFileMetaInfoItem (const KFileMimeTypeInfo::ItemInfo*, const QString&, const QVariant&);
+ KFileMetaInfoItem (const KFileMimeTypeInfo::ItemInfo*, const TQString&, const TQVariant&);
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;
+ TQString key () const;
+ TQString translatedKey () const;
+ const TQVariant& value () const;
+ TQString string (bool = 1) const;
+ bool setValue (const TQVariant&);
+ TQVariant::Type type () const;
bool isEditable () const;
bool isRemoved () const;
bool isModified () const;
- QString prefix () const;
- QString suffix () const;
+ TQString prefix () const;
+ TQString suffix () const;
uint hint () const;
//ig uint unit () const;
uint attributes () const;
@@ -242,7 +242,7 @@ class KFileMetaInfoGroup
public:
- KFileMetaInfoGroup (const QString&, const KFileMimeTypeInfo*);
+ KFileMetaInfoGroup (const TQString&, const KFileMimeTypeInfo*);
KFileMetaInfoGroup (const KFileMetaInfoGroup&);
KFileMetaInfoGroup ();
bool isValid () const;
@@ -252,11 +252,11 @@ public:
bool isModified () const;
%If ( KDE_3_1_4 - )
- KFileMetaInfoItem operator [] (const QString&) const;
+ KFileMetaInfoItem operator [] (const TQString&) const;
%MethodCode
//returns (KFileMetaInfoItem)
-//takes key | (QString)
- KFileMetaInfoItem sipResObj = ((*sipCpp) [*static_cast<const QString*>(a0)]);
+//takes key | (TQString)
+ KFileMetaInfoItem sipResObj = ((*sipCpp) [*static_cast<const TQString*>(a0)]);
sipRes = &sipResObj;
%End
@@ -264,28 +264,28 @@ public:
%End
- KFileMetaInfoItem item (const QString&) const;
+ KFileMetaInfoItem item (const TQString&) const;
KFileMetaInfoItem item (uint) const;
- const QVariant value (const QString&) const;
- QStringList supportedKeys () const;
+ const TQVariant value (const TQString&) const;
+ TQStringList 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;
+ bool contains (const TQString&) const;
+ TQStringList keys () const;
+ TQStringList preferredKeys () const;
+ KFileMetaInfoItem addItem (const TQString&);
+ bool removeItem (const TQString&);
+ TQStringList removedItems ();
+ TQString name () const;
%If ( KDE_3_2_0 - )
- QString translatedName () const;
+ TQString translatedName () const;
%End
uint attributes () const;
protected:
void setAdded ();
- KFileMetaInfoItem appendItem (const QString&, const QVariant&);
+ KFileMetaInfoItem appendItem (const TQString&, const TQVariant&);
void ref ();
void deref ();
@@ -316,52 +316,52 @@ public:
Everything
};
- KFileMetaInfo (const QString&, const QString& = QString ::null , uint = Fastest );
+ KFileMetaInfo (const TQString&, const TQString& = TQString ::null , uint = Fastest );
%If ( KDE_3_2_0 - )
- KFileMetaInfo (const KURL&, const QString& = QString ::null , uint = Fastest );
+ KFileMetaInfo (const KURL&, const TQString& = TQString ::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;
+ TQStringList groups () const;
+ TQStringList supportedGroups () const;
+ TQStringList preferredGroups () const;
+ TQStringList preferredKeys () const;
+ TQStringList supportedKeys () const;
+ TQStringList editableGroups () const;
+ KFileMetaInfoItem item (const TQString&) const;
KFileMetaInfoItem item (const Hint) const;
- KFileMetaInfoItem saveItem (const QString&, const QString& = QString ::null , bool = 1);
- KFileMetaInfoGroup group (const QString&) const;
+ KFileMetaInfoItem saveItem (const TQString&, const TQString& = TQString ::null , bool = 1);
+ KFileMetaInfoGroup group (const TQString&) const;
%If ( KDE_3_1_4 - )
- KFileMetaInfoGroup operator [] (const QString&) const;
+ KFileMetaInfoGroup operator [] (const TQString&) const;
%MethodCode
//returns (KFileMetaInfoGroup)
-//takes key | (QString)
- KFileMetaInfoGroup sipResObj = ((*sipCpp) [*static_cast<const QString*>(a0)]);
+//takes key | (TQString)
+ KFileMetaInfoGroup sipResObj = ((*sipCpp) [*static_cast<const TQString*>(a0)]);
sipRes = &sipResObj;
%End
%End
- bool addGroup (const QString&);
- bool removeGroup (const QString&);
- QStringList removedGroups ();
+ bool addGroup (const TQString&);
+ bool removeGroup (const TQString&);
+ TQStringList removedGroups ();
bool applyChanges ();
%If ( KDE_3_5_3 - )
- bool applyChanges (const QString&);
+ bool applyChanges (const TQString&);
%End
- bool contains (const QString&) const;
- bool containsGroup (const QString&) const;
- const QVariant value (const QString&) const;
+ bool contains (const TQString&) const;
+ bool containsGroup (const TQString&) const;
+ const TQVariant value (const TQString&) const;
bool isValid () const;
bool isEmpty () const;
- QString mimeType () const;
- QString path () const;
+ TQString mimeType () const;
+ TQString path () const;
%If ( KDE_3_2_0 - )
KURL url () const;
@@ -369,7 +369,7 @@ public:
protected:
- KFileMetaInfoGroup appendGroup (const QString&);
+ KFileMetaInfoGroup appendGroup (const TQString&);
KFilePlugin* plugin () const;
void ref ();
void deref ();
@@ -377,7 +377,7 @@ protected:
}; // class KFileMetaInfo
-class KFilePlugin : QObject
+class KFilePlugin : TQObject
{
%TypeHeaderCode
#include <kfilemetainfo.h>
@@ -385,24 +385,24 @@ class KFilePlugin : QObject
public:
- KFilePlugin (QObject* /TransferThis/, const char*, const QStringList&);
+ KFilePlugin (TQObject* /TransferThis/, const char*, const TQStringList&);
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;
+ virtual TQValidator* createValidator (const TQString&, const TQString&, const TQString&, TQObject*, const char*) const;
protected:
- KFileMimeTypeInfo* addMimeTypeInfo (const QString&);
- KFileMimeTypeInfo::GroupInfo* addGroupInfo (KFileMimeTypeInfo*, const QString&, const QString&) const;
+ KFileMimeTypeInfo* addMimeTypeInfo (const TQString&);
+ KFileMimeTypeInfo::GroupInfo* addGroupInfo (KFileMimeTypeInfo*, const TQString&, const TQString&) 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 addVariableInfo (KFileMimeTypeInfo::GroupInfo*, TQVariant::Type, uint) const;
+ KFileMimeTypeInfo::ItemInfo* addItemInfo (KFileMimeTypeInfo::GroupInfo*, const TQString&, const TQString&, TQVariant::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);
+ void setPrefix (KFileMimeTypeInfo::ItemInfo*, const TQString&);
+ void setSuffix (KFileMimeTypeInfo::ItemInfo*, const TQString&);
+ KFileMetaInfoGroup appendGroup (KFileMetaInfo&, const TQString&);
+ void appendItem (KFileMetaInfoGroup&, const TQString&, TQVariant);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -410,7 +410,7 @@ protected:
}; // class KFilePlugin
-class KFileMetaInfoProvider : QObject
+class KFileMetaInfoProvider : TQObject
{
%TypeHeaderCode
#include <kfilemetainfo.h>
@@ -419,23 +419,23 @@ class KFileMetaInfoProvider : QObject
public:
static KFileMetaInfoProvider* self ();
- KFilePlugin* plugin (const QString&);
+ KFilePlugin* plugin (const TQString&);
%If ( KDE_3_4_0 - )
- KFilePlugin* plugin (const QString&, const QString&);
+ KFilePlugin* plugin (const TQString&, const TQString&);
%End
- const KFileMimeTypeInfo* mimeTypeInfo (const QString&);
+ const KFileMimeTypeInfo* mimeTypeInfo (const TQString&);
%If ( KDE_3_4_0 - )
- const KFileMimeTypeInfo* mimeTypeInfo (const QString&, const QString&);
+ const KFileMimeTypeInfo* mimeTypeInfo (const TQString&, const TQString&);
%End
- QStringList preferredKeys (const QString&) const;
- QStringList preferredGroups (const QString&) const;
+ TQStringList preferredKeys (const TQString&) const;
+ TQStringList preferredGroups (const TQString&) const;
%If ( KDE_3_1_0 - )
- QStringList supportedMimeTypes () const;
+ TQStringList supportedMimeTypes () const;
%End
@@ -451,10 +451,10 @@ private:
%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&);
+//igx TQDataStream& operator << (TQDataStream&, const KFileMetaInfoItem&);
+//igx TQDataStream& operator >> (TQDataStream&, KFileMetaInfoItem&);
+//igx TQDataStream& operator << (TQDataStream&, const KFileMetaInfoGroup&);
+//igx TQDataStream& operator >> (TQDataStream&, KFileMetaInfoGroup&);
+//igx TQDataStream& operator << (TQDataStream&, const KFileMetaInfo&);
+//igx TQDataStream& operator >> (TQDataStream&, KFileMetaInfo&);
%End
diff --git a/sip/kio/kfileshare.sip b/sip/kio/kfileshare.sip
index 69c5236..8b917dd 100644
--- a/sip/kio/kfileshare.sip
+++ b/sip/kio/kfileshare.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-//ig class KFileSharePrivate : QObject;
+//ig class KFileSharePrivate : TQObject;
%If ( KDE_3_1_0 - )
@@ -43,7 +43,7 @@ public:
static void readShareList ();
%End
- static bool isDirectoryShared (const QString&);
+ static bool isDirectoryShared (const TQString&);
enum Authorization
{
@@ -54,8 +54,8 @@ public:
};
static KFileShare::Authorization authorization ();
- static QString findExe (const char*);
- static bool setShared (const QString&, bool);
+ static TQString findExe (const char*);
+ static bool setShared (const TQString&, bool);
%If ( KDE_3_3_0 - )
@@ -67,7 +67,7 @@ public:
static bool sharingEnabled ();
static bool isRestricted ();
- static QString fileShareGroup ();
+ static TQString fileShareGroup ();
static KFileShare::ShareMode shareMode ();
static bool sambaEnabled ();
static bool nfsEnabled ();
@@ -77,7 +77,7 @@ public:
public:
%If ( - KDE_3_1_5 )
-//ig static bool setShared (const QString&, bool, bool);
+//ig static bool setShared (const TQString&, bool, bool);
%End
diff --git a/sip/kio/kfilterbase.sip b/sip/kio/kfilterbase.sip
index bf931bc..c74da0b 100644
--- a/sip/kio/kfilterbase.sip
+++ b/sip/kio/kfilterbase.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KFilterBase : QObject
+class KFilterBase : TQObject
{
%TypeHeaderCode
#include <qobject.h>
@@ -36,16 +36,16 @@ public:
KFilterBase ();
%If ( KDE_3_1_2 - )
- void setDevice (QIODevice*, bool = 0);
+ void setDevice (TQIODevice*, bool = 0);
%End
- QIODevice* device ();
+ TQIODevice* 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 bool writeHeader (const TQCString&) = 0;
virtual void setOutBuffer (char*, uint) = 0;
virtual void setInBuffer (const char*, uint) = 0;
virtual bool inBufferEmpty () const;
@@ -62,8 +62,8 @@ public:
virtual Result uncompress () = 0;
virtual KFilterBase::Result compress (bool) = 0;
- static KFilterBase* findFilterByFileName (const QString&);
- static KFilterBase* findFilterByMimeType (const QString&);
+ static KFilterBase* findFilterByFileName (const TQString&);
+ static KFilterBase* findFilterByMimeType (const TQString&);
protected:
diff --git a/sip/kio/kfilterdev.sip b/sip/kio/kfilterdev.sip
index 37bd1dc..eb24d16 100644
--- a/sip/kio/kfilterdev.sip
+++ b/sip/kio/kfilterdev.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KFilterDev : QIODevice
+class KFilterDev : TQIODevice
{
%TypeHeaderCode
#include <kfilterdev.h>
@@ -36,29 +36,29 @@ public:
virtual bool open (int);
virtual void close ();
virtual void flush ();
- void setOrigFileName (const QCString&);
+ void setOrigFileName (const TQCString&);
%If ( KDE_3_1_0 - )
void setSkipHeaders ();
%End
- virtual QIODevice::Offset size () const;
- virtual QIODevice::Offset at () const;
- virtual bool at (QIODevice::Offset);
+ virtual TQIODevice::Offset size () const;
+ virtual TQIODevice::Offset at () const;
+ virtual bool at (TQIODevice::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*);
+ static TQIODevice* createFilterDevice (KFilterBase*, TQFile*);
public:
- static QIODevice* deviceForFile (const QString&, const QString& = QString ::null , bool = 0);
- static QIODevice* device (QIODevice*, const QString&);
+ static TQIODevice* deviceForFile (const TQString&, const TQString& = TQString ::null , bool = 0);
+ static TQIODevice* device (TQIODevice*, const TQString&);
%If ( KDE_3_1_0 - )
- static QIODevice* device (QIODevice*, const QString&, bool);
+ static TQIODevice* device (TQIODevice*, const TQString&, bool);
%End
diff --git a/sip/kio/kimageio.sip b/sip/kio/kimageio.sip
index 879506f..a6a1cdc 100644
--- a/sip/kio/kimageio.sip
+++ b/sip/kio/kimageio.sip
@@ -40,20 +40,20 @@ public:
};
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&);
+ static bool canWrite (const TQString&);
+ static bool canRead (const TQString&);
+ static TQStringList types (KImageIO::Mode = Writing );
+ static TQString pattern (KImageIO::Mode = Reading );
+ static TQString suffix (const TQString&);
%If ( KDE_3_1_0 - )
- static QString typeForMime (const QString&);
+ static TQString typeForMime (const TQString&);
%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&);
+ static TQString type (const TQString&);
+ static TQStringList mimeTypes (KImageIO::Mode = Writing );
+ static bool isSupported (const TQString&, KImageIO::Mode = Writing );
+ static TQString mimeType (const TQString&);
}; // class KImageIO
diff --git a/sip/kio/kmimemagic.sip b/sip/kio/kmimemagic.sip
index 0dc31c6..ae01d5c 100644
--- a/sip/kio/kmimemagic.sip
+++ b/sip/kio/kmimemagic.sip
@@ -33,10 +33,10 @@ class KMimeMagicResult
public:
KMimeMagicResult ();
- const QString mimeType ();
+ const TQString mimeType ();
int accuracy ();
bool isValid ();
- void setMimeType (const QString&);
+ void setMimeType (const TQString&);
void setAccuracy (int);
void setInvalid ();
@@ -58,13 +58,13 @@ public:
KMimeMagic ();
%End
- KMimeMagic (const QString&);
- bool mergeConfig (const QString&);
+ KMimeMagic (const TQString&);
+ bool mergeConfig (const TQString&);
bool mergeBufConfig (char*);
void setFollowLinks (bool);
- KMimeMagicResult* findFileType (const QString&);
- KMimeMagicResult* findBufferType (const QByteArray&);
- KMimeMagicResult* findBufferFileType (const QByteArray&, const QString&);
+ KMimeMagicResult* findFileType (const TQString&);
+ KMimeMagicResult* findBufferType (const TQByteArray&);
+ KMimeMagicResult* findBufferFileType (const TQByteArray&, const TQString&);
static KMimeMagic* self ();
protected:
diff --git a/sip/kio/kmimetype.sip b/sip/kio/kmimetype.sip
index ba25572..c8c5059 100644
--- a/sip/kio/kmimetype.sip
+++ b/sip/kio/kmimetype.sip
@@ -34,38 +34,38 @@ class KMimeType : KServiceType
public:
typedef KSharedPtr<KMimeType> Ptr;
- typedef QValueList<KMimeType::Ptr> List;
+ typedef TQValueList<KMimeType::Ptr> List;
public:
- KMimeType (const QString&, const QString&, const QString&, const QString&, const QStringList&);
- KMimeType (const QString&);
+ KMimeType (const TQString&, const TQString&, const TQString&, const TQString&, const TQStringList&);
+ KMimeType (const TQString&);
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&);
+ KMimeType (TQDataStream&, int);
+ virtual TQString icon (const TQString&, bool) const;
+ virtual TQString icon (const KURL&, bool) const;
+ virtual TQPixmap pixmap (KIcon::Group, int = 0, int = 0, TQString* = 0) const;
+ virtual TQPixmap pixmap (const KURL&, KIcon::Group, int = 0, int = 0, TQString* = 0) const;
+ static TQPixmap pixmapForURL (const KURL&, mode_t = 0, KIcon::Group = KIcon ::Desktop , int = 0, int = 0, TQString* = 0);
+ static TQString iconForURL (const KURL&, mode_t = 0);
+ static TQString favIconForURL (const KURL&);
+ TQString comment () const;
+ virtual TQString comment (const TQString&, bool) const;
+ virtual TQString comment (const KURL&, bool) const;
+ const TQStringList& patterns () const;
+ virtual void load (TQDataStream&);
+ virtual void save (TQDataStream&);
+ virtual TQVariant property (const TQString&) const;
+ virtual TQStringList propertyNames () const;
+ static KMimeType::Ptr mimeType (const TQString&);
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);
+ static KMimeType::Ptr findByPath (const TQString&, mode_t = 0, bool = 0);
+ static KMimeType::Ptr findByContent (const TQByteArray&, int* = 0);
+ static KMimeType::Ptr findByFileContent (const TQString&, int* = 0);
%If ( KDE_3_2_1 - )
@@ -92,24 +92,24 @@ public:
%If ( KDE_3_2_0 - )
-//ig static KMimeType::Format findFormatByFileContent (const QString&);
+//ig static KMimeType::Format findFormatByFileContent (const TQString&);
%End
static KMimeType::List allMimeTypes ();
- static const QString& defaultMimeType ();
+ static const TQString& defaultMimeType ();
%If ( KDE_3_2_0 - )
static KMimeType::Ptr defaultMimeTypePtr ();
- QString parentMimeType () const;
- bool is (const QString&) const /PyName=is_/; //'is' is a reserved keyword in python;
- static KMimeType::Ptr diagnoseFileName (const QString&, QString&);
+ TQString parentMimeType () const;
+ bool is (const TQString&) const /PyName=is_/; //'is' is a reserved keyword in python;
+ static KMimeType::Ptr diagnoseFileName (const TQString&, TQString&);
%End
protected:
- void loadInternal (QDataStream&);
+ void loadInternal (TQDataStream&);
void init (KDesktopFile*);
- static void errorMissingMimeType (const QString&);
+ static void errorMissingMimeType (const TQString&);
static void buildDefaultType ();
static void checkEssentialMimeTypes ();
@@ -135,11 +135,11 @@ class KFolderType : KMimeType
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;
+ KFolderType (TQDataStream&, int);
+ virtual TQString icon (const TQString&, bool) const;
+ virtual TQString icon (const KURL&, bool) const;
+ virtual TQString comment (const TQString&, bool) const;
+ virtual TQString comment (const KURL&, bool) const;
protected:
//igx virtual void virtual_hook (int, void*);
@@ -174,9 +174,9 @@ public:
bool isEmpty () const;
%End
- QString m_strName;
- QString m_strIcon;
- QString m_strExec;
+ TQString m_strName;
+ TQString m_strIcon;
+ TQString m_strExec;
KDEDesktopMimeType::ServiceType m_type;
bool m_display;
@@ -185,32 +185,32 @@ public:
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<KDEDesktopMimeType::Service> builtinServices (const KURL&);
- static QValueList<KDEDesktopMimeType::Service> userDefinedServices (const QString&, bool);
+ KDEDesktopMimeType (TQDataStream&, int);
+ virtual TQString icon (const TQString&, bool) const;
+ virtual TQString icon (const KURL&, bool) const;
+ virtual TQPixmap pixmap (const KURL&, KIcon::Group, int = 0, int = 0, TQString* = 0) const;
+ virtual TQString comment (const TQString&, bool) const;
+ virtual TQString comment (const KURL&, bool) const;
+ static TQValueList<KDEDesktopMimeType::Service> builtinServices (const KURL&);
+ static TQValueList<KDEDesktopMimeType::Service> userDefinedServices (const TQString&, bool);
%If ( KDE_3_4_0 - )
- static QValueList<KDEDesktopMimeType::Service> userDefinedServices (const QString&, KConfig&, bool);
+ static TQValueList<KDEDesktopMimeType::Service> userDefinedServices (const TQString&, KConfig&, bool);
%If ( KDE_3_5_0 - )
- static QValueList<KDEDesktopMimeType::Service> userDefinedServices (const QString&, KConfig&, bool, const KURL::List&);
+ static TQValueList<KDEDesktopMimeType::Service> userDefinedServices (const TQString&, KConfig&, bool, const KURL::List&);
%End
%End
- static void executeService (const QString&, KDEDesktopMimeType::Service&);
+ static void executeService (const TQString&, 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;
+ virtual TQPixmap pixmap (KIcon::Group, int, int, TQString*) const;
static pid_t runFSDevice (const KURL&, const KSimpleConfig&);
- static pid_t runApplication (const KURL&, const QString&);
+ static pid_t runApplication (const KURL&, const TQString&);
static pid_t runLink (const KURL&, const KSimpleConfig&);
static pid_t runMimeType (const KURL&, const KSimpleConfig&);
@@ -229,7 +229,7 @@ class KExecMimeType : KMimeType
public:
KExecMimeType (KDesktopFile*);
- KExecMimeType (QDataStream&, int);
+ KExecMimeType (TQDataStream&, int);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -281,7 +281,7 @@ protected:
};
-%MappedType QValueList<KDEDesktopMimeType::Service>
+%MappedType TQValueList<KDEDesktopMimeType::Service>
//converts a Python list of KDEDesktopMimeType.Service
{
%TypeHeaderCode
@@ -298,11 +298,11 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KDEDesktopMimeType::Service> *cpplist = (QValueList<KDEDesktopMimeType::Service> *)sipCpp;
+ TQValueList<KDEDesktopMimeType::Service> *cpplist = (TQValueList<KDEDesktopMimeType::Service> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KDEDesktopMimeType::Service>::Iterator it;
+ TQValueList<KDEDesktopMimeType::Service>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KDEDesktopMimeType::Service(*it), sipType_KDEDesktopMimeType_Service, NULL)) == NULL)
@@ -321,7 +321,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KDEDesktopMimeType::Service> *cpplist = new QValueList<KDEDesktopMimeType::Service>;
+ TQValueList<KDEDesktopMimeType::Service> *cpplist = new TQValueList<KDEDesktopMimeType::Service>;
PyObject *elem;
KDEDesktopMimeType::Service *cpp;
@@ -349,7 +349,7 @@ protected:
};
-%MappedType QValueList<KMimeType::Ptr>
+%MappedType TQValueList<KMimeType::Ptr>
//converts a Python list of KMimeType
{
%TypeHeaderCode
@@ -371,11 +371,11 @@ protected:
// Get it.
- QValueList<KMimeType::Ptr> *cList = (QValueList<KMimeType::Ptr> *)sipCpp;
+ TQValueList<KMimeType::Ptr> *cList = (TQValueList<KMimeType::Ptr> *)sipCpp;
PyObject *inst;
KMimeType *svc;
- QValueList<KMimeType::Ptr>::Iterator it;
+ TQValueList<KMimeType::Ptr>::Iterator it;
for( it = cList->begin(); it != cList->end(); ++it )
{
svc = new KMimeType (*(KMimeType *)((KMimeType::Ptr)(*it)).data ());
@@ -397,7 +397,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KMimeType::Ptr> *cList = new QValueList<KMimeType::Ptr>;
+ TQValueList<KMimeType::Ptr> *cList = new TQValueList<KMimeType::Ptr>;
PyObject *elem;
KMimeType *service;
int iserr = 0;
diff --git a/sip/kio/kmimetypechooser.sip b/sip/kio/kmimetypechooser.sip
index b0a8987..7c08a50 100644
--- a/sip/kio/kmimetypechooser.sip
+++ b/sip/kio/kmimetypechooser.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_3_0 - )
-class KMimeTypeChooser : QVBox
+class KMimeTypeChooser : TQVBox
{
%TypeHeaderCode
#include <kmimetypechooser.h>
@@ -42,9 +42,9 @@ public:
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;
+ KMimeTypeChooser (const TQString& = TQString ::null , const TQStringList& = 0, const TQString& = TQString ::null , const TQStringList& = TQStringList (), int = Comments |Patterns |EditButton , TQWidget* /TransferThis/ = 0, const char* = 0);
+ TQStringList mimeTypes () const;
+ TQStringList patterns () const;
public slots:
void editMimeType ();
@@ -64,8 +64,8 @@ class KMimeTypeChooserDialog : KDialogBase
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);
+ KMimeTypeChooserDialog (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQStringList& = TQStringList (), const TQString& = TQString ::null , const TQStringList& = TQStringList (), int = KMimeTypeChooser ::Comments |KMimeTypeChooser ::Patterns |KMimeTypeChooser ::EditButton , TQWidget* /TransferThis/ = 0, const char* = 0);
+ KMimeTypeChooserDialog (const TQString&, const TQString&, const TQStringList&, const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0);
KMimeTypeChooser* chooser ();
}; // class KMimeTypeChooserDialog
diff --git a/sip/kio/knfsshare.sip b/sip/kio/knfsshare.sip
index 6f36f02..4eabf33 100644
--- a/sip/kio/knfsshare.sip
+++ b/sip/kio/knfsshare.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_3_0 - )
-class KNFSShare : QObject
+class KNFSShare : TQObject
{
%TypeHeaderCode
#include <knfsshare.h>
@@ -35,9 +35,9 @@ class KNFSShare : QObject
public:
static KNFSShare* instance ();
- bool isDirectoryShared (const QString&) const;
- QStringList sharedDirectories () const;
- QString exportsPath () const;
+ bool isDirectoryShared (const TQString&) const;
+ TQStringList sharedDirectories () const;
+ TQString exportsPath () const;
signals:
void changed ();
diff --git a/sip/kio/kpac.sip b/sip/kio/kpac.sip
index 7560514..51e7c4d 100644
--- a/sip/kio/kpac.sip
+++ b/sip/kio/kpac.sip
@@ -32,10 +32,10 @@ class KPAC
public:
- virtual QString proxyForURL (const KURL&) = 0;
+ virtual TQString proxyForURL (const KURL&) = 0;
virtual bool init (const KURL&) = 0;
virtual bool discover () = 0;
- virtual void badProxy (const QString&) = 0;
+ virtual void badProxy (const TQString&) = 0;
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/kio/kprotocolinfo.sip b/sip/kio/kprotocolinfo.sip
index ef173be..f3fdcb3 100644
--- a/sip/kio/kprotocolinfo.sip
+++ b/sip/kio/kprotocolinfo.sip
@@ -35,13 +35,13 @@ public:
typedef KSharedPtr<KProtocolInfo> Ptr;
public:
- KProtocolInfo (const QString&);
+ KProtocolInfo (const TQString&);
virtual bool isValid () const;
- virtual QString name () const;
- static QStringList protocols ();
+ virtual TQString name () const;
+ static TQStringList protocols ();
static bool isKnownProtocol (const KURL&);
- static bool isKnownProtocol (const QString&);
- static QString exec (const QString&) /PyName=exec_/;
+ static bool isKnownProtocol (const TQString&);
+ static TQString exec (const TQString&) /PyName=exec_/;
enum Type
{
@@ -53,7 +53,7 @@ public:
static KProtocolInfo::Type inputType (const KURL&);
static KProtocolInfo::Type outputType (const KURL&);
- static QStringList listing (const KURL&);
+ static TQStringList listing (const KURL&);
%If ( KDE_3_2_0 - )
@@ -62,9 +62,9 @@ public:
public:
ExtraField ();
- ExtraField (const QString&, const QString&);
- QString name;
- QString type;
+ ExtraField (const TQString&, const TQString&);
+ TQString name;
+ TQString type;
}; // class ExtraField
@@ -74,15 +74,15 @@ public:
%If ( KDE_3_2_0 - )
- typedef QValueList<KProtocolInfo::ExtraField> ExtraFieldList;
+ typedef TQValueList<KProtocolInfo::ExtraField> 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 isHelperProtocol (const TQString&);
static bool isFilterProtocol (const KURL&);
- static bool isFilterProtocol (const QString&);
+ static bool isFilterProtocol (const TQString&);
static bool supportsListing (const KURL&);
static bool supportsReading (const KURL&);
static bool supportsWriting (const KURL&);
@@ -107,44 +107,44 @@ public:
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&);
+ static TQString defaultMimetype (const KURL&);
+ static TQString icon (const TQString&);
+ static TQString config (const TQString&);
+ static int maxSlaves (const TQString&);
+ static bool determineMimetypeFromExtension (const TQString&);
%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&);
+ static TQString docPath (const TQString&);
+ static TQString protocolClass (const TQString&);
+ static bool showFilePreview (const TQString&);
+ static KURL::URIMode uriParseMode (const TQString&);
%If ( KDE_3_3_0 - )
- static QStringList capabilities (const QString&);
- static QString proxiedBy (const QString&);
+ static TQStringList capabilities (const TQString&);
+ static TQString proxiedBy (const TQString&);
%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&);
+ KProtocolInfo (TQDataStream&, int);
+ virtual void load (TQDataStream&);
+ virtual void save (TQDataStream&);
+ static Type inputType (const TQString&);
+ static Type outputType (const TQString&);
+ static TQStringList listing (const TQString&);
+ static bool isSourceProtocol (const TQString&);
+ static bool supportsListing (const TQString&);
+ static bool supportsReading (const TQString&);
+ static bool supportsWriting (const TQString&);
+ static bool supportsMakeDir (const TQString&);
+ static bool supportsDeleting (const TQString&);
+ static bool supportsLinking (const TQString&);
+ static bool supportsMoving (const TQString&);
+ static bool canCopyFromFile (const TQString&);
+ static bool canCopyToFile (const TQString&);
+ static TQString defaultMimetype (const TQString&);
protected:
@@ -168,8 +168,8 @@ protected:
%If ( KDE_3_2_0 - )
-//igx QDataStream& operator >> (QDataStream&, KProtocolInfo::ExtraField&);
-//igx QDataStream& operator << (QDataStream&, const KProtocolInfo::ExtraField&);
+//igx TQDataStream& operator >> (TQDataStream&, KProtocolInfo::ExtraField&);
+//igx TQDataStream& operator << (TQDataStream&, const KProtocolInfo::ExtraField&);
%End
@@ -217,7 +217,7 @@ protected:
%If (KDE_3_2_0 - )
-%MappedType QValueList<KProtocolInfo::ExtraField>
+%MappedType TQValueList<KProtocolInfo::ExtraField>
//converts a Python list of KProtocolInfo::ExtraField
{
%TypeHeaderCode
@@ -233,11 +233,11 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KProtocolInfo::ExtraField> *cpplist = (QValueList<KProtocolInfo::ExtraField> *)sipCpp;
+ TQValueList<KProtocolInfo::ExtraField> *cpplist = (TQValueList<KProtocolInfo::ExtraField> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KProtocolInfo::ExtraField>::Iterator it;
+ TQValueList<KProtocolInfo::ExtraField>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KProtocolInfo::ExtraField(*it), sipType_KProtocolInfo_ExtraField, sipTransferObj)) == NULL)
@@ -256,7 +256,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KProtocolInfo::ExtraField> *cpplist = new QValueList<KProtocolInfo::ExtraField>;
+ TQValueList<KProtocolInfo::ExtraField> *cpplist = new TQValueList<KProtocolInfo::ExtraField>;
PyObject *elem;
KProtocolInfo::ExtraField *cpp;
diff --git a/sip/kio/kprotocolmanager.sip b/sip/kio/kprotocolmanager.sip
index ba1da67..093e537 100644
--- a/sip/kio/kprotocolmanager.sip
+++ b/sip/kio/kprotocolmanager.sip
@@ -32,9 +32,9 @@ class KProtocolManager
public:
- static QString defaultUserAgent ();
- static QString defaultUserAgent (const QString&);
- static QString userAgentForHost (const QString&);
+ static TQString defaultUserAgent ();
+ static TQString defaultUserAgent (const TQString&);
+ static TQString userAgentForHost (const TQString&);
static int readTimeout ();
static int connectTimeout ();
static int proxyConnectTimeout ();
@@ -60,20 +60,20 @@ public:
};
static KProtocolManager::ProxyAuthMode proxyAuthMode ();
- static QString noProxyFor ();
+ static TQString noProxyFor ();
%If ( KDE_3_5_1 - )
- static QString noProxyForRaw ();
+ static TQString noProxyForRaw ();
%End
- static QString proxyFor (const QString&);
- static QString proxyForURL (const KURL&);
- static void badProxy (const QString&);
- static QString proxyConfigScript ();
+ static TQString proxyFor (const TQString&);
+ static TQString proxyForURL (const KURL&);
+ static void badProxy (const TQString&);
+ static TQString proxyConfigScript ();
static bool useCache ();
static int maxCacheAge ();
static int maxCacheSize ();
- static QString cacheDir ();
+ static TQString cacheDir ();
static KIO::CacheControl cacheControl ();
static bool autoResume ();
static bool markPartial ();
@@ -85,7 +85,7 @@ public:
static bool persistentConnections ();
static void reparseConfiguration ();
- static QString slaveProtocol (const KURL&, QString&);
+ static TQString slaveProtocol (const KURL&, TQString&);
static KConfig* config ();
public:
diff --git a/sip/kio/kremoteencoding.sip b/sip/kio/kremoteencoding.sip
index 92a7f9c..857e305 100644
--- a/sip/kio/kremoteencoding.sip
+++ b/sip/kio/kremoteencoding.sip
@@ -35,11 +35,11 @@ class KRemoteEncoding
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;
+ TQString decode (const TQCString&) const;
+ TQCString encode (const TQString&) const;
+ TQCString encode (const KURL&) const;
+ TQCString directory (const KURL&, bool = 1) const;
+ TQCString fileName (const KURL&) const;
const char* encoding () const;
%If ( KDE_3_5_0 - )
diff --git a/sip/kio/krun.sip b/sip/kio/krun.sip
index ba4791a..5a0457f 100644
--- a/sip/kio/krun.sip
+++ b/sip/kio/krun.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KRun : QObject
+class KRun : TQObject
{
%TypeHeaderCode
#include <krun.h>
@@ -35,7 +35,7 @@ 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);
+ KRun (const KURL&, TQWidget*, mode_t = 0, bool = 0, bool = 1);
%End
void abort ();
@@ -43,7 +43,7 @@ public:
bool hasFinished () const;
bool autoDelete () const;
void setAutoDelete (bool);
- void setPreferredService (const QString&);
+ void setPreferredService (const TQString&);
%If ( KDE_3_2_0 - )
void setRunExecutables (bool);
@@ -52,12 +52,12 @@ public:
void setEnableExternalBrowser (bool);
%If ( KDE_3_5_3 - )
- void setSuggestedFileName (const QString&);
+ void setSuggestedFileName (const TQString&);
%End
%If ( KDE_3_5_2 - )
- static pid_t run (const KService&, const KURL::List&, QWidget*, bool = 0);
+ static pid_t run (const KService&, const KURL::List&, TQWidget*, bool = 0);
%End
%End
@@ -72,28 +72,28 @@ public:
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&);
+ static pid_t run (const KService&, const KURL::List&, TQWidget*, bool, const TQString&);
%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 );
+ static pid_t run (const TQString&, const KURL::List&, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
%If ( KDE_3_2_0 - )
- static pid_t runURL (const KURL&, const QString&, bool, bool);
+ static pid_t runURL (const KURL&, const TQString&, bool, bool);
%End
%If ( KDE_3_1_0 - )
- static pid_t runURL (const KURL&, const QString&, bool);
+ static pid_t runURL (const KURL&, const TQString&, bool);
%End
- static pid_t runURL (const KURL&, const QString&);
+ static pid_t runURL (const KURL&, const TQString&);
%If ( KDE_3_5_3 - )
- static pid_t runURL (const KURL&, const QString&, bool, bool, const QString&);
+ static pid_t runURL (const KURL&, const TQString&, bool, bool, const TQString&);
%End
- static pid_t runCommand (QString);
- static pid_t runCommand (const QString&, const QString&, const QString&);
+ static pid_t runCommand (TQString);
+ static pid_t runCommand (const TQString&, const TQString&, const TQString&);
%If ( KDE_3_1_0 - )
static bool displayOpenWithDialog (const KURL::List&, bool);
@@ -102,33 +102,33 @@ public:
static bool displayOpenWithDialog (const KURL::List&);
%If ( KDE_3_5_3 - )
- static bool displayOpenWithDialog (const KURL::List&, bool, const QString&);
+ static bool displayOpenWithDialog (const KURL::List&, bool, const TQString&);
%End
- static void shellQuote (QString&);
+ static void shellQuote (TQString&);
%If ( KDE_3_1_0 - )
- static QStringList processDesktopExec (const KService&, const KURL::List&, bool, bool);
+ static TQStringList processDesktopExec (const KService&, const KURL::List&, bool, bool);
%End
- static QStringList processDesktopExec (const KService&, const KURL::List&, bool);
+ static TQStringList processDesktopExec (const KService&, const KURL::List&, bool);
%If ( KDE_3_5_3 - )
- static QStringList processDesktopExec (const KService&, const KURL::List&, bool, bool, const QString&);
+ static TQStringList processDesktopExec (const KService&, const KURL::List&, bool, bool, const TQString&);
%End
%If ( KDE_3_1_0 - )
- static QString binaryName (const QString&, bool);
+ static TQString binaryName (const TQString&, bool);
%If ( KDE_3_2_0 - )
- static bool isExecutable (const QString&);
+ static bool isExecutable (const TQString&);
%If ( KDE_3_3_0 - )
- static bool isExecutableFile (const KURL&, const QString&);
+ static bool isExecutableFile (const KURL&, const TQString&);
%If ( KDE_3_4_0 - )
- static bool checkStartupNotify (const QString&, const KService*, bool*, QCString*);
+ static bool checkStartupNotify (const TQString&, const KService*, bool*, TQCString*);
%End
%End
@@ -145,13 +145,13 @@ signals:
protected slots:
void slotTimeout ();
void slotScanFinished (KIO::Job*);
- void slotScanMimeType (KIO::Job*, const QString&);
+ void slotScanMimeType (KIO::Job*, const TQString&);
virtual void slotStatResult (KIO::Job*);
protected:
virtual void init ();
virtual void scanFile ();
- virtual void foundMimeType (const QString&);
+ virtual void foundMimeType (const TQString&);
virtual void killJob ();
protected:
@@ -174,7 +174,7 @@ public:
}; // class KOpenWithHandler
-class KProcessRunner : QObject
+class KProcessRunner : TQObject
{
%TypeHeaderCode
#include <krun.h>
@@ -182,10 +182,10 @@ class KProcessRunner : QObject
public:
- static pid_t run (KProcess*, const QString&);
+ static pid_t run (KProcess*, const TQString&);
%If ( KDE_3_1_4 - )
- static pid_t run (KProcess*, const QString&, const KStartupInfoId&);
+ static pid_t run (KProcess*, const TQString&, const KStartupInfoId&);
%End
pid_t pid () const;
@@ -194,10 +194,10 @@ protected slots:
void slotProcessExited (KProcess*);
private:
- KProcessRunner (KProcess*, const QString&);
+ KProcessRunner (KProcess*, const TQString&);
%If ( KDE_3_1_4 - )
- KProcessRunner (KProcess*, const QString&, const KStartupInfoId&);
+ KProcessRunner (KProcess*, const TQString&, const KStartupInfoId&);
%End
KProcessRunner ();
diff --git a/sip/kio/ksambashare.sip b/sip/kio/ksambashare.sip
index 3e57eea..a1e6a95 100644
--- a/sip/kio/ksambashare.sip
+++ b/sip/kio/ksambashare.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_3_0 - )
-class KSambaShare : QObject
+class KSambaShare : TQObject
{
%TypeHeaderCode
#include <ksambashare.h>
@@ -35,9 +35,9 @@ class KSambaShare : QObject
public:
static KSambaShare* instance ();
- bool isDirectoryShared (const QString&) const;
- QStringList sharedDirectories () const;
- QString smbConfPath () const;
+ bool isDirectoryShared (const TQString&) const;
+ TQStringList sharedDirectories () const;
+ TQString smbConfPath () const;
signals:
void changed ();
diff --git a/sip/kio/kscan.sip b/sip/kio/kscan.sip
index e6159e2..3355b34 100644
--- a/sip/kio/kscan.sip
+++ b/sip/kio/kscan.sip
@@ -32,18 +32,18 @@ class KScanDialog : KDialogBase
public:
- static KScanDialog* getScanDialog (QWidget* /Transfer/ = 0, const char* = 0, bool = 0);
+ static KScanDialog* getScanDialog (TQWidget* /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);
+ KScanDialog (int = Tabbed , int = Close |Help , TQWidget* /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);
+ void preview (const TQImage&, int);
+ void finalImage (const TQImage&, int);
+ void textRecognized (const TQString&, int);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -59,12 +59,12 @@ class KScanDialogFactory : KLibFactory
public:
- virtual KScanDialog* createDialog (QWidget* /Transfer/ = 0, const char* = 0, bool = 0) = 0;
+ virtual KScanDialog* createDialog (TQWidget* /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&);
+ KScanDialogFactory (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual TQObject* createObject (TQObject* /Transfer/ = 0, const char* = 0, const char* = "TQObject", const TQStringList& = TQStringList ());
+ void setName (const TQCString&);
KInstance* instance () const;
protected:
@@ -81,15 +81,15 @@ class KOCRDialog : KDialogBase
public:
- static KOCRDialog* getOCRDialog (QWidget* /Transfer/ = 0, const char* = 0, bool = 0);
+ static KOCRDialog* getOCRDialog (TQWidget* /Transfer/ = 0, const char* = 0, bool = 0);
protected:
- KOCRDialog (int = Tabbed , int = Close |Help , QWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
+ KOCRDialog (int = Tabbed , int = Close |Help , TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
int id () const;
int nextId ();
signals:
- void textRecognized (const QString&, int);
+ void textRecognized (const TQString&, int);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -105,12 +105,12 @@ class KOCRDialogFactory : KLibFactory
public:
- virtual KOCRDialog* createDialog (QWidget* /Transfer/ = 0, const char* = 0, bool = 0) = 0;
+ virtual KOCRDialog* createDialog (TQWidget* /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&);
+ KOCRDialogFactory (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual TQObject* createObject (TQObject* /Transfer/ = 0, const char* = 0, const char* = "TQObject", const TQStringList& = TQStringList ());
+ void setName (const TQCString&);
KInstance* instance () const;
protected:
diff --git a/sip/kio/kservice.sip b/sip/kio/kservice.sip
index fcb0aaf..cee5e51 100644
--- a/sip/kio/kservice.sip
+++ b/sip/kio/kservice.sip
@@ -33,30 +33,30 @@ class KService : KSycocaEntry
public:
//ig typedef KSharedPtr<KService> Ptr;
-//ig typedef QValueList<KService::Ptr> List;
+//ig typedef TQValueList<KService::Ptr> List;
public:
- KService (const QString&, const QString&, const QString&);
- KService (const QString&);
+ KService (const TQString&, const TQString&, const TQString&);
+ KService (const TQString&);
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;
+ KService (TQDataStream&, int);
+ virtual TQString type () /PyName=type_/;
+ virtual TQString name () const;
+ TQString exec () /PyName=exec_/;
+ TQString library () const;
+ TQString init () const;
+ TQString icon () const;
+ TQPixmap pixmap (KIcon::Group, int = 0, int = 0, TQString* = 0) const;
bool terminal () const;
- QString terminalOptions () const;
+ TQString terminalOptions () const;
bool substituteUid () const;
- QString username () const;
- QString desktopEntryPath () const;
- QString desktopEntryName () const;
+ TQString username () const;
+ TQString desktopEntryPath () const;
+ TQString desktopEntryName () const;
%If ( KDE_3_2_0 - )
- QString menuId () const;
- QString storageId () const;
+ TQString menuId () const;
+ TQString storageId () const;
%End
@@ -69,80 +69,80 @@ public:
};
DCOPServiceType_t DCOPServiceType () const;
- QString path () const;
- QString comment () const;
- QString genericName () const;
+ TQString path () const;
+ TQString comment () const;
+ TQString genericName () const;
%If ( KDE_3_2_0 - )
- QString untranslatedGenericName () const;
+ TQString untranslatedGenericName () const;
%End
- QStringList keywords () const;
+ TQStringList keywords () const;
%If ( KDE_3_1_0 - )
- QStringList categories () const;
+ TQStringList categories () const;
%End
- QStringList serviceTypes () const;
- bool hasServiceType (const QString&) const;
+ TQStringList serviceTypes () const;
+ bool hasServiceType (const TQString&) const;
bool allowAsDefault () const;
bool allowMultipleFiles () const;
int initialPreference () const;
%If ( KDE_3_2_0 - )
- int initialPreferenceForMimeType (const QString&) const;
+ int initialPreferenceForMimeType (const TQString&) const;
%End
void setInitialPreference (int);
bool noDisplay () const;
%If ( KDE_3_1_0 - )
- QString parentApp () const;
+ TQString parentApp () const;
%End
- virtual QVariant property (const QString&) const;
+ virtual TQVariant property (const TQString&) const;
%If ( KDE_3_2_0 - )
- QVariant property (const QString&, QVariant::Type) const;
+ TQVariant property (const TQString&, TQVariant::Type) const;
%End
- virtual QStringList propertyNames () const;
+ virtual TQStringList propertyNames () const;
bool isValid () const;
%If ( KDE_3_2_0 - )
- QString locateLocal ();
+ TQString locateLocal ();
%End
- virtual void load (QDataStream&);
- virtual void save (QDataStream&);
+ virtual void load (TQDataStream&);
+ virtual void save (TQDataStream&);
%If ( KDE_3_2_0 - )
- void setMenuId (const QString&);
+ void setMenuId (const TQString&);
void setTerminal (bool);
- void setTerminalOptions (const QString&);
+ void setTerminalOptions (const TQString&);
%End
- static KService::Ptr serviceByName (const QString&);
- static KService::Ptr serviceByDesktopPath (const QString&);
- static KService::Ptr serviceByDesktopName (const QString&);
+ static KService::Ptr serviceByName (const TQString&);
+ static KService::Ptr serviceByDesktopPath (const TQString&);
+ static KService::Ptr serviceByDesktopName (const TQString&);
%If ( KDE_3_2_0 - )
- static KService::Ptr serviceByMenuId (const QString&);
- static KService::Ptr serviceByStorageId (const QString&);
+ static KService::Ptr serviceByMenuId (const TQString&);
+ static KService::Ptr serviceByStorageId (const TQString&);
%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/);
+ static TQString newServicePath (bool, const TQString&, TQString* = 0, const TQStringList* = 0);
+ static void rebuildKSycoca (TQWidget* /Transfer/);
%End
protected:
void init (KDesktopFile*);
- QStringList& accessServiceTypes ();
+ TQStringList& accessServiceTypes ();
%If ( KDE_3_1_1 - )
@@ -210,14 +210,14 @@ protected:
#include <qvaluelist.h>
#include <kservice.h>
//typedef KSharedPtr<KService> Ptr;
-//typedef QValueList<Ptr> SvcList;
+//typedef TQValueList<Ptr> SvcList;
//typedef KService::List SvcList;
-typedef QValueList<KService::Ptr> List;
+typedef TQValueList<KService::Ptr> List;
%End
%ConvertFromTypeCode
// Convert to a Python list of Ptr (KService).
-#define QUOTE ""
+#define TQUOTE ""
if (!sipCpp)
return PyList_New (0);
diff --git a/sip/kio/kservicegroup.sip b/sip/kio/kservicegroup.sip
index bbe1847..49ebce7 100644
--- a/sip/kio/kservicegroup.sip
+++ b/sip/kio/kservicegroup.sip
@@ -36,24 +36,24 @@ public:
//ig typedef KSharedPtr<KSycocaEntry> SPtr;
%If ( KDE_3_1_2 - )
-//ig typedef QValueList<KServiceGroup::SPtr> List;
+//ig typedef TQValueList<KServiceGroup::SPtr> List;
%End
public:
%If ( KDE_3_1_0 - )
- KServiceGroup (const QString&);
+ KServiceGroup (const TQString&);
%End
- KServiceGroup (const QString&, const QString&);
- KServiceGroup (QDataStream&, int, bool);
+ KServiceGroup (const TQString&, const TQString&);
+ KServiceGroup (TQDataStream&, int, bool);
bool isValid () const;
- virtual QString name () const;
- virtual QString relPath () const;
- QString caption () const;
- QString icon () const;
- QString comment () const;
+ virtual TQString name () const;
+ virtual TQString relPath () const;
+ TQString caption () const;
+ TQString icon () const;
+ TQString comment () const;
int childCount ();
%If ( KDE_3_1_0 - )
@@ -74,19 +74,19 @@ public:
%If ( KDE_3_2_0 - )
- QStringList suppressGenericNames () const;
- void setLayoutInfo (const QStringList&);
+ TQStringList suppressGenericNames () const;
+ void setLayoutInfo (const TQStringList&);
%If ( KDE_3_3_0 - )
- QStringList layoutInfo () const;
+ TQStringList layoutInfo () const;
%End
%End
%End
- virtual void load (QDataStream&);
- virtual void save (QDataStream&);
+ virtual void load (TQDataStream&);
+ virtual void save (TQDataStream&);
%If ( KDE_3_2_0 - )
KServiceGroup::List entries (bool, bool, bool, bool = 0);
@@ -98,21 +98,21 @@ public:
virtual KServiceGroup::List entries (bool = 0);
%End
- QString baseGroupName () const;
+ TQString baseGroupName () const;
%If ( KDE_3_2_0 - )
- QString directoryEntryPath () const;
+ TQString directoryEntryPath () const;
%End
- static KServiceGroup::Ptr baseGroup (const QString&);
+ static KServiceGroup::Ptr baseGroup (const TQString&);
static KServiceGroup::Ptr root ();
- static KServiceGroup::Ptr group (const QString&);
+ static KServiceGroup::Ptr group (const TQString&);
%If ( KDE_3_1_0 - )
- static KServiceGroup::Ptr childGroup (const QString& /Transfer/);
+ static KServiceGroup::Ptr childGroup (const TQString& /Transfer/);
%If ( KDE_3_5_0 - )
- void parseAttribute (const QString&, bool&, bool&, bool&, bool&, int&);
+ void parseAttribute (const TQString&, bool&, bool&, bool&, bool&, int&);
%End
%End
@@ -127,7 +127,7 @@ protected:
public:
%If ( - KDE_3_1_2 )
-//ig typedef QValueList<Ptr> List;
+//ig typedef TQValueList<Ptr> List;
%End
@@ -149,9 +149,9 @@ public:
public:
KServiceSeparator ();
bool isValid () const;
- virtual QString name () const;
- virtual void load (QDataStream&);
- virtual void save (QDataStream&);
+ virtual TQString name () const;
+ virtual void load (TQDataStream&);
+ virtual void save (TQDataStream&);
}; // class KServiceSeparator
diff --git a/sip/kio/kservicetype.sip b/sip/kio/kservicetype.sip
index adb6897..da8099b 100644
--- a/sip/kio/kservicetype.sip
+++ b/sip/kio/kservicetype.sip
@@ -32,32 +32,32 @@ class KServiceType : KSycocaEntry
public:
- typedef QValueList<KServiceType::Ptr> List;
+ typedef TQValueList<KServiceType::Ptr> List;
public:
- KServiceType (const QString&, const QString&, const QString&, const QString&);
- KServiceType (const QString&);
+ KServiceType (const TQString&, const TQString&, const TQString&, const TQString&);
+ KServiceType (const TQString&);
KServiceType (KDesktopFile*);
- KServiceType (QDataStream&, int);
- QString icon () const;
- QString comment () const;
- QString name () const;
- QString desktopEntryPath () const;
+ KServiceType (TQDataStream&, int);
+ TQString icon () const;
+ TQString comment () const;
+ TQString name () const;
+ TQString desktopEntryPath () const;
bool isDerived () const;
- QString parentServiceType () const;
+ TQString parentServiceType () const;
%If ( KDE_3_1_0 - )
- bool inherits (const QString&) const;
+ bool inherits (const TQString&) const;
%End
- virtual QVariant property (const QString&) const;
- virtual QStringList propertyNames () const;
+ virtual TQVariant property (const TQString&) const;
+ virtual TQStringList propertyNames () const;
bool isValid () const;
- virtual QVariant::Type propertyDef (const QString&) const;
- virtual QStringList propertyDefNames () const;
- virtual const QMap<QString,QVariant::Type>& propertyDefs () const;
- virtual void save (QDataStream&);
- virtual void load (QDataStream&);
+ virtual TQVariant::Type propertyDef (const TQString&) const;
+ virtual TQStringList propertyDefNames () const;
+ virtual const TQMap<TQString,TQVariant::Type>& propertyDefs () const;
+ virtual void save (TQDataStream&);
+ virtual void load (TQDataStream&);
%If ( KDE_3_2_0 - )
KServiceType::Ptr parentType ();
@@ -65,8 +65,8 @@ public:
KService::List services ();
%End
- static KServiceType::Ptr serviceType (const QString&);
- static KService::List offers (const QString&);
+ static KServiceType::Ptr serviceType (const TQString&);
+ static KService::List offers (const TQString&);
static KServiceType::List allServiceTypes ();
protected:
@@ -124,8 +124,8 @@ protected:
};
-%MappedType QMap<QString,QVariant::Type>
-//converts a Python dict of QString:QVariant
+%MappedType TQMap<TQString,TQVariant::Type>
+//converts a Python dict of TQString:TQVariant
{
%TypeHeaderCode
#include <qmap.h>
@@ -147,16 +147,16 @@ protected:
// Get it.
- const QMap<QString,QVariant::Type> cppmap = *sipCpp;
- QMap<QString,QVariant::Type>::ConstIterator it;
+ const TQMap<TQString,TQVariant::Type> cppmap = *sipCpp;
+ TQMap<TQString,TQVariant::Type>::ConstIterator it;
for (it = cppmap.begin (); it != cppmap.end (); ++it)
{
- QString acpp = it.key ();
+ TQString acpp = it.key ();
int bcpp = (int) it.data ();
PyObject *ainst;
PyObject *binst = PyInt_FromLong (bcpp);
- if (((ainst = sipConvertFromNewType(new QString (acpp), sipType_QString, sipTransferObj)) == NULL)
+ if (((ainst = sipConvertFromNewType(new TQString (acpp), sipType_QString, sipTransferObj)) == NULL)
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
Py_XDECREF (ainst);
@@ -171,23 +171,23 @@ protected:
%ConvertToTypeCode
- // Convert a Python dictionary to a QMap on the heap.
+ // Convert a Python dictionary to a TQMap on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QString,QVariant::Type> *cppmap = new QMap<QString,QVariant::Type>;
+ TQMap<TQString,TQVariant::Type> *cppmap = new TQMap<TQString,TQVariant::Type>;
PyObject *aelem, *belem;
SIP_SSIZE_T pos = 0;
- QString *acpp;
- QVariant::Type bcpp;
+ TQString *acpp;
+ TQVariant::Type bcpp;
while (PyDict_Next(sipPy, &pos, &aelem, &belem))
{
int iserr = 0, acpp_state;
- acpp = (QString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
+ acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
if (iserr || !PyInt_Check(belem))
{
@@ -199,7 +199,7 @@ protected:
return 0;
}
- bcpp = (QVariant::Type) PyInt_AS_LONG(belem);
+ bcpp = (TQVariant::Type) PyInt_AS_LONG(belem);
cppmap->insert (*acpp, bcpp);
@@ -213,7 +213,7 @@ protected:
};
-%MappedType QValueList<KServiceType::Ptr>
+%MappedType TQValueList<KServiceType::Ptr>
//converts a Python list of KServiceType
{
%TypeHeaderCode
@@ -233,11 +233,11 @@ protected:
return NULL;
// Get it.
- QValueList<KServiceType::Ptr> *cList = (QValueList<KServiceType::Ptr> *)sipCpp;
+ TQValueList<KServiceType::Ptr> *cList = (TQValueList<KServiceType::Ptr> *)sipCpp;
PyObject *inst;
KSharedPtr <KServiceType> *svc;
- QValueList<KServiceType::Ptr>::Iterator it;
+ TQValueList<KServiceType::Ptr>::Iterator it;
for( it = cList->begin(); it != cList->end(); ++it )
{
KSharedPtr <KServiceType> svcptr = static_cast<KServiceType::Ptr>(*it);
@@ -261,7 +261,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KServiceType::Ptr> *cList = new QValueList<KServiceType::Ptr>;
+ TQValueList<KServiceType::Ptr> *cList = new TQValueList<KServiceType::Ptr>;
PyObject *elem;
KServiceType *service;
diff --git a/sip/kio/kshellcompletion.sip b/sip/kio/kshellcompletion.sip
index 2ada63c..34049eb 100644
--- a/sip/kio/kshellcompletion.sip
+++ b/sip/kio/kshellcompletion.sip
@@ -33,11 +33,11 @@ class KShellCompletion : KURLCompletion
public:
KShellCompletion ();
- QString makeCompletion (const QString&);
+ TQString makeCompletion (const TQString&);
protected:
- void postProcessMatch (QString*);
- void postProcessMatches (QStringList*);
+ void postProcessMatch (TQString*);
+ void postProcessMatches (TQStringList*);
//ig void postProcessMatches (KCompletionMatches*) const;
protected:
diff --git a/sip/kio/kshred.sip b/sip/kio/kshred.sip
index e5277de..966a3bf 100644
--- a/sip/kio/kshred.sip
+++ b/sip/kio/kshred.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KShred : QObject
+class KShred : TQObject
{
%TypeHeaderCode
#include <kshred.h>
@@ -32,18 +32,18 @@ class KShred : QObject
public:
- KShred (QString);
+ KShred (TQString);
bool fill1s ();
bool fill0s ();
bool fillbyte (uint);
bool fillrandom ();
bool fillpattern (uchar*, uint);
bool shred ();
- static bool shred (QString);
+ static bool shred (TQString);
signals:
void processedSize (KIO::filesize_t);
- void infoMessage (const QString&);
+ void infoMessage (const TQString&);
}; // class KShred
diff --git a/sip/kio/ksycoca.sip b/sip/kio/ksycoca.sip
index 959fde8..528a723 100644
--- a/sip/kio/ksycoca.sip
+++ b/sip/kio/ksycoca.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KSycoca : QObject, DCOPObject
+class KSycoca : TQObject, DCOPObject
{
%TypeHeaderCode
#include <ksycoca.h>
@@ -34,9 +34,9 @@ class KSycoca : QObject, DCOPObject
public:
%If ( KDE_3_1_4 - )
- virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&);
- QCStringList functions ();
- QCStringList interfaces ();
+ virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
+ TQCStringList functions ();
+ TQCStringList interfaces ();
%End
@@ -51,17 +51,17 @@ public:
static int version ();
%End
- QDataStream* findEntry (int, KSycocaType& /Out/);
- QDataStream* findFactory (KSycocaFactoryId);
- QString kfsstnd_prefixes ();
- QString language ();
+ TQDataStream* findEntry (int, KSycocaType& /Out/);
+ TQDataStream* findFactory (KSycocaFactoryId);
+ TQString kfsstnd_prefixes ();
+ TQString language ();
ulong timeStamp ();
%If ( KDE_3_1_0 - )
ulong updateSignature ();
%If ( KDE_3_2_0 - )
- QStringList allResourceDirs ();
+ TQStringList allResourceDirs ();
%End
%End
@@ -73,7 +73,7 @@ public:
void disableAutoRebuild ();
%End
- static QString determineRelativePath (const QString&, const char*);
+ static TQString determineRelativePath (const TQString&, const char*);
static bool isChanged (const char*);
%If ( KDE_3_1_0 - )
@@ -83,7 +83,7 @@ public:
public:
- void notifyDatabaseChanged (const QStringList&);
+ void notifyDatabaseChanged (const TQStringList&);
signals:
void databaseChanged ();
diff --git a/sip/kio/ksycocadict.sip b/sip/kio/ksycocadict.sip
index 83497d2..ae92d04 100644
--- a/sip/kio/ksycocadict.sip
+++ b/sip/kio/ksycocadict.sip
@@ -34,16 +34,16 @@ class KSycocaDict
public:
KSycocaDict ();
- KSycocaDict (QDataStream*, int);
- void add (const QString&, KSycocaEntry*);
- void remove (const QString&);
- int find_string (const QString&);
+ KSycocaDict (TQDataStream*, int);
+ void add (const TQString&, KSycocaEntry*);
+ void remove (const TQString&);
+ int find_string (const TQString&);
uint count ();
void clear ();
- void save (QDataStream&);
+ void save (TQDataStream&);
protected:
- Q_UINT32 hashKey (const QString&);
+ Q_UINT32 hashKey (const TQString&);
}; // class KSycocaDict
diff --git a/sip/kio/ksycocaentry.sip b/sip/kio/ksycocaentry.sip
index d2e7e8d..3544c61 100644
--- a/sip/kio/ksycocaentry.sip
+++ b/sip/kio/ksycocaentry.sip
@@ -37,24 +37,24 @@ public:
public:
//ig typedef KSharedPtr<KSycocaEntry> Ptr;
-//ig typedef QValueList<KSycocaEntry::Ptr> List;
+//ig typedef TQValueList<KSycocaEntry::Ptr> List;
public:
- KSycocaEntry (const QString&);
+ KSycocaEntry (const TQString&);
%If ( KDE_3_1_0 - )
- static void read (QDataStream&, QString&);
- static void read (QDataStream&, QStringList&);
+ static void read (TQDataStream&, TQString&);
+ static void read (TQDataStream&, TQStringList&);
%End
- KSycocaEntry (QDataStream&, int);
- virtual QString name () const = 0;
- QString entryPath () const;
+ KSycocaEntry (TQDataStream&, int);
+ virtual TQString name () const = 0;
+ TQString entryPath () const;
virtual bool isValid () const = 0;
virtual bool isDeleted () const;
int offset ();
- virtual void save (QDataStream&);
- virtual void load (QDataStream&) = 0;
+ virtual void save (TQDataStream&);
+ virtual void load (TQDataStream&) = 0;
protected:
diff --git a/sip/kio/ksycocafactory.sip b/sip/kio/ksycocafactory.sip
index 1e8d162..44cb184 100644
--- a/sip/kio/ksycocafactory.sip
+++ b/sip/kio/ksycocafactory.sip
@@ -40,7 +40,7 @@ protected:
public:
int offset ();
//ig KSycocaEntryDict* entryDict ();
- virtual KSycocaEntry* createEntry (const QString&, const char*) = 0;
+ virtual KSycocaEntry* createEntry (const TQString&, const char*) = 0;
virtual void addEntry (KSycocaEntry*, const char*);
%If ( KDE_3_2_0 - )
@@ -49,8 +49,8 @@ public:
virtual KSycocaEntry* createEntry (int) = 0;
KSycocaEntry::List allEntries ();
- virtual void save (QDataStream&);
- virtual void saveHeader (QDataStream&);
+ virtual void save (TQDataStream&);
+ virtual void saveHeader (TQDataStream&);
//ig virtual const KSycocaResourceList* resourceList () const;
protected:
@@ -60,4 +60,4 @@ protected:
}; // class KSycocaFactory
-//ig typedef QDict<KSycocaEntry::Ptr> KSycocaEntryDict;
+//ig typedef TQDict<KSycocaEntry::Ptr> KSycocaEntryDict;
diff --git a/sip/kio/ktar.sip b/sip/kio/ktar.sip
index f67b4d1..4d8adf8 100644
--- a/sip/kio/ktar.sip
+++ b/sip/kio/ktar.sip
@@ -32,25 +32,25 @@ class KTar : KArchive
public:
- KTar (const QString&, const QString& = QString ::null );
- KTar (QIODevice*);
- QString fileName ();
- void setOrigFileName (const QCString&);
+ KTar (const TQString&, const TQString& = TQString ::null );
+ KTar (TQIODevice*);
+ TQString fileName ();
+ void setOrigFileName (const TQCString&);
%If ( KDE_3_2_0 - )
- bool writeSymLink (const QString&, const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t);
+ bool writeSymLink (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
%End
- virtual bool writeDir (const QString&, const QString&, const QString&);
+ virtual bool writeDir (const TQString&, const TQString&, const TQString&);
%If ( KDE_3_2_0 - )
- bool writeDir (const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t);
+ bool writeDir (const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
%End
- virtual bool prepareWriting (const QString&, const QString&, const QString&, uint);
+ virtual bool prepareWriting (const TQString&, const TQString&, const TQString&, uint);
%If ( KDE_3_2_0 - )
- bool prepareWriting (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t);
+ bool prepareWriting (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
%End
virtual bool doneWriting (uint);
@@ -63,9 +63,9 @@ 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);
+ bool prepareWriting_impl (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
+ bool writeDir_impl (const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
+ bool writeSymLink_impl (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
%End
diff --git a/sip/kio/ktrader.sip b/sip/kio/ktrader.sip
index 1a2e358..19de25a 100644
--- a/sip/kio/ktrader.sip
+++ b/sip/kio/ktrader.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KTrader : QObject
+class KTrader : TQObject
{
%TypeHeaderCode
#include <ktrader.h>
@@ -32,14 +32,14 @@ class KTrader : QObject
public:
-//ig typedef QValueList<KService::Ptr> OfferList;
+//ig typedef TQValueList<KService::Ptr> OfferList;
%If ( KDE_3_1_0 - )
-//ig typedef QValueListIterator<KService::Ptr> OfferListIterator;
+//ig typedef TQValueListIterator<KService::Ptr> 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;
+ virtual KTrader::OfferList query (const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null ) const;
+ KTrader::OfferList query (const TQString&, const TQString&, const TQString&, const TQString&) const;
static KTrader* self ();
protected:
@@ -69,11 +69,11 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KService::Ptr> *cpplist = (QValueList<KService::Ptr> *)sipCpp;
+ TQValueList<KService::Ptr> *cpplist = (TQValueList<KService::Ptr> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KService::Ptr>::Iterator it;
+ TQValueList<KService::Ptr>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
KService::Ptr cpp = *it;
@@ -94,7 +94,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KService::Ptr> *cpplist = new QValueList<KService::Ptr>;
+ TQValueList<KService::Ptr> *cpplist = new TQValueList<KService::Ptr>;
PyObject *elem;
KService::Ptr *cpp;
diff --git a/sip/kio/kurifilter.sip b/sip/kio/kurifilter.sip
index e9f8f21..c2c331c 100644
--- a/sip/kio/kurifilter.sip
+++ b/sip/kio/kurifilter.sip
@@ -49,37 +49,37 @@ public:
KURIFilterData ();
KURIFilterData (const KURL&);
- KURIFilterData (const QString&);
+ KURIFilterData (const TQString&);
KURIFilterData (const KURIFilterData&);
bool hasBeenFiltered () const;
KURL uri () const;
- QString errorMsg () const;
+ TQString errorMsg () const;
URITypes uriType () const;
- void setData (const QString&);
+ void setData (const TQString&);
void setData (const KURL&);
- bool setAbsolutePath (const QString&);
- QString absolutePath () const;
+ bool setAbsolutePath (const TQString&);
+ TQString absolutePath () const;
bool hasAbsolutePath () const;
- QString argsAndOptions () const;
+ TQString argsAndOptions () const;
bool hasArgsAndOptions () const;
- QString iconName ();
+ TQString iconName ();
%If ( KDE_3_2_0 - )
void setCheckForExecutables (bool);
bool checkForExecutables () const;
- QString typedString () const;
+ TQString typedString () const;
%End
protected:
void init (const KURL&);
- void init (const KURL& = KURL (QString ::null )) [void (QString&)];
+ void init (const KURL& = KURL (TQString ::null )) [void (TQString&)];
%MethodCode
-//takes url | (KURL = KURL(QString.null))
+//takes url | (KURL = KURL(TQString.null))
Py_BEGIN_ALLOW_THREADS
if (a0 == 0)
- sipCpp -> sipProtect_init(QString::null);
+ sipCpp -> sipProtect_init(TQString::null);
else
sipCpp -> sipProtect_init(*a0);
Py_END_ALLOW_THREADS
@@ -89,7 +89,7 @@ protected:
}; // class KURIFilterData
-class KURIFilterPlugin : QObject
+class KURIFilterPlugin : TQObject
{
%TypeHeaderCode
#include <qstringlist.h>
@@ -98,18 +98,18 @@ class KURIFilterPlugin : QObject
public:
- KURIFilterPlugin (QObject* = 0, const char* = 0, double = 1.0);
- virtual QString name () const;
+ KURIFilterPlugin (TQObject* = 0, const char* = 0, double = 1.0);
+ virtual TQString name () const;
virtual double priority () const;
virtual bool filterURI (KURIFilterData&) const = 0;
- virtual KCModule* configModule (QWidget*, const char*) const;
- virtual QString configName () const;
+ virtual KCModule* configModule (TQWidget*, const char*) const;
+ virtual TQString configName () const;
protected:
void setFilteredURI (KURIFilterData&, const KURL&) const;
- void setErrorMsg (KURIFilterData&, const QString&) const;
+ void setErrorMsg (KURIFilterData&, const TQString&) const;
void setURIType (KURIFilterData&, KURIFilterData::URITypes) const;
- void setArguments (KURIFilterData&, const QString&) const;
+ void setArguments (KURIFilterData&, const TQString&) const;
protected:
//igx virtual void virtual_hook (int, void*);
@@ -127,15 +127,15 @@ class KURIFilter
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<KURIFilterPlugin> pluginsIterator () const;
+ bool filterURI (KURIFilterData&, const TQStringList& = TQStringList ());
+ bool filterURI (KURL&, const TQStringList& = TQStringList ());
+ bool filterURI (TQString&, const TQStringList& = TQStringList ());
+ KURL filteredURI (const KURL&, const TQStringList& = TQStringList ());
+ TQString filteredURI (const TQString&, const TQStringList& = TQStringList ());
+//ig TQPtrListIterator<KURIFilterPlugin> pluginsIterator () const;
%If ( KDE_3_1_0 - )
- QStringList pluginNames () const;
+ TQStringList pluginNames () const;
%End
diff --git a/sip/kio/kurlcompletion.sip b/sip/kio/kurlcompletion.sip
index dc927df..237fb44 100644
--- a/sip/kio/kurlcompletion.sip
+++ b/sip/kio/kurlcompletion.sip
@@ -42,9 +42,9 @@ public:
KURLCompletion ();
KURLCompletion (KURLCompletion::Mode);
- virtual QString makeCompletion (const QString&);
- virtual void setDir (const QString&);
- virtual QString dir ();
+ virtual TQString makeCompletion (const TQString&);
+ virtual void setDir (const TQString&);
+ virtual TQString dir ();
virtual bool isRunning ();
virtual void stop ();
virtual Mode mode ();
@@ -53,20 +53,20 @@ public:
virtual void setReplaceEnv (bool);
virtual bool replaceHome ();
virtual void setReplaceHome (bool);
- QString replacedPath (const QString&);
+ TQString replacedPath (const TQString&);
%If ( KDE_3_2_0 - )
- static QString replacedPath (const QString&, bool, bool = 1);
+ static TQString replacedPath (const TQString&, bool, bool = 1);
%End
protected:
- void postProcessMatch (QString*);
- void postProcessMatches (QStringList*);
+ void postProcessMatch (TQString*);
+ void postProcessMatches (TQStringList*);
//ig void postProcessMatches (KCompletionMatches*) const;
%If ( KDE_3_3_0 - )
- virtual void customEvent (QCustomEvent*);
+ virtual void customEvent (TQCustomEvent*);
%End
diff --git a/sip/kio/kurlpixmapprovider.sip b/sip/kio/kurlpixmapprovider.sip
index 3f2f336..0917f5d 100644
--- a/sip/kio/kurlpixmapprovider.sip
+++ b/sip/kio/kurlpixmapprovider.sip
@@ -32,7 +32,7 @@ class KURLPixmapProvider : KPixmapProvider
public:
- virtual QPixmap pixmapFor (const QString&, int = 0);
+ virtual TQPixmap pixmapFor (const TQString&, int = 0);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/kio/kuserprofile.sip b/sip/kio/kuserprofile.sip
index 77cec50..233d682 100644
--- a/sip/kio/kuserprofile.sip
+++ b/sip/kio/kuserprofile.sip
@@ -56,21 +56,21 @@ class KServiceTypeProfile
public:
- typedef QValueList<KServiceOffer> OfferList;
- int preference (const QString&) const;
- bool allowAsDefault (const QString&) const;
+ typedef TQValueList<KServiceOffer> OfferList;
+ int preference (const TQString&) const;
+ bool allowAsDefault (const TQString&) 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<KServiceTypeProfile>& serviceTypeProfiles ();
+ static KService::Ptr preferredService (const TQString&, const TQString&);
+ static KServiceTypeProfile* serviceTypeProfile (const TQString&, const TQString&);
+ static KServiceTypeProfile::OfferList offers (const TQString&, const TQString&);
+ static const TQPtrList<KServiceTypeProfile>& 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);
+ KServiceTypeProfile (const TQString&, const TQString& = TQString ::null );
+ void addService (const TQString&, int = 1, bool = 1);
}; // class KServiceTypeProfile
@@ -94,11 +94,11 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KServiceOffer> *cpplist = (QValueList<KServiceOffer> *)sipCpp;
+ TQValueList<KServiceOffer> *cpplist = (TQValueList<KServiceOffer> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KServiceOffer>::Iterator it;
+ TQValueList<KServiceOffer>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KServiceOffer(*it), sipType_KServiceOffer, NULL)) == NULL)
@@ -116,7 +116,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KServiceOffer> *cpplist = new QValueList<KServiceOffer>;
+ TQValueList<KServiceOffer> *cpplist = new TQValueList<KServiceOffer>;
PyObject *elem;
KServiceOffer *cpp;
@@ -144,13 +144,13 @@ protected:
};
-%MappedType QPtrList<KServiceTypeProfile>
+%MappedType TQPtrList<KServiceTypeProfile>
//converts a Python list of KServiceTypeProfile
{
%TypeHeaderCode
#include <qptrlist.h>
#include <kservicetype.h>
-//typedef QPtrList<KServiceTypeProfile> SvcTypeProfileList;
+//typedef TQPtrList<KServiceTypeProfile> SvcTypeProfileList;
%End
%ConvertFromTypeCode
@@ -168,7 +168,7 @@ protected:
// Get it.
- QPtrList<KServiceTypeProfile> *cList = (QPtrList<KServiceTypeProfile> *)sipCpp;
+ TQPtrList<KServiceTypeProfile> *cList = (TQPtrList<KServiceTypeProfile> *)sipCpp;
PyObject *inst;
KServiceTypeProfile *svc;
@@ -192,7 +192,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KServiceTypeProfile> *cList = new QPtrList<KServiceTypeProfile>;
+ TQPtrList<KServiceTypeProfile> *cList = new TQPtrList<KServiceTypeProfile>;
PyObject *elem;
KServiceTypeProfile *service;
diff --git a/sip/kio/kzip.sip b/sip/kio/kzip.sip
index 184e64c..6fcfabc 100644
--- a/sip/kio/kzip.sip
+++ b/sip/kio/kzip.sip
@@ -34,9 +34,9 @@ class KZip : KArchive
public:
- KZip (const QString&);
- KZip (QIODevice*);
- QString fileName ();
+ KZip (const TQString&);
+ KZip (TQIODevice*);
+ TQString fileName ();
%If ( KDE_3_2_0 - )
@@ -60,13 +60,13 @@ public:
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);
+ virtual bool writeFile (const TQString&, const TQString&, const TQString&, uint, const char*);
+ virtual bool prepareWriting (const TQString&, const TQString&, const TQString&, 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*);
+ bool writeSymLink (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
+ bool prepareWriting (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
+ bool writeFile (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t, const char*);
%End
bool writeData (const char*, uint);
@@ -75,15 +75,15 @@ public:
protected:
virtual bool openArchive (int);
virtual bool closeArchive ();
- virtual bool writeDir (const QString&, const QString&, const QString&);
+ virtual bool writeDir (const TQString&, const TQString&, const TQString&);
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);
+ bool prepareWriting_impl (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
+ bool writeSymLink_impl (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
%End
@@ -102,7 +102,7 @@ class KZipFileEntry : KArchiveFile
public:
- KZipFileEntry (KZip*, const QString&, int, int, const QString&, const QString&, const QString&, const QString&, Q_LONG, Q_LONG, int, Q_LONG);
+ KZipFileEntry (KZip*, const TQString&, int, int, const TQString&, const TQString&, const TQString&, const TQString&, Q_LONG, Q_LONG, int, Q_LONG);
int encoding () const;
Q_LONG compressedSize () const;
void setCompressedSize (Q_LONG);
@@ -110,9 +110,9 @@ public:
Q_LONG headerStart () const;
ulong crc32 () const;
void setCRC32 (ulong);
- QString path () const;
- virtual QByteArray data () const;
- QIODevice* device () const;
+ TQString path () const;
+ virtual TQByteArray data () const;
+ TQIODevice* device () const;
}; // class KZipFileEntry
diff --git a/sip/kio/metainfojob.sip b/sip/kio/metainfojob.sip
index 691cb18..1abee91 100644
--- a/sip/kio/metainfojob.sip
+++ b/sip/kio/metainfojob.sip
@@ -40,8 +40,8 @@ class MetaInfoJob : KIO::Job
public:
MetaInfoJob (const KFileItemList&, bool = 0);
void removeItem (const KFileItem*);
- static QStringList availablePlugins ();
- static QStringList supportedMimeTypes ();
+ static TQStringList availablePlugins ();
+ static TQStringList supportedMimeTypes ();
signals:
void gotMetaInfo (const KFileItem*);
diff --git a/sip/kio/netaccess.sip b/sip/kio/netaccess.sip
index c4acb6e..cbe0869 100644
--- a/sip/kio/netaccess.sip
+++ b/sip/kio/netaccess.sip
@@ -26,7 +26,7 @@
namespace KIO
{
-class NetAccess : QObject
+class NetAccess : TQObject
{
%TypeHeaderCode
#include <netaccess.h>
@@ -36,38 +36,38 @@ class NetAccess : QObject
public:
%If ( KDE_3_2_0 - )
- static bool download (const KURL&, QString&, QWidget*);
+ static bool download (const KURL&, TQString&, TQWidget*);
%End
- static bool download (const KURL&, QString&);
- static void removeTempFile (const QString&);
+ static bool download (const KURL&, TQString&);
+ static void removeTempFile (const TQString&);
%If ( KDE_3_2_0 - )
- static bool upload (const QString&, const KURL&, QWidget*);
+ static bool upload (const TQString&, const KURL&, TQWidget*);
%End
- static bool upload (const QString&, const KURL&);
+ static bool upload (const TQString&, const KURL&);
%If ( KDE_3_2_0 - )
- static bool copy (const KURL&, const KURL&, QWidget*);
+ static bool copy (const KURL&, const KURL&, TQWidget*);
%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*);
+ static bool file_copy (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, TQWidget* = 0);
+ static bool file_move (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, TQWidget* = 0);
+ static bool dircopy (const KURL&, const KURL&, TQWidget*);
%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*);
+ static bool dircopy (const KURL::List&, const KURL&, TQWidget* = 0);
+ static bool move (const KURL&, const KURL&, TQWidget* = 0);
+ static bool move (const KURL::List&, const KURL&, TQWidget* = 0);
+ static bool exists (const KURL&, bool, TQWidget*);
+ static bool exists (const KURL&, TQWidget*);
%End
static bool exists (const KURL&);
@@ -76,7 +76,7 @@ public:
static bool exists (const KURL&, bool);
%If ( KDE_3_2_0 - )
- static bool stat (const KURL&, KIO::UDSEntry&, QWidget*);
+ static bool stat (const KURL&, KIO::UDSEntry&, TQWidget*);
%End
%End
@@ -84,34 +84,34 @@ public:
static bool stat (const KURL&, KIO::UDSEntry&);
%If ( KDE_3_5_0 - )
- static KURL mostLocalURL (const KURL&, QWidget*);
+ static KURL mostLocalURL (const KURL&, TQWidget*);
%End
%If ( KDE_3_2_0 - )
- static bool del (const KURL&, QWidget*);
+ static bool del (const KURL&, TQWidget*);
%End
static bool del (const KURL&) /PyName=del_/;
%If ( KDE_3_2_0 - )
- static bool mkdir (const KURL&, QWidget*, int = -1);
+ static bool mkdir (const KURL&, TQWidget*, int = -1);
%End
static bool mkdir (const KURL&, int = -1);
%If ( KDE_3_2_0 - )
- static QString fish_execute (const KURL&, const QString, QWidget*);
+ static TQString fish_execute (const KURL&, const TQString, TQWidget*);
%If ( KDE_3_3_1 - )
- static bool synchronousRun (KIO::Job*, QWidget*, QByteArray* = 0, KURL* = 0, QMap<QString,QString>* = 0);
+ static bool synchronousRun (KIO::Job*, TQWidget*, TQByteArray* = 0, KURL* = 0, TQMap<TQString,TQString>* = 0);
%End
- static QString mimetype (const KURL&, QWidget*);
+ static TQString mimetype (const KURL&, TQWidget*);
%End
-//ig static QString mimetype (const KURL&);
- static QString lastErrorString ();
+//ig static TQString mimetype (const KURL&);
+ static TQString lastErrorString ();
%If ( KDE_3_3_0 - )
static int lastError ();
diff --git a/sip/kio/observer.sip b/sip/kio/observer.sip
index 0b6fb60..748304a 100644
--- a/sip/kio/observer.sip
+++ b/sip/kio/observer.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class Observer : QObject, DCOPObject
+class Observer : TQObject, DCOPObject
{
%TypeHeaderCode
#include <observer.h>
@@ -34,9 +34,9 @@ class Observer : QObject, DCOPObject
public:
%If ( KDE_3_1_4 - )
- virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&);
- QCStringList functions ();
- QCStringList interfaces ();
+ virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
+ TQCStringList functions ();
+ TQCStringList interfaces ();
%End
@@ -44,16 +44,16 @@ public:
static Observer* self ();
int newJob (KIO::Job*, bool);
void jobFinished (int);
- bool openPassDlg (const QString&, QString&, QString&, bool);
+ bool openPassDlg (const TQString&, TQString&, TQString&, bool);
bool openPassDlg (KIO::AuthInfo&);
- int messageBox (int, int, const QString&, const QString&, const QString&, const QString&);
+ int messageBox (int, int, const TQString&, const TQString&, const TQString&, const TQString&);
%If ( KDE_3_3_0 - )
- static int messageBox (int, int, const QString&, const QString&, const QString&, const QString&, const QString&);
+ static int messageBox (int, int, const TQString&, const TQString&, const TQString&, const TQString&, const TQString&);
%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&);
+ KIO::RenameDlg_Result open_RenameDlg (KIO::Job*, const TQString&, const TQString&, const TQString&, KIO::RenameDlg_Mode, TQString&, 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 TQString&);
public:
void killJob (int);
@@ -72,7 +72,7 @@ public slots:
void slotProcessedDirs (KIO::Job*, ulong);
void slotSpeed (KIO::Job*, ulong);
void slotPercent (KIO::Job*, ulong);
- void slotInfoMessage (KIO::Job*, const QString&);
+ void slotInfoMessage (KIO::Job*, const TQString&);
void slotCopying (KIO::Job*, const KURL&, const KURL&);
void slotMoving (KIO::Job*, const KURL&, const KURL&);
void slotDeleting (KIO::Job*, const KURL&);
@@ -86,8 +86,8 @@ public slots:
public:
void stating (KIO::Job*, const KURL&);
- void mounting (KIO::Job*, const QString&, const QString&);
- void unmounting (KIO::Job*, const QString&);
+ void mounting (KIO::Job*, const TQString&, const TQString&);
+ void unmounting (KIO::Job*, const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/kio/passdlg.sip b/sip/kio/passdlg.sip
index 434f40b..1a4d96d 100644
--- a/sip/kio/passdlg.sip
+++ b/sip/kio/passdlg.sip
@@ -34,11 +34,11 @@ class PasswordDialog : KDialogBase
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;
+ PasswordDialog (const TQString&, const TQString&, bool = 0, bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0);
+ void setPrompt (const TQString&);
+ void addCommentLine (const TQString&, const TQString);
+ TQString password () const;
+ TQString username () const;
bool keepPassword () const;
%If ( KDE_3_2_0 - )
@@ -49,15 +49,15 @@ public:
void setEnableUserField (bool, bool = 0);
%If ( KDE_3_1_0 - )
- void setPassword (const QString&);
+ void setPassword (const TQString&);
%If ( KDE_3_4_0 - )
- void setKnownLogins (const QMap<QString,QString>&);
+ void setKnownLogins (const TQMap<TQString,TQString>&);
%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 );
+ static int getNameAndPassword (TQString& /Out/, TQString& /Out/, bool* /In, Out/, const TQString& = TQString ::null , bool = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/kio/paste.sip b/sip/kio/paste.sip
index 2757894..64deae4 100644
--- a/sip/kio/paste.sip
+++ b/sip/kio/paste.sip
@@ -30,16 +30,16 @@
namespace KIO
{
KIO::Job* pasteClipboard (const KURL&, bool = 0);
-void pasteData (const KURL&, const QByteArray&);
+void pasteData (const KURL&, const TQByteArray&);
%If ( KDE_3_2_0 - )
-KIO::CopyJob* pasteDataAsync (const KURL&, const QByteArray&);
+KIO::CopyJob* pasteDataAsync (const KURL&, const TQByteArray&);
%If ( KDE_3_3_0 - )
-KIO::CopyJob* pasteDataAsync (const KURL&, const QByteArray&, const QString&);
+KIO::CopyJob* pasteDataAsync (const KURL&, const TQByteArray&, const TQString&);
%If ( KDE_3_5_0 - )
-KIO::CopyJob* pasteMimeSource (QMimeSource*, const KURL&, const QString&, QWidget*, bool = 0);
+KIO::CopyJob* pasteMimeSource (TQMimeSource*, const KURL&, const TQString&, TQWidget*, bool = 0);
%End
%End
@@ -49,7 +49,7 @@ KIO::CopyJob* pasteMimeSource (QMimeSource*, const KURL&, const QString&,
bool isClipboardEmpty ();
%If ( KDE_3_5_0 - )
-QString pasteActionText ();
+TQString pasteActionText ();
%End
}; // namespace KIO
diff --git a/sip/kio/previewjob.sip b/sip/kio/previewjob.sip
index 8096b6f..195b634 100644
--- a/sip/kio/previewjob.sip
+++ b/sip/kio/previewjob.sip
@@ -34,15 +34,15 @@ class PreviewJob : KIO::Job
public:
- PreviewJob (const KFileItemList&, int, int, int, int, bool, bool, const QStringList*, bool = 0);
+ PreviewJob (const KFileItemList&, int, int, int, int, bool, bool, const TQStringList*, bool = 0);
void removeItem (const KFileItem*);
%If ( KDE_3_4_0 - )
void setIgnoreMaximumSize (bool = 1);
%End
- static QStringList availablePlugins ();
- static QStringList supportedMimeTypes ();
+ static TQStringList availablePlugins ();
+ static TQStringList supportedMimeTypes ();
%If ( KDE_3_5_1 - )
virtual void kill (bool = 1);
@@ -50,13 +50,13 @@ public:
signals:
- void gotPreview (const KFileItem*, const QPixmap&);
+ void gotPreview (const KFileItem*, const TQPixmap&);
void failed (const KFileItem*);
protected:
void getOrCreateThumbnail ();
bool statResultThumbnail ();
- void createThumbnail (QString);
+ void createThumbnail (TQString);
protected slots:
virtual void slotResult (KIO::Job*);
@@ -66,7 +66,7 @@ protected:
}; // 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);
+KIO::PreviewJob* filePreview (const KFileItemList&, int, int = 0, int = 0, int = 70, bool = 1, bool = 1, const TQStringList* = 0);
+KIO::PreviewJob* filePreview (const KURL::List&, int, int = 0, int = 0, int = 70, bool = 1, bool = 1, const TQStringList* = 0);
}; // namespace KIO
diff --git a/sip/kio/progressbase.sip b/sip/kio/progressbase.sip
index 0c6330e..2dd106f 100644
--- a/sip/kio/progressbase.sip
+++ b/sip/kio/progressbase.sip
@@ -38,7 +38,7 @@ enum Progress
};
-class ProgressBase : QWidget
+class ProgressBase : TQWidget
{
%TypeHeaderCode
#include <progressbase.h>
@@ -46,7 +46,7 @@ class ProgressBase : QWidget
public:
- ProgressBase (QWidget* /TransferThis/);
+ ProgressBase (TQWidget* /TransferThis/);
void setJob (KIO::Job*);
void setJob (KIO::CopyJob*);
void setJob (KIO::DeleteJob*);
@@ -84,7 +84,7 @@ protected slots:
void slotFinished (KIO::Job*);
protected:
- virtual void closeEvent (QCloseEvent*);
+ virtual void closeEvent (TQCloseEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/kio/renamedlg.sip b/sip/kio/renamedlg.sip
index 79c9bc1..5890497 100644
--- a/sip/kio/renamedlg.sip
+++ b/sip/kio/renamedlg.sip
@@ -55,12 +55,12 @@ enum RenameDlg_Result
};
-//ig class RenameDlg : QDialog;
+//ig class RenameDlg : TQDialog;
-//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 );
+//ig KIO::RenameDlg_Result open_RenameDlg (const TQString&, const TQString&, const TQString&, KIO::RenameDlg_Mode, TQString&, 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);
+//ig KIO::RenameDlg_Result open_RenameDlg (const TQString&, const TQString&, const TQString&, KIO::RenameDlg_Mode, TQString&, ulong = -1, ulong = -1, time_t = -1, time_t = -1, time_t = -1, time_t = -1);
%End
}; // namespace KIO
diff --git a/sip/kio/renamedlgplugin.sip b/sip/kio/renamedlgplugin.sip
index 784dabf..24e96ee 100644
--- a/sip/kio/renamedlgplugin.sip
+++ b/sip/kio/renamedlgplugin.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class RenameDlgPlugin : QWidget
+class RenameDlgPlugin : TQWidget
{
%TypeHeaderCode
#include <renamedlgplugin.h>
@@ -32,8 +32,8 @@ class RenameDlgPlugin : QWidget
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);
+ RenameDlgPlugin (TQDialog*, const char*, const TQStringList& = TQStringList ());
+ virtual bool initialize (KIO::RenameDlg_Mode, const TQString&, const TQString&, const TQString&, const TQString&, KIO::filesize_t, KIO::filesize_t, time_t, time_t, time_t, time_t);
}; // class RenameDlgPlugin
diff --git a/sip/kio/scheduler.sip b/sip/kio/scheduler.sip
index 31d3913..e0995bc 100644
--- a/sip/kio/scheduler.sip
+++ b/sip/kio/scheduler.sip
@@ -26,7 +26,7 @@
namespace KIO
{
-class Scheduler : QObject, DCOPObject
+class Scheduler : TQObject, DCOPObject
{
%TypeHeaderCode
#include <scheduler.h>
@@ -34,7 +34,7 @@ class Scheduler : QObject, DCOPObject
public:
-//ig typedef QPtrList<KIO::SimpleJob> JobList;
+//ig typedef TQPtrList<KIO::SimpleJob> JobList;
static void doJob (KIO::SimpleJob*);
static void scheduleJob (KIO::SimpleJob*);
static void cancelJob (KIO::SimpleJob*);
@@ -51,33 +51,33 @@ public:
static bool disconnectSlave (KIO::Slave*);
%If ( KDE_3_1_0 - )
- static void registerWindow (QWidget*);
+ static void registerWindow (TQWidget*);
%If ( KDE_3_2_0 - )
- static void unregisterWindow (QObject*);
+ static void unregisterWindow (TQObject*);
%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 bool connect (const char*, const TQObject*, const char*);
+ static bool connect (const TQObject*, const char*, const TQObject*, const char*);
+ static bool disconnect (const TQObject*, const char*, const TQObject*, const char*);
+ bool connect (const TQObject*, const char*, const char*);
static void checkSlaveOnHold (bool);
void debug_info ();
- virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&);
- virtual QCStringList functions ();
+ virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
+ virtual TQCStringList functions ();
public slots:
void slotSlaveDied (KIO::Slave*);
- void slotSlaveStatus (pid_t, const QCString&, const QString&, bool);
+ void slotSlaveStatus (pid_t, const TQCString&, const TQString&, bool);
signals:
void slaveConnected (KIO::Slave*);
- void slaveError (KIO::Slave*, int, const QString&);
+ void slaveError (KIO::Slave*, int, const TQString&);
protected:
- void setupSlave (KIO::Slave*, const KURL&, const QString&, const QString&, bool, const KIO::MetaData* = 0);
+ void setupSlave (KIO::Slave*, const KURL&, const TQString&, const TQString&, bool, const KIO::MetaData* = 0);
//ig bool startJobScheduled (KIO::Scheduler::ProtocolInfo*);
bool startJobDirect ();
Scheduler ();
@@ -86,11 +86,11 @@ protected slots:
void startStep ();
void slotCleanIdleSlaves ();
void slotSlaveConnected ();
- void slotSlaveError (int, const QString&);
+ void slotSlaveError (int, const TQString&);
void slotScheduleCoSlave ();
%If ( KDE_3_1_0 - )
- void slotUnregisterWindow (QObject*);
+ void slotUnregisterWindow (TQObject*);
%End
diff --git a/sip/kio/sessiondata.sip b/sip/kio/sessiondata.sip
index 2ba2582..ba8d723 100644
--- a/sip/kio/sessiondata.sip
+++ b/sip/kio/sessiondata.sip
@@ -26,7 +26,7 @@
namespace KIO
{
-class SessionData : QObject
+class SessionData : TQObject
{
%TypeHeaderCode
#include <sessiondata.h>
@@ -35,12 +35,12 @@ class SessionData : QObject
public:
SessionData ();
- virtual void configDataFor (KIO::MetaData&, const QString&, const QString&);
+ virtual void configDataFor (KIO::MetaData&, const TQString&, const TQString&);
virtual void reset ();
public slots:
- void slotAuthData (const QCString&, const QCString&, bool);
- void slotDelAuthData (const QCString&);
+ void slotAuthData (const TQCString&, const TQCString&, bool);
+ void slotDelAuthData (const TQCString&);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/kio/skipdlg.sip b/sip/kio/skipdlg.sip
index 29bb91f..c0f4ac2 100644
--- a/sip/kio/skipdlg.sip
+++ b/sip/kio/skipdlg.sip
@@ -37,7 +37,7 @@ enum SkipDlg_Result
S_CANCEL
};
-//ig KIO::SkipDlg_Result open_SkipDlg (bool, const QString& = QString ::null );
+//ig KIO::SkipDlg_Result open_SkipDlg (bool, const TQString& = TQString ::null );
//ig class SkipDlg : KDialog;
diff --git a/sip/kio/slave.sip b/sip/kio/slave.sip
index 5db1ad1..e2d4961 100644
--- a/sip/kio/slave.sip
+++ b/sip/kio/slave.sip
@@ -36,34 +36,34 @@ class Slave : KIO::SlaveInterface
protected:
%If ( KDE_3_2_0 - )
- Slave (bool, KServerSocket*, const QString&, const QString&);
+ Slave (bool, KServerSocket*, const TQString&, const TQString&);
%End
public:
- Slave (KServerSocket*, const QString&, const QString&);
+ Slave (KServerSocket*, const TQString&, const TQString&);
void setPID (pid_t);
int slave_pid ();
void kill ();
bool isAlive ();
- void setHost (const QString&, int, const QString&, const QString&);
+ void setHost (const TQString&, int, const TQString&, const TQString&);
void resetHost ();
void setConfig (const KIO::MetaData&);
- QString protocol ();
- void setProtocol (const QString&);
- QString slaveProtocol ();
- QString host ();
+ TQString protocol ();
+ void setProtocol (const TQString&);
+ TQString slaveProtocol ();
+ TQString 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&);
+ TQString user ();
+ TQString passwd ();
+ static KIO::Slave* createSlave (const TQString&, const KURL&, int& /Out/, TQString& /Out/);
+ static KIO::Slave* holdSlave (const TQString&, const KURL&);
void suspend ();
void resume ();
bool suspended ();
%If ( KDE_3_2_0 - )
- void send (int, const QByteArray& = QByteArray ());
+ void send (int, const TQByteArray& = TQByteArray ());
%End
void hold (const KURL&);
diff --git a/sip/kio/slavebase.sip b/sip/kio/slavebase.sip
index e5caa6c..6d7d68e 100644
--- a/sip/kio/slavebase.sip
+++ b/sip/kio/slavebase.sip
@@ -34,7 +34,7 @@ class SlaveBase
public:
- SlaveBase (const QCString&, const QCString&, const QCString&);
+ SlaveBase (const TQCString&, const TQCString&, const TQCString&);
%If ( KDE_3_1_0 - )
void exit ();
@@ -43,13 +43,13 @@ public:
void dispatchLoop ();
void setConnection (KIO::Connection*);
KIO::Connection* connection () const;
- void data (const QByteArray&);
+ void data (const TQByteArray&);
void dataReq ();
- void error (int, const QString&);
+ void error (int, const TQString&);
void connected ();
void finished ();
void needSubURLData ();
- void slaveStatus (const QString&, bool);
+ void slaveStatus (const TQString&, bool);
void statEntry (const KIO::UDSEntry&);
void listEntries (const KIO::UDSEntryList&);
bool canResume (KIO::filesize_t);
@@ -60,9 +60,9 @@ public:
void speed (ulong);
void redirection (const KURL&);
void errorPage ();
- void mimeType (const QString&);
- void warning (const QString&);
- void infoMessage (const QString&);
+ void mimeType (const TQString&);
+ void warning (const TQString&);
+ void infoMessage (const TQString&);
enum MessageBoxType
{
@@ -74,15 +74,15 @@ public:
SSLMessageBox
};
- int messageBox (KIO::SlaveBase::MessageBoxType, const QString&, const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null );
+ int messageBox (KIO::SlaveBase::MessageBoxType, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::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 );
+ int messageBox (const TQString&, KIO::SlaveBase::MessageBoxType, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
%End
- void setMetaData (const QString&, const QString&);
- bool hasMetaData (const QString&);
- QString metaData (const QString&);
+ void setMetaData (const TQString&, const TQString&);
+ bool hasMetaData (const TQString&);
+ TQString metaData (const TQString&);
%If ( KDE_3_5_2 - )
KIO::MetaData allMetaData () const;
@@ -94,7 +94,7 @@ public:
KRemoteEncoding* remoteEncoding ();
%End
- virtual void setHost (const QString&, int, const QString&, const QString&);
+ virtual void setHost (const TQString&, int, const TQString&, const TQString&);
virtual void setSubURL (const KURL&);
virtual void openConnection ();
virtual void closeConnection ();
@@ -105,12 +105,12 @@ public:
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 symlink (const TQString&, 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 special (const TQByteArray&);
+ virtual void multiGet (const TQByteArray&);
virtual void slave_status ();
virtual void reparseConfiguration ();
int connectTimeout ();
@@ -119,35 +119,35 @@ public:
int readTimeout ();
%If ( KDE_3_1_0 - )
- void setTimeoutSpecialCommand (int, const QByteArray& = QByteArray ());
+ void setTimeoutSpecialCommand (int, const TQByteArray& = TQByteArray ());
%End
static void sigsegv_handler (int);
static void sigpipe_handler (int);
virtual bool dispatch ();
- virtual void dispatch (int, const QByteArray&);
- int readData (QByteArray&);
+ virtual void dispatch (int, const TQByteArray&);
+ int readData (TQByteArray&);
%If ( KDE_3_1_0 - )
void listEntry (const KIO::UDSEntry&, bool);
- void connectSlave (const QString&);
+ void connectSlave (const TQString&);
void disconnectSlave ();
- bool openPassDlg (KIO::AuthInfo&, const QString&);
+ bool openPassDlg (KIO::AuthInfo&, const TQString&);
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&);
+ TQString createAuthCacheKey (const KURL&);
+ void sendAuthenticationKey (const TQCString&, const TQCString&, bool);
+ void delCachedAuthentication (const TQString&);
void setMultipleAuthCaching (bool);
bool multipleAuthCaching () const;
- bool requestNetwork (const QString& = QString ::null );
- void dropNetwork (const QString& = QString ::null );
+ bool requestNetwork (const TQString& = TQString ::null );
+ void dropNetwork (const TQString& = TQString ::null );
DCOPClient* dcopClient ();
- int waitForAnswer (int, int, QByteArray&, int* = 0);
+ int waitForAnswer (int, int, TQByteArray&, int* = 0);
void sendMetaData ();
- QCString mProtocol;
+ TQCString mProtocol;
KIO::Connection* m_pConnection;
KIO::MetaData mOutgoingMetaData;
KIO::MetaData mIncomingMetaData;
@@ -163,20 +163,20 @@ protected:
%If ( - KDE_3_1_0 )
void listEntry (const KIO::UDSEntry&, bool);
- void connectSlave (const QString&);
+ void connectSlave (const TQString&);
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&);
+ TQString createAuthCacheKey (const KURL&);
+ void sendAuthenticationKey (const TQCString&, const TQCString&, bool);
+ void delCachedAuthentication (const TQString&);
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);
+ bool requestNetwork (const TQString& = TQString ::null );
+ void dropNetwork (const TQString& = TQString ::null );
+ int waitForAnswer (int, int, TQByteArray&, int* = 0);
void sendMetaData ();
%End
diff --git a/sip/kio/slaveconfig.sip b/sip/kio/slaveconfig.sip
index 7ed17c9..d8d2d10 100644
--- a/sip/kio/slaveconfig.sip
+++ b/sip/kio/slaveconfig.sip
@@ -26,7 +26,7 @@
namespace KIO
{
-class SlaveConfig : QObject
+class SlaveConfig : TQObject
{
%TypeHeaderCode
#include <slaveconfig.h>
@@ -35,14 +35,14 @@ class SlaveConfig : QObject
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 setConfigData (const TQString&, const TQString&, const TQString&, const TQString&);
+ void setConfigData (const TQString&, const TQString&, const KIO::MetaData&);
+ KIO::MetaData configData (const TQString&, const TQString&);
+ TQString configData (const TQString&, const TQString&, const TQString&);
void reset ();
signals:
- void configNeeded (const QString&, const QString&);
+ void configNeeded (const TQString&, const TQString&);
protected:
SlaveConfig ();
diff --git a/sip/kio/slaveinterface.sip b/sip/kio/slaveinterface.sip
index 764b78f..2a66eae 100644
--- a/sip/kio/slaveinterface.sip
+++ b/sip/kio/slaveinterface.sip
@@ -63,7 +63,7 @@ enum Message
MSG_RESUME,
MSG_SLAVE_STATUS,
MSG_SLAVE_ACK,
- MSG_NET_REQUEST,
+ MSG_NET_RETQUEST,
MSG_NET_DROP,
MSG_NEED_SUBURL_DATA,
MSG_CANRESUME,
@@ -74,7 +74,7 @@ enum Message
%End
-class SlaveInterface : QObject
+class SlaveInterface : TQObject
{
%TypeHeaderCode
#include <slaveinterface.h>
@@ -92,12 +92,12 @@ public:
KIO::filesize_t offset () const;
signals:
- void data (const QByteArray&);
+ void data (const TQByteArray&);
void dataReq ();
- void error (int, const QString&);
+ void error (int, const TQString&);
void connected ();
void finished ();
- void slaveStatus (pid_t, const QCString&, const QString&, bool);
+ void slaveStatus (pid_t, const TQCString&, const TQString&, bool);
void listEntries (const KIO::UDSEntryList&);
void statEntry (const KIO::UDSEntry&);
void needSubURLData ();
@@ -109,27 +109,27 @@ signals:
void redirection (const KURL&);
void speed (ulong);
void errorPage ();
- void mimeType (const QString&);
- void warning (const QString&);
- void infoMessage (const QString&);
+ void mimeType (const TQString&);
+ void warning (const TQString&);
+ void infoMessage (const TQString&);
void connectFinished ();
- void authorizationKey (const QCString&, const QCString&, bool);
- void delAuthorization (const QCString&);
+ void authorizationKey (const TQCString&, const TQCString&, bool);
+ void delAuthorization (const TQCString&);
protected:
virtual bool dispatch ();
- virtual bool dispatch (int, const QByteArray&);
+ virtual bool dispatch (int, const TQByteArray&);
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&);
+ void openPassDlg (const TQString&, const TQString&, const TQString&, const TQString&, const TQString&, bool);
+ void openPassDlg (const TQString&, const TQString&, bool);
+ void messageBox (int, const TQString&, const TQString&, const TQString&, const TQString&);
%If ( KDE_3_3_0 - )
- void messageBox (int, const QString&, const QString&, const QString&, const QString&, const QString&);
+ void messageBox (int, const TQString&, const TQString&, const TQString&, const TQString&, const TQString&);
%End
- void requestNetwork (const QString&, const QString&);
- void dropNetwork (const QString&, const QString&);
+ void requestNetwork (const TQString&, const TQString&);
+ void dropNetwork (const TQString&, const TQString&);
static void sigpipe_handler (int);
protected slots:
@@ -183,6 +183,6 @@ enum Command
%If ( KDE_3_1_4 - )
-//igx QDataStream& operator << (QDataStream&, const KIO::UDSEntry&);
-//igx QDataStream& operator >> (QDataStream&, KIO::UDSEntry&);
+//igx TQDataStream& operator << (TQDataStream&, const KIO::UDSEntry&);
+//igx TQDataStream& operator >> (TQDataStream&, KIO::UDSEntry&);
%End
diff --git a/sip/kio/statusbarprogress.sip b/sip/kio/statusbarprogress.sip
index 5c165bd..4fa221d 100644
--- a/sip/kio/statusbarprogress.sip
+++ b/sip/kio/statusbarprogress.sip
@@ -34,7 +34,7 @@ class StatusbarProgress : KIO::ProgressBase
public:
- StatusbarProgress (QWidget* /TransferThis/, bool = 1);
+ StatusbarProgress (TQWidget* /TransferThis/, bool = 1);
void setJob (KIO::Job*);
public slots:
@@ -45,7 +45,7 @@ public slots:
protected:
void setMode ();
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/kio/tcpslavebase.sip b/sip/kio/tcpslavebase.sip
index 407b0fc..ec2c09d 100644
--- a/sip/kio/tcpslavebase.sip
+++ b/sip/kio/tcpslavebase.sip
@@ -34,15 +34,15 @@ class TCPSlaveBase : KIO::SlaveBase
public:
- TCPSlaveBase (ushort, const QCString&, const QCString&, const QCString&);
- TCPSlaveBase (ushort, const QCString&, const QCString&, const QCString&, bool);
+ TCPSlaveBase (ushort, const TQCString&, const TQCString&, const TQCString&);
+ TCPSlaveBase (ushort, const TQCString&, const TQCString&, const TQCString&, 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);
+ bool ConnectToHost (const TQString&, uint, bool);
void CloseDescriptor ();
bool AtEOF ();
bool InitializeSSL ();
@@ -52,7 +52,7 @@ protected:
ssize_t readLine (char*, ssize_t);
void setBlockSize (int);
ushort port (ushort);
- bool connectToHost (const QString&, uint, bool = 1);
+ bool connectToHost (const TQString&, uint, bool = 1);
%If ( KDE_3_2_0 - )
bool usingSSL () const;
@@ -74,7 +74,7 @@ protected:
void setConnectTimeout (int);
bool isSSLTunnelEnabled ();
void setEnableSSLTunnel (bool);
- void setRealHost (const QString&);
+ void setRealHost (const TQString&);
void doConstructorStuff ();
int verifyCertificate ();
void certificatePrompt ();
diff --git a/sip/kio/thumbcreator.sip b/sip/kio/thumbcreator.sip
index e8aff18..076dcfd 100644
--- a/sip/kio/thumbcreator.sip
+++ b/sip/kio/thumbcreator.sip
@@ -40,7 +40,7 @@ public:
BlendIcon
};
- virtual bool create (const QString&, int, int, QImage&) = 0;
+ virtual bool create (const TQString&, int, int, TQImage&) = 0;
virtual ThumbCreator::Flags flags () const;
}; // class ThumbCreator
diff --git a/sip/kmdi/kmdichildarea.sip b/sip/kmdi/kmdichildarea.sip
index 3df86c0..5fb48b6 100644
--- a/sip/kmdi/kmdichildarea.sip
+++ b/sip/kmdi/kmdichildarea.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiChildArea : QFrame
+class KMdiChildArea : TQFrame
{
%TypeHeaderCode
#include <kmdichildarea.h>
@@ -32,26 +32,26 @@ class KMdiChildArea : QFrame
public:
-//ig QPtrList<KMdiChildFrm>* m_pZ;
- QSize m_defaultChildFrmSize;
+//ig TQPtrList<KMdiChildFrm>* m_pZ;
+ TQSize m_defaultChildFrmSize;
protected:
public:
- KMdiChildArea (QWidget*);
+ KMdiChildArea (TQWidget*);
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&);
+ TQPoint getCascadePoint (int = -1);
+ void setMdiCaptionFont (const TQFont&);
+ void setMdiCaptionActiveForeColor (const TQColor&);
+ void setMdiCaptionActiveBackColor (const TQColor&);
+ void setMdiCaptionInactiveForeColor (const TQColor&);
+ void setMdiCaptionInactiveBackColor (const TQColor&);
+ static void getCaptionColors (const TQPalette&, TQColor&, TQColor&, TQColor&, TQColor&);
public slots:
void cascadeWindows ();
@@ -66,15 +66,15 @@ public slots:
protected:
void tileAllInternal (int);
- virtual void resizeEvent (QResizeEvent*);
- void mousePressEvent (QMouseEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
+ void mousePressEvent (TQMouseEvent*);
void childMinimized (KMdiChildFrm*, bool);
signals:
void noMaximizedChildFrmLeft (KMdiChildFrm*);
void nowMaximized (bool);
void sysButtonConnectionsMustChange (KMdiChildFrm*, KMdiChildFrm*);
- void popupWindowMenu (QPoint);
+ void popupWindowMenu (TQPoint);
void lastChildFrmClosed ();
//force
diff --git a/sip/kmdi/kmdichildfrm.sip b/sip/kmdi/kmdichildfrm.sip
index 62f78fb..0bfe8b4 100644
--- a/sip/kmdi/kmdichildfrm.sip
+++ b/sip/kmdi/kmdichildfrm.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiWin32IconButton : QLabel
+class KMdiWin32IconButton : TQLabel
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -32,8 +32,8 @@ class KMdiWin32IconButton : QLabel
public:
- KMdiWin32IconButton (QWidget*, const char* = 0);
- virtual void mousePressEvent (QMouseEvent*);
+ KMdiWin32IconButton (TQWidget*, const char* = 0);
+ virtual void mousePressEvent (TQMouseEvent*);
signals:
void pressed ();
@@ -41,7 +41,7 @@ signals:
}; // class KMdiWin32IconButton
-class KMdiChildFrmMoveEvent : QCustomEvent
+class KMdiChildFrmMoveEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -49,12 +49,12 @@ class KMdiChildFrmMoveEvent : QCustomEvent
public:
- KMdiChildFrmMoveEvent (QMoveEvent*);
+ KMdiChildFrmMoveEvent (TQMoveEvent*);
}; // class KMdiChildFrmMoveEvent
-class KMdiChildFrmDragBeginEvent : QCustomEvent
+class KMdiChildFrmDragBeginEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -62,12 +62,12 @@ class KMdiChildFrmDragBeginEvent : QCustomEvent
public:
- KMdiChildFrmDragBeginEvent (QMouseEvent*);
+ KMdiChildFrmDragBeginEvent (TQMouseEvent*);
}; // class KMdiChildFrmDragBeginEvent
-class KMdiChildFrmDragEndEvent : QCustomEvent
+class KMdiChildFrmDragEndEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -75,12 +75,12 @@ class KMdiChildFrmDragEndEvent : QCustomEvent
public:
- KMdiChildFrmDragEndEvent (QMouseEvent*);
+ KMdiChildFrmDragEndEvent (TQMouseEvent*);
}; // class KMdiChildFrmDragEndEvent
-class KMdiChildFrmResizeBeginEvent : QCustomEvent
+class KMdiChildFrmResizeBeginEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -88,12 +88,12 @@ class KMdiChildFrmResizeBeginEvent : QCustomEvent
public:
- KMdiChildFrmResizeBeginEvent (QMouseEvent*);
+ KMdiChildFrmResizeBeginEvent (TQMouseEvent*);
}; // class KMdiChildFrmResizeBeginEvent
-class KMdiChildFrmResizeEndEvent : QCustomEvent
+class KMdiChildFrmResizeEndEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -101,12 +101,12 @@ class KMdiChildFrmResizeEndEvent : QCustomEvent
public:
- KMdiChildFrmResizeEndEvent (QMouseEvent*);
+ KMdiChildFrmResizeEndEvent (TQMouseEvent*);
}; // class KMdiChildFrmResizeEndEvent
-class KMdiChildFrm : QFrame
+class KMdiChildFrm : TQFrame
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -129,19 +129,19 @@ protected:
public:
KMdiChildFrm (KMdiChildArea*);
void setClient (KMdiChildView*, bool = 0);
- void unsetClient (QPoint = QPoint (0 ,0 ));
- void setIcon (const QPixmap&);
- QPixmap* icon () const;
+ void unsetClient (TQPoint = TQPoint (0 ,0 ));
+ void setIcon (const TQPixmap&);
+ TQPixmap* icon () const;
void enableClose (bool);
- void setCaption (const QString&);
- const QString& caption ();
+ void setCaption (const TQString&);
+ const TQString& caption ();
void setState (KMdiChildFrm::MdiWindowState, bool = 1);
KMdiChildFrm::MdiWindowState state () const;
- QRect mdiAreaContentsRect () const;
- QRect restoreGeometry () const;
- void setRestoreGeometry (const QRect&);
+ TQRect mdiAreaContentsRect () const;
+ TQRect restoreGeometry () const;
+ void setRestoreGeometry (const TQRect&);
void updateRects ();
- QPopupMenu* systemMenu () const;
+ TQPopupMenu* systemMenu () const;
int captionHeight () const;
void redecorateButtons ();
bool isInDrag () const;
@@ -153,13 +153,13 @@ 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*);
+ virtual void resizeEvent (TQResizeEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void moveEvent (TQMoveEvent*);
+ virtual void leaveEvent (TQEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
void resizeWindow (int, int, int);
void setResizeCursor (int);
void unsetResizeCursor ();
@@ -176,14 +176,14 @@ protected slots:
void showSystemMenu ();
protected:
-//ig void linkChildren (QDict<FocusPolicy>*);
- QDict<QWidget::FocusPolicy>* unlinkChildren ();
+//ig void linkChildren (TQDict<FocusPolicy>*);
+ TQDict<TQWidget::FocusPolicy>* unlinkChildren ();
int getResizeCorner (int, int);
protected:
%If ( - KDE_3_2_2 )
- void linkChildren (QDict<QWidget::FocusPolicy>*);
+ void linkChildren (TQDict<TQWidget::FocusPolicy>*);
%End
@@ -191,8 +191,8 @@ protected:
-%MappedType QDict<QWidget::FocusPolicy>
-//converts a Python dict of QWidget::FocusPolicy
+%MappedType TQDict<TQWidget::FocusPolicy>
+//converts a Python dict of TQWidget::FocusPolicy
{
%TypeHeaderCode
#include <qdict.h>
@@ -213,12 +213,12 @@ protected:
// Get it.
- QDict<QWidget::FocusPolicy> qdict = *sipCpp;
- QDictIterator<QWidget::FocusPolicy> it (qdict);
+ TQDict<TQWidget::FocusPolicy> qdict = *sipCpp;
+ TQDictIterator<TQWidget::FocusPolicy> it (qdict);
while (it.current ())
{
- QString current_key = it.currentKey ();
+ TQString current_key = it.currentKey ();
PyObject *a0 = sipConvertFromInstance (&current_key, sipClass_QString, sipTransferObj);
PyObject *a1 = PyInt_FromLong ((long) it.current ());
@@ -236,23 +236,23 @@ protected:
%ConvertToTypeCode
- // Convert a Python dictionary to a QDict<int> on the heap.
+ // Convert a Python dictionary to a TQDict<int> on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QDict<QWidget::FocusPolicy>* qdict = new QDict<QWidget::FocusPolicy>;
+ TQDict<TQWidget::FocusPolicy>* qdict = new TQDict<TQWidget::FocusPolicy>;
PyObject *key, *value;
SIP_SSIZE_T pos = 0;
- QString *a0;
- QWidget::FocusPolicy a1;
+ TQString *a0;
+ TQWidget::FocusPolicy a1;
while (PyDict_Next(sipPy, &pos, &key, &value))
{
int iserr = 0, a0_state;
- a0 = (QString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &a0_state, &iserr);
+ a0 = (TQString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &a0_state, &iserr);
if (iserr || !PyInt_Check(value))
{
@@ -264,7 +264,7 @@ protected:
return 0;
}
- a1 = (QWidget::FocusPolicy) PyInt_AS_LONG (value);
+ a1 = (TQWidget::FocusPolicy) PyInt_AS_LONG (value);
qdict->insert (*a0, &a1);
diff --git a/sip/kmdi/kmdichildfrmcaption.sip b/sip/kmdi/kmdichildfrmcaption.sip
index 6004cf1..d057c59 100644
--- a/sip/kmdi/kmdichildfrmcaption.sip
+++ b/sip/kmdi/kmdichildfrmcaption.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiChildFrmCaption : QWidget
+class KMdiChildFrmCaption : TQWidget
{
%TypeHeaderCode
#include <kmdichildfrmcaption.h>
@@ -34,22 +34,22 @@ class KMdiChildFrmCaption : QWidget
public:
KMdiChildFrmCaption (KMdiChildFrm*);
void setActive (bool);
- void setCaption (const QString&);
+ void setCaption (const TQString&);
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);
+ virtual void paintEvent (TQPaintEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseDoubleClickEvent (TQMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
+ TQString abbreviateText (TQString, int);
public:
- QString m_szCaption;
+ TQString m_szCaption;
protected:
diff --git a/sip/kmdi/kmdichildview.sip b/sip/kmdi/kmdichildview.sip
index 874c170..344c184 100644
--- a/sip/kmdi/kmdichildview.sip
+++ b/sip/kmdi/kmdichildview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiChildView : QWidget
+class KMdiChildView : TQWidget
{
%TypeHeaderCode
#include <kmdichildview.h>
@@ -34,37 +34,37 @@ class KMdiChildView : QWidget
protected:
public:
- KMdiChildView (const QString&, QWidget* = 0, const char* = 0, WFlags = 0);
- KMdiChildView (QWidget* = 0, const char* = 0, WFlags = 0);
+ KMdiChildView (const TQString&, TQWidget* = 0, const char* = 0, WFlags = 0);
+ KMdiChildView (TQWidget* = 0, const char* = 0, WFlags = 0);
void activate ();
- void setFirstFocusableChildWidget (QWidget*);
- void setLastFocusableChildWidget (QWidget*);
- QWidget* focusedChildWidget ();
+ void setFirstFocusableChildWidget (TQWidget*);
+ void setLastFocusableChildWidget (TQWidget*);
+ TQWidget* 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&);
+ const TQString& caption () const;
+ const TQString& tabCaption () const;
+ virtual void setCaption (const TQString&);
+ virtual void setTabCaption (const TQString&);
+ virtual void setMDICaption (const TQString&);
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 ();
+ TQRect internalGeometry () const;
+ void setInternalGeometry (const TQRect&);
+ TQRect externalGeometry () const;
+ void setExternalGeometry (const TQRect&);
+ virtual TQPixmap* myIconPtr ();
virtual void minimize (bool);
virtual void maximize (bool);
- QRect restoreGeometry ();
- void setRestoreGeometry (const QRect&);
+ TQRect restoreGeometry ();
+ void setRestoreGeometry (const TQRect&);
void removeEventFilterForAllChildren ();
void setWindowMenuID (int);
virtual void setMinimumSize (int, int);
virtual void setMaximumSize (int, int);
bool isToolView () const;
void updateTimeStamp ();
- const QDateTime& getTimeStamp () const;
+ const TQDateTime& getTimeStamp () const;
public slots:
virtual void attach ();
@@ -84,12 +84,12 @@ public slots:
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*);
+ virtual void closeEvent (TQCloseEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
+ virtual void focusInEvent (TQFocusEvent*);
+ virtual void focusOutEvent (TQFocusEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
+ void trackIconAndCaptionChanges (TQWidget*);
protected slots:
void slot_childDestroyed ();
@@ -103,8 +103,8 @@ signals:
void lostFocus (KMdiChildView*);
void deactivated (KMdiChildView*);
void childWindowCloseRequest (KMdiChildView*);
- void windowCaptionChanged (const QString&);
- void tabCaptionChanged (const QString&);
+ void windowCaptionChanged (const TQString&);
+ void tabCaptionChanged (const TQString&);
void mdiParentNowMaximized (bool);
void clickedInWindowMenu (int);
void clickedInDockMenu (int);
@@ -113,8 +113,8 @@ signals:
void isRestoredNow ();
void isAttachedNow ();
void isDetachedNow ();
- void iconUpdated (QWidget*, QPixmap);
- void captionUpdated (QWidget*, const QString&);
+ void iconUpdated (TQWidget*, TQPixmap);
+ void captionUpdated (TQWidget*, const TQString&);
}; // class KMdiChildView
diff --git a/sip/kmdi/kmdimainfrm.sip b/sip/kmdi/kmdimainfrm.sip
index 5405cad..9f39aef 100644
--- a/sip/kmdi/kmdimainfrm.sip
+++ b/sip/kmdi/kmdimainfrm.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiViewCloseEvent : QCustomEvent
+class KMdiViewCloseEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdimainfrm.h>
@@ -47,16 +47,16 @@ class KMdiMainFrm : KParts::DockMainWindow
protected:
public:
- KMdiMainFrm (QWidget*, const char* = "", KMdi::MdiMode = KMdi ::ChildframeMode , WFlags = WType_TopLevel |WDestructiveClose );
+ KMdiMainFrm (TQWidget*, 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 TQPopupMenu* taskBarPopup (KMdiChildView*, bool = 0);
+ virtual TQPopupMenu* windowPopup (KMdiChildView*, bool = 1);
virtual void applyOptions ();
- KMdiChildView* findWindow (const QString&);
+ KMdiChildView* findWindow (const TQString&);
enum ExistsAs
{
@@ -66,40 +66,40 @@ public:
};
bool windowExists (KMdiChildView*, KMdiMainFrm::ExistsAs);
- virtual bool event (QEvent*);
+ virtual bool event (TQEvent*);
virtual void setSysButtonsAtMenuPosition ();
virtual int taskBarHeight ();
- virtual void setUndockPositioningOffset (QPoint);
+ virtual void setUndockPositioningOffset (TQPoint);
//ig KMdiIterator<KMdiChildView*>* createIterator ();
//ig void deleteIterator (KMdiIterator<KMdiChildView*>*);
- QPopupMenu* windowMenu () const;
- virtual void setBackgroundColor (const QColor&);
- virtual void setBackgroundPixmap (const QPixmap&);
- void setDefaultChildFrmSize (const QSize&);
- QSize defaultChildFrmSize ();
+ TQPopupMenu* windowMenu () const;
+ virtual void setBackgroundColor (const TQColor&);
+ virtual void setBackgroundPixmap (const TQPixmap&);
+ void setDefaultChildFrmSize (const TQSize&);
+ TQSize 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<KDockWidget>*, QValueList<QRect>*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
+ void findRootDockWidgets (TQPtrList<KDockWidget>*, TQValueList<TQRect>*);
void setSwitching (const bool);
bool switching () const;
public slots:
- KMdiChildView* createWrapper (QWidget*, const QString&, const QString&);
+ KMdiChildView* createWrapper (TQWidget*, const TQString&, const TQString&);
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 addWindow (KMdiChildView*, TQPoint, int = KMdi ::StandardAdd );
+ virtual void addWindow (KMdiChildView*, TQRect, int = KMdi ::StandardAdd );
+ virtual KMdiToolViewAccessor* addToolWindow (TQWidget*, KDockWidget::DockPosition = KDockWidget ::DockNone , TQWidget* = 0, int = 50, const TQString& = 0, const TQString& = 0);
+ virtual void deleteToolWindow (TQWidget*);
virtual void deleteToolWindow (KMdiToolViewAccessor*);
KMdiToolViewAccessor* createToolWindow ();
virtual void removeWindowFromMdi (KMdiChildView*);
@@ -145,14 +145,14 @@ public slots:
virtual void activateView (int);
protected:
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
virtual void createTaskBar ();
virtual void createMdiManager ();
void blockClearingOfWindowMenu (bool);
- void findToolViewsDockedToMain (QPtrList<KDockWidget>*, KDockWidget::DockPosition);
- void dockToolViewsIntoContainers (QPtrList<KDockWidget>&, KDockWidget*);
- QStringList prepareIdealToTabs (KDockWidget*);
- void idealToolViewsToStandardTabs (QStringList, KDockWidget::DockPosition, int);
+ void findToolViewsDockedToMain (TQPtrList<KDockWidget>*, KDockWidget::DockPosition);
+ void dockToolViewsIntoContainers (TQPtrList<KDockWidget>&, KDockWidget*);
+ TQStringList prepareIdealToTabs (KDockWidget*);
+ void idealToolViewsToStandardTabs (TQStringList, KDockWidget::DockPosition, int);
//force
%If ( KDE_3_4_0 - )
KTabWidget* tabWidget() const;
@@ -172,7 +172,7 @@ protected slots:
void updateSysButtonConnections (KMdiChildFrm*, KMdiChildFrm*);
void windowMenuItemActivated (int);
void dockMenuItemActivated (int);
- void popupWindowMenu (QPoint);
+ void popupWindowMenu (TQPoint);
void dragEndTimeOut ();
void closeViewButtonPressed ();
@@ -180,7 +180,7 @@ signals:
void lastChildFrmClosed ();
void lastChildViewClosed ();
void leftTopLevelMode ();
- void childViewIsDetachedNow (QWidget*);
+ void childViewIsDetachedNow (TQWidget*);
void collapseOverlapContainers ();
void mdiModeHasBeenChangedTo (KMdi::MdiMode);
void viewActivated (KMdiChildView*);
@@ -200,7 +200,7 @@ signals:
-%MappedType QPtrList<KDockWidget>
+%MappedType TQPtrList<KDockWidget>
//converts a Python list of KDockWidget
{
%TypeHeaderCode
@@ -220,7 +220,7 @@ signals:
// Get it.
- QPtrList<KDockWidget> *cpplist = (QPtrList<KDockWidget> *)sipCpp;
+ TQPtrList<KDockWidget> *cpplist = (TQPtrList<KDockWidget> *)sipCpp;
KDockWidget *cpp;
PyObject *inst;
@@ -242,7 +242,7 @@ signals:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KDockWidget> *cpplist = new QPtrList<KDockWidget>;
+ TQPtrList<KDockWidget> *cpplist = new TQPtrList<KDockWidget>;
PyObject *elem;
KDockWidget *cpp;
@@ -270,8 +270,8 @@ signals:
};
-%MappedType QValueList<QRect>
-//converts a Python list of QRect
+%MappedType TQValueList<TQRect>
+//converts a Python list of TQRect
{
%TypeHeaderCode
#include <qvaluelist.h>
@@ -286,14 +286,14 @@ signals:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<QRect> *cpplist = (QValueList<QRect> *)sipCpp;
+ TQValueList<TQRect> *cpplist = (TQValueList<TQRect> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<QRect>::Iterator it;
+ TQValueList<TQRect>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- if (((inst = sipConvertFromNewType(new QRect(*it), sipType_QRect, NULL)) == NULL)
+ if (((inst = sipConvertFromNewType(new TQRect(*it), sipType_QRect, NULL)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -309,16 +309,16 @@ signals:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<QRect> *cpplist = new QValueList<QRect>;
+ TQValueList<TQRect> *cpplist = new TQValueList<TQRect>;
PyObject *elem;
- QRect *cpp;
+ TQRect *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (QRect *)sipForceConvertToType(elem, sipType_QRect, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TQRect *)sipForceConvertToType(elem, sipType_QRect, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
diff --git a/sip/kmdi/kmditaskbar.sip b/sip/kmdi/kmditaskbar.sip
index 023a6e3..d7fde53 100644
--- a/sip/kmdi/kmditaskbar.sip
+++ b/sip/kmdi/kmditaskbar.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiTaskBarButton : QPushButton
+class KMdiTaskBarButton : TQPushButton
{
%TypeHeaderCode
#include <kmditaskbar.h>
@@ -33,9 +33,9 @@ class KMdiTaskBarButton : QPushButton
public:
KMdiTaskBarButton (KMdiTaskBar*, KMdiChildView*);
- QString actualText () const;
- void fitText (const QString&, int);
- void setText (const QString&);
+ TQString actualText () const;
+ void fitText (const TQString&, int);
+ void setText (const TQString&);
signals:
void clicked (KMdiChildView*);
@@ -44,10 +44,10 @@ signals:
void buttonTextChanged (int);
public slots:
- void setNewText (const QString&);
+ void setNewText (const TQString&);
protected slots:
- void mousePressEvent (QMouseEvent*);
+ void mousePressEvent (TQMouseEvent*);
public:
KMdiChildView* m_pWindow;
@@ -65,7 +65,7 @@ class KMdiTaskBar : KToolBar
public:
- KMdiTaskBar (KMdiMainFrm*, Qt::Dock);
+ KMdiTaskBar (KMdiMainFrm*, TQt::Dock);
KMdiTaskBarButton* addWinButton (KMdiChildView*);
void removeWinButton (KMdiChildView*, bool = 1);
KMdiTaskBarButton* getNextWindowButton (bool, KMdiChildView*);
@@ -74,7 +74,7 @@ public:
bool isSwitchedOn () const;
protected:
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
protected slots:
void layoutTaskBar (int = 0);
diff --git a/sip/kmdi/kmditoolviewaccessor.sip b/sip/kmdi/kmditoolviewaccessor.sip
index c2ea2d7..a0a8a46 100644
--- a/sip/kmdi/kmditoolviewaccessor.sip
+++ b/sip/kmdi/kmditoolviewaccessor.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiToolViewAccessor : QObject
+class KMdiToolViewAccessor : TQObject
{
%TypeHeaderCode
#include <kmditoolviewaccessor.h>
@@ -32,22 +32,22 @@ class KMdiToolViewAccessor : QObject
private:
- KMdiToolViewAccessor (KMdiMainFrm*, QWidget*, const QString& = 0, const QString& = 0);
+ KMdiToolViewAccessor (KMdiMainFrm*, TQWidget*, const TQString& = 0, const TQString& = 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);
+ TQWidget* wrapperWidget ();
+ TQWidget* wrappedWidget ();
+ void place (KDockWidget::DockPosition = KDockWidget ::DockNone , TQWidget* = 0, int = 50);
+ void placeAndShow (KDockWidget::DockPosition = KDockWidget ::DockNone , TQWidget* = 0, int = 50);
void show ();
public slots:
- void setWidgetToWrap (QWidget*, const QString& = 0, const QString& = 0);
+ void setWidgetToWrap (TQWidget*, const TQString& = 0, const TQString& = 0);
void hide ();
protected:
- bool eventFilter (QObject*, QEvent*);
+ bool eventFilter (TQObject*, TQEvent*);
}; // class KMdiToolViewAccessor
diff --git a/sip/kparts/browserextension.sip b/sip/kparts/browserextension.sip
index c6c37db..b994de5 100644
--- a/sip/kparts/browserextension.sip
+++ b/sip/kparts/browserextension.sip
@@ -36,15 +36,15 @@ class URLArgs
public:
URLArgs ();
URLArgs (const KParts::URLArgs&);
- URLArgs (bool, int, int, const QString& = QString ::null );
- QStringList docState;
+ URLArgs (bool, int, int, const TQString& = TQString ::null );
+ TQStringList docState;
bool reload;
int xOffset;
int yOffset;
- QString serviceType;
- QByteArray postData;
- void setContentType (const QString&);
- QString contentType () const;
+ TQString serviceType;
+ TQByteArray postData;
+ void setContentType (const TQString&);
+ TQString contentType () const;
void setDoPost (bool);
bool doPost () const;
void setLockHistory (bool);
@@ -55,8 +55,8 @@ public:
bool newTab () const;
%End
- QMap<QString,QString>& metaData ();
- QString frameName;
+ TQMap<TQString,TQString>& metaData ();
+ TQString frameName;
bool trustedSource;
%If ( KDE_3_1_3 - )
@@ -85,7 +85,7 @@ class WindowArgs
public:
WindowArgs ();
WindowArgs (const KParts::WindowArgs&);
- WindowArgs (const QRect&, bool, bool, bool, bool, bool);
+ WindowArgs (const TQRect&, bool, bool, bool, bool, bool);
WindowArgs (int, int, int, int, bool, bool, bool, bool, bool);
int x;
int y;
@@ -119,12 +119,12 @@ public:
KParts::ReadOnlyPart* part () const;
KURL url () const;
KParts::URLArgs args () const;
- static bool test (const QEvent*);
+ static bool test (const TQEvent*);
}; // class OpenURLEvent
-class BrowserExtension : QObject
+class BrowserExtension : TQObject
{
%TypeHeaderCode
#include <browserextension.h>
@@ -159,8 +159,8 @@ public:
KParts::URLArgs urlArgs () const;
virtual int xOffset ();
virtual int yOffset ();
- virtual void saveState (QDataStream&);
- virtual void restoreState (QDataStream&);
+ virtual void saveState (TQDataStream&);
+ virtual void restoreState (TQDataStream&);
bool isURLDropHandlingEnabled () const;
void setURLDropHandlingEnabled (bool);
void setBrowserInterface (KParts::BrowserInterface*);
@@ -168,13 +168,13 @@ public:
bool isActionEnabled (const char*) const;
%If ( KDE_3_5_0 - )
- QString actionText (const char*) const;
+ TQString actionText (const char*) const;
%End
- typedef QMap<QCString,QCString> ActionSlotMap;
+ typedef TQMap<TQCString,TQCString> ActionSlotMap;
static KParts::BrowserExtension::ActionSlotMap actionSlotMap ();
static KParts::BrowserExtension::ActionSlotMap* actionSlotMapPtr ();
- static KParts::BrowserExtension* childObject (QObject*);
+ static KParts::BrowserExtension* childObject (TQObject*);
%If ( KDE_3_2_0 - )
void pasteRequest ();
@@ -185,42 +185,42 @@ signals:
void enableAction (const char*, bool);
%If ( KDE_3_5_0 - )
- void setActionText (const char*, const QString&);
+ void setActionText (const char*, const TQString&);
%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 setLocationBarURL (const TQString&);
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&);
+ void infoMessage (const TQString&);
+ void popupMenu (const TQPoint&, const KFileItemList&);
+ void popupMenu (KXMLGUIClient*, const TQPoint&, const KFileItemList&);
%If ( KDE_3_2_0 - )
- void popupMenu (KXMLGUIClient*, const QPoint&, const KFileItemList&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags);
+ void popupMenu (KXMLGUIClient*, const TQPoint&, 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);
+ void popupMenu (const TQPoint&, const KURL&, const TQString&, mode_t = -1);
+ void popupMenu (KXMLGUIClient*, const TQPoint&, const KURL&, const TQString&, mode_t = -1);
%If ( KDE_3_2_0 - )
- void popupMenu (KXMLGUIClient*, const QPoint&, const KURL&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags, mode_t = -1);
+ void popupMenu (KXMLGUIClient*, const TQPoint&, const KURL&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags, mode_t = -1);
%End
void selectionInfo (const KFileItemList&);
- void selectionInfo (const QString&);
+ void selectionInfo (const TQString&);
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 addWebSideBar (const KURL&, const TQString&);
void moveTopLevelWidget (int, int);
void resizeTopLevelWidget (int, int);
@@ -239,7 +239,7 @@ signals:
public:
- typedef QMap<QCString,int> ActionNumberMap;
+ typedef TQMap<TQCString,int> ActionNumberMap;
protected:
//igx virtual void virtual_hook (int, void*);
@@ -282,7 +282,7 @@ public:
}; // class BrowserExtension
-class BrowserHostExtension : QObject
+class BrowserHostExtension : TQObject
{
%TypeHeaderCode
#include <browserextension.h>
@@ -291,15 +291,15 @@ class BrowserHostExtension : QObject
public:
BrowserHostExtension (KParts::ReadOnlyPart* /TransferThis/, const char* = 0);
- virtual QStringList frameNames () const;
- virtual const QPtrList<KParts::ReadOnlyPart> frames () const;
+ virtual TQStringList frameNames () const;
+ virtual const TQPtrList<KParts::ReadOnlyPart> frames () const;
%If ( KDE_3_3_0 - )
- KParts::BrowserHostExtension* findFrameParent (KParts::ReadOnlyPart*, const QString&);
+ KParts::BrowserHostExtension* findFrameParent (KParts::ReadOnlyPart*, const TQString&);
%End
virtual bool openURLInFrame (const KURL&, const KParts::URLArgs&);
- static KParts::BrowserHostExtension* childObject (QObject*);
+ static KParts::BrowserHostExtension* childObject (TQObject*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -309,7 +309,7 @@ protected:
%If ( KDE_3_1_0 - )
-class LiveConnectExtension : QObject
+class LiveConnectExtension : TQObject
{
%TypeHeaderCode
#include <browserextension.h>
@@ -328,16 +328,16 @@ public:
TypeString
};
-//ig typedef QValueList<QPair<Type,QString>> ArgList;
+//ig typedef TQValueList<TQPair<Type,TQString>> 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 bool get (const ulong, const TQString&, KParts::LiveConnectExtension::Type&, ulong&, TQString&);
+ virtual bool put (const ulong, const TQString&, const TQString&);
+ virtual bool call (const ulong, const TQString&, const TQStringList&, KParts::LiveConnectExtension::Type&, ulong&, TQString&);
virtual void unregister (const ulong);
- static KParts::LiveConnectExtension* childObject (QObject*);
+ static KParts::LiveConnectExtension* childObject (TQObject*);
signals:
-//ig virtual void partEvent (const ulong, const QString&, const KParts::LiveConnectExtension::ArgList&);
+//ig virtual void partEvent (const ulong, const TQString&, const KParts::LiveConnectExtension::ArgList&);
}; // class LiveConnectExtension
@@ -347,14 +347,14 @@ signals:
%If ( - KDE_3_5_3 )
-//ig typedef QPtrList<KFileItem> KFileItemList;
+//ig typedef TQPtrList<KFileItem> KFileItemList;
%End
//force
-QMap<QCString,int> testQMapQCStringInt (QMap<QCString,int>);
+TQMap<TQCString,int> testTQMapTQCStringInt (TQMap<TQCString,int>);
%MethodCode
-//takes dict | (QMap<QCString,int>)
-//returns (QMap<QCString,int>)
+//takes dict | (TQMap<TQCString,int>)
+//returns (TQMap<TQCString,int>)
sipRes = a0;
%End
@@ -362,8 +362,8 @@ QMap<QCString,int> testQMapQCStringInt (QMap<QCString,int>);
//end
-%MappedType QMap<QCString,QCString>
-//converts a Python dict of QCString:QCString
+%MappedType TQMap<TQCString,TQCString>
+//converts a Python dict of TQCString:TQCString
{
%TypeHeaderCode
#include <qmap.h>
@@ -384,17 +384,17 @@ QMap<QCString,int> testQMapQCStringInt (QMap<QCString,int>);
// Get it.
- const QMap<QCString,QCString> cppmap = *sipCpp;
- QMap<QCString,QCString>::ConstIterator it;
+ const TQMap<TQCString,TQCString> cppmap = *sipCpp;
+ TQMap<TQCString,TQCString>::ConstIterator it;
for (it = cppmap.begin (); it != cppmap.end (); ++it)
{
- QCString acpp = it.key ();
- QCString bcpp = it.data ();
+ TQCString acpp = it.key ();
+ TQCString bcpp = it.data ();
PyObject *ainst;
PyObject *binst = NULL;
- if (((ainst = sipConvertFromNewType(new QCString (acpp), sipType_QCString, NULL)) == NULL)
- || ((binst = sipConvertFromNewType(new QCString (bcpp), sipType_QCString, NULL)) == NULL)
+ if (((ainst = sipConvertFromNewType(new TQCString (acpp), sipType_QCString, NULL)) == NULL)
+ || ((binst = sipConvertFromNewType(new TQCString (bcpp), sipType_QCString, NULL)) == NULL)
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
Py_XDECREF (ainst);
@@ -409,24 +409,24 @@ QMap<QCString,int> testQMapQCStringInt (QMap<QCString,int>);
%ConvertToTypeCode
- // Convert a Python dictionary to a QMap on the heap.
+ // Convert a Python dictionary to a TQMap on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QCString,QCString> *cppmap = new QMap<QCString,QCString>;
+ TQMap<TQCString,TQCString> *cppmap = new TQMap<TQCString,TQCString>;
PyObject *aelem, *belem;
SIP_SSIZE_T pos = 0;
- QCString *acpp;
- QCString *bcpp;
+ TQCString *acpp;
+ TQCString *bcpp;
while (PyDict_Next(sipPy, &pos, &aelem, &belem))
{
int iserr = 0;
- acpp = (QCString *)sipForceConvertToType(aelem, sipType_QCString, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
- bcpp = (QCString *)sipForceConvertToType(belem, sipType_QCString, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ acpp = (TQCString *)sipForceConvertToType(aelem, sipType_QCString, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ bcpp = (TQCString *)sipForceConvertToType(belem, sipType_QCString, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
@@ -445,8 +445,8 @@ QMap<QCString,int> testQMapQCStringInt (QMap<QCString,int>);
};
-%MappedType QMap<QCString,int>
-//converts a Python dict of QCString:int
+%MappedType TQMap<TQCString,int>
+//converts a Python dict of TQCString:int
{
%TypeHeaderCode
#include <qmap.h>
@@ -467,16 +467,16 @@ QMap<QCString,int> testQMapQCStringInt (QMap<QCString,int>);
// Get it.
- const QMap<QCString,int> cppmap = *sipCpp;
- QMap<QCString,int>::ConstIterator it;
+ const TQMap<TQCString,int> cppmap = *sipCpp;
+ TQMap<TQCString,int>::ConstIterator it;
for (it = cppmap.begin (); it != cppmap.end (); ++it)
{
- QCString acpp = it.key ();
+ TQCString acpp = it.key ();
int bcpp = it.data ();
PyObject *ainst;
PyObject *binst = NULL;
- if (((ainst = sipConvertFromNewType(new QCString (acpp), sipType_QCString, NULL)) == NULL)
+ if (((ainst = sipConvertFromNewType(new TQCString (acpp), sipType_QCString, NULL)) == NULL)
|| ((binst = PyInt_FromLong (bcpp)) < 0)
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
@@ -492,23 +492,23 @@ QMap<QCString,int> testQMapQCStringInt (QMap<QCString,int>);
%ConvertToTypeCode
- // Convert a Python dictionary to a QMap on the heap.
+ // Convert a Python dictionary to a TQMap on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QCString,int> *cppmap = new QMap<QCString,int>;
+ TQMap<TQCString,int> *cppmap = new TQMap<TQCString,int>;
PyObject *aelem, *belem;
SIP_SSIZE_T pos = 0;
- QCString *acpp;
+ TQCString *acpp;
int bcpp;
while (PyDict_Next(sipPy, &pos, &aelem, &belem))
{
int iserr = 0;
- acpp = (QCString *)sipForceConvertToType(aelem, sipType_QCString, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ acpp = (TQCString *)sipForceConvertToType(aelem, sipType_QCString, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr || !PyInt_Check (belem))
{
@@ -529,7 +529,7 @@ QMap<QCString,int> testQMapQCStringInt (QMap<QCString,int>);
};
-%MappedType QPtrList<KParts::ReadOnlyPart>
+%MappedType TQPtrList<KParts::ReadOnlyPart>
//converts a Python list of KParts.ReadOnlyPart
{
%TypeHeaderCode
@@ -549,7 +549,7 @@ QMap<QCString,int> testQMapQCStringInt (QMap<QCString,int>);
// Get it.
- QPtrList<KParts::ReadOnlyPart> *cpplist = (QPtrList<KParts::ReadOnlyPart> *)sipCpp;
+ TQPtrList<KParts::ReadOnlyPart> *cpplist = (TQPtrList<KParts::ReadOnlyPart> *)sipCpp;
KParts::ReadOnlyPart *cpp;
PyObject *inst;
@@ -571,7 +571,7 @@ QMap<QCString,int> testQMapQCStringInt (QMap<QCString,int>);
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KParts::ReadOnlyPart> *cpplist = new QPtrList<KParts::ReadOnlyPart>;
+ TQPtrList<KParts::ReadOnlyPart> *cpplist = new TQPtrList<KParts::ReadOnlyPart>;
PyObject *elem;
KParts::ReadOnlyPart *cpp;
diff --git a/sip/kparts/browserinterface.sip b/sip/kparts/browserinterface.sip
index 06785f6..b57ad05 100644
--- a/sip/kparts/browserinterface.sip
+++ b/sip/kparts/browserinterface.sip
@@ -26,7 +26,7 @@
namespace KParts
{
-class BrowserInterface : QObject
+class BrowserInterface : TQObject
{
%TypeHeaderCode
#include <browserinterface.h>
@@ -34,8 +34,8 @@ class BrowserInterface : QObject
public:
- BrowserInterface (QObject* /TransferThis/, const char* = 0);
- void callMethod (const char*, const QVariant&);
+ BrowserInterface (TQObject* /TransferThis/, const char* = 0);
+ void callMethod (const char*, const TQVariant&);
}; // class BrowserInterface
diff --git a/sip/kparts/browserrun.sip b/sip/kparts/browserrun.sip
index 8002ce7..ad2b14c 100644
--- a/sip/kparts/browserrun.sip
+++ b/sip/kparts/browserrun.sip
@@ -34,10 +34,10 @@ class BrowserRun : KRun
public:
- BrowserRun (const KURL&, const KParts::URLArgs&, KParts::ReadOnlyPart*, QWidget*, bool, bool);
+ BrowserRun (const KURL&, const KParts::URLArgs&, KParts::ReadOnlyPart*, TQWidget*, bool, bool);
%If ( KDE_3_1_0 - )
- BrowserRun (const KURL&, const KParts::URLArgs&, KParts::ReadOnlyPart*, QWidget*, bool, bool, bool);
+ BrowserRun (const KURL&, const KParts::URLArgs&, KParts::ReadOnlyPart*, TQWidget*, bool, bool, bool);
%End
KURL url () const;
@@ -46,10 +46,10 @@ public:
bool hideErrorDialog () const;
%If ( KDE_3_2_0 - )
- QString suggestedFilename () const;
+ TQString suggestedFilename () const;
%If ( KDE_3_5_2 - )
- QString contentDisposition () const;
+ TQString contentDisposition () const;
bool serverSuggestsSave () const;
%End
@@ -65,7 +65,7 @@ public:
Cancel
};
- static KParts::BrowserRun::AskSaveResult askSave (const KURL&, KService::Ptr, const QString&, const QString& = QString ::null );
+ static KParts::BrowserRun::AskSaveResult askSave (const KURL&, KService::Ptr, const TQString&, const TQString& = TQString ::null );
%If ( KDE_3_5_2 - )
@@ -79,19 +79,19 @@ public:
%If ( KDE_3_2_0 - )
- static KParts::BrowserRun::AskSaveResult askEmbedOrSave (const KURL&, const QString&, const QString& = QString ::null , int = 0);
+ static KParts::BrowserRun::AskSaveResult askEmbedOrSave (const KURL&, const TQString&, const TQString& = TQString ::null , int = 0);
%End
- virtual void save (const KURL&, const QString&);
+ virtual void save (const KURL&, const TQString&);
%If ( KDE_3_2_0 - )
- static void simpleSave (const KURL&, const QString&, QWidget*);
+ static void simpleSave (const KURL&, const TQString&, TQWidget*);
%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&);
+ static void simpleSave (const KURL&, const TQString&);
+ static bool allowExecution (const TQString&, const KURL&);
+ static bool isExecutable (const TQString&);
+ static bool isTextExecutable (const TQString&);
protected:
virtual void scanFile ();
@@ -101,11 +101,11 @@ protected:
%End
virtual void handleError (KIO::Job*);
-//ig KParts::BrowserRun::NonEmbeddableResult handleNonEmbeddable (const QString&);
+//ig KParts::BrowserRun::NonEmbeddableResult handleNonEmbeddable (const TQString&);
protected slots:
void slotBrowserScanFinished (KIO::Job*);
- void slotBrowserMimetype (KIO::Job*, const QString&);
+ void slotBrowserMimetype (KIO::Job*, const TQString&);
void slotCopyToTempFileResult (KIO::Job*);
virtual void slotStatResult (KIO::Job*);
diff --git a/sip/kparts/dockmainwindow.sip b/sip/kparts/dockmainwindow.sip
index 4d6d693..b2a7fa3 100644
--- a/sip/kparts/dockmainwindow.sip
+++ b/sip/kparts/dockmainwindow.sip
@@ -34,11 +34,11 @@ class DockMainWindow : KDockMainWindow, KParts::PartBase
public:
- DockMainWindow (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = WDestructiveClose );
+ DockMainWindow (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = WDestructiveClose );
protected slots:
void createGUI (KParts::Part*);
- virtual void slotSetStatusBarText (const QString&);
+ virtual void slotSetStatusBarText (const TQString&);
protected:
virtual void createShellGUI (bool = 1);
diff --git a/sip/kparts/event.sip b/sip/kparts/event.sip
index c1014ff..1288e9b 100644
--- a/sip/kparts/event.sip
+++ b/sip/kparts/event.sip
@@ -26,7 +26,7 @@
namespace KParts
{
-class Event : QCustomEvent
+class Event : TQCustomEvent
{
%TypeHeaderCode
#include <event.h>
@@ -36,8 +36,8 @@ class Event : QCustomEvent
public:
Event (const char*);
virtual const char* eventName () const;
- static bool test (const QEvent*);
- static bool test (const QEvent*, const char*);
+ static bool test (const TQEvent*);
+ static bool test (const TQEvent*, const char*);
}; // class Event
@@ -52,7 +52,7 @@ class GUIActivateEvent : KParts::Event
public:
GUIActivateEvent (bool);
bool activated () const;
- static bool test (const QEvent*);
+ static bool test (const TQEvent*);
}; // class GUIActivateEvent
@@ -65,11 +65,11 @@ class PartActivateEvent : KParts::Event
public:
- PartActivateEvent (bool, KParts::Part*, QWidget*);
+ PartActivateEvent (bool, KParts::Part*, TQWidget*);
bool activated () const;
KParts::Part* part () const;
- QWidget* widget () const;
- static bool test (const QEvent*);
+ TQWidget* widget () const;
+ static bool test (const TQEvent*);
}; // class PartActivateEvent
@@ -82,11 +82,11 @@ class PartSelectEvent : KParts::Event
public:
- PartSelectEvent (bool, KParts::Part*, QWidget*);
+ PartSelectEvent (bool, KParts::Part*, TQWidget*);
bool selected () const;
KParts::Part* part () const;
- QWidget* widget () const;
- static bool test (const QEvent*);
+ TQWidget* widget () const;
+ static bool test (const TQEvent*);
}; // class PartSelectEvent
diff --git a/sip/kparts/factory.sip b/sip/kparts/factory.sip
index f97cebf..6b919e2 100644
--- a/sip/kparts/factory.sip
+++ b/sip/kparts/factory.sip
@@ -34,18 +34,18 @@ class Factory : KLibFactory
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 ());
+ Factory (TQObject* /TransferThis/ = 0, const char* = 0);
+ KParts::Part* createPart (TQWidget* = 0, const char* = 0, TQObject* /Transfer/ = 0, const char* = 0, const char* = "KParts::Part", const TQStringList& = TQStringList ());
%If ( KDE_3_2_0 - )
const KInstance* partInstance ();
- static const KInstance* partInstanceFromLibrary (const QCString&);
+ static const KInstance* partInstanceFromLibrary (const TQCString&);
%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 ());
+ virtual KParts::Part* createPartObject (TQWidget* = 0, const char* = 0, TQObject* /Transfer/ = 0, const char* = 0, const char* = "KParts::Part", const TQStringList& = TQStringList ());
+ virtual TQObject* createObject (TQObject* /Transfer/ = 0, const char* = 0, const char* = "TQObject", const TQStringList& = TQStringList ());
}; // class Factory
diff --git a/sip/kparts/historyprovider.sip b/sip/kparts/historyprovider.sip
index ec0bafb..d562810 100644
--- a/sip/kparts/historyprovider.sip
+++ b/sip/kparts/historyprovider.sip
@@ -26,7 +26,7 @@
namespace KParts
{
-class HistoryProvider : QObject
+class HistoryProvider : TQObject
{
%TypeHeaderCode
#include <historyprovider.h>
@@ -35,15 +35,15 @@ class HistoryProvider : QObject
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&);
+ HistoryProvider (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual bool contains (const TQString&) const;
+ virtual void insert (const TQString&);
+ virtual void remove (const TQString&);
virtual void clear ();
signals:
void cleared ();
- void updated (const QStringList&);
+ void updated (const TQStringList&);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/kparts/mainwindow.sip b/sip/kparts/mainwindow.sip
index 3fa7d3e..181af5f 100644
--- a/sip/kparts/mainwindow.sip
+++ b/sip/kparts/mainwindow.sip
@@ -34,17 +34,17 @@ class MainWindow : KMainWindow, KParts::PartBase
public:
- MainWindow (QWidget* /TransferThis/, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose );
+ MainWindow (TQWidget* /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 );
+ MainWindow (int, TQWidget* /TransferThis/, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose );
%End
protected slots:
void createGUI (KParts::Part*);
- virtual void slotSetStatusBarText (const QString&);
+ virtual void slotSetStatusBarText (const TQString&);
%If ( KDE_3_4_0 - )
void saveNewToolbarConfig ();
diff --git a/sip/kparts/part.sip b/sip/kparts/part.sip
index cddc3c5..c1f5758 100644
--- a/sip/kparts/part.sip
+++ b/sip/kparts/part.sip
@@ -35,15 +35,15 @@ class PartBase : KXMLGUIClient
public:
PartBase ();
- void setPartObject (QObject*);
- QObject* partObject () const;
+ void setPartObject (TQObject*);
+ TQObject* partObject () const;
protected:
virtual void setInstance (KInstance*);
virtual void setInstance (KInstance*, bool);
%If ( KDE_3_1_0 - )
- void loadPlugins (QObject* /Transfer/, KXMLGUIClient*, KInstance*);
+ void loadPlugins (TQObject* /Transfer/, KXMLGUIClient*, KInstance*);
//ig void setPluginLoadingMode (KParts::PartBase::PluginLoadingMode);
%End
@@ -51,7 +51,7 @@ protected:
}; // class PartBase
-class Part : QObject, KParts::PartBase
+class Part : TQObject, KParts::PartBase
{
%TypeHeaderCode
#include <part.h>
@@ -59,26 +59,26 @@ class Part : QObject, KParts::PartBase
public:
- Part (QObject* /TransferThis/ = 0, const char* = 0);
- virtual void embed (QWidget*);
- virtual QWidget* widget ();
+ Part (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual void embed (TQWidget*);
+ virtual TQWidget* widget ();
virtual void setManager (KParts::PartManager*);
KParts::PartManager* manager ();
- virtual KParts::Part* hitTest (QWidget*, const QPoint&);
+ virtual KParts::Part* hitTest (TQWidget*, const TQPoint&);
virtual void setSelectable (bool);
bool isSelectable () const;
signals:
- void setWindowCaption (const QString&);
- void setStatusBarText (const QString&);
+ void setWindowCaption (const TQString&);
+ void setStatusBarText (const TQString&);
protected:
- virtual void setWidget (QWidget*);
- virtual void customEvent (QCustomEvent*);
+ virtual void setWidget (TQWidget*);
+ virtual void customEvent (TQCustomEvent*);
virtual void partActivateEvent (KParts::PartActivateEvent*);
virtual void partSelectEvent (KParts::PartSelectEvent*);
virtual void guiActivateEvent (KParts::GUIActivateEvent*);
- QWidget* hostContainer (const QString&);
+ TQWidget* hostContainer (const TQString&);
//force
%ConvertToSubClassCode
@@ -123,7 +123,7 @@ class ReadOnlyPart : KParts::Part
public:
- ReadOnlyPart (QObject* /TransferThis/ = 0, const char* = 0);
+ ReadOnlyPart (TQObject* /TransferThis/ = 0, const char* = 0);
void setProgressInfoEnabled (bool);
bool isProgressInfoEnabled () const;
void showProgressInfo (bool);
@@ -136,15 +136,15 @@ public:
virtual bool closeURL ();
public:
- bool openStream (const QString&, const KURL&);
- bool writeStream (const QByteArray&);
+ bool openStream (const TQString&, const KURL&);
+ bool writeStream (const TQByteArray&);
bool closeStream ();
signals:
void started (KIO::Job*);
void completed ();
void completed (bool);
- void canceled (const QString&);
+ void canceled (const TQString&);
protected slots:
void slotJobFinished (KIO::Job*);
@@ -170,7 +170,7 @@ class ReadWritePart : KParts::ReadOnlyPart
public:
- ReadWritePart (QObject* /TransferThis/ = 0, const char* = 0);
+ ReadWritePart (TQObject* /TransferThis/ = 0, const char* = 0);
bool isReadWrite () const;
virtual void setReadWrite (bool = 1);
bool isModified () const;
@@ -222,9 +222,9 @@ protected slots:
// to create a KParts::ReadOnlyPart. It executes the following C++ code:
// </para>
// <pre class="PROGRAMLISTING">
-// KParts::ReadOnlyPart *createReadOnlyPart (const QString&amp; lib, QObject *parent,
-// const QString&amp; name, const char *className,
-// const QStringList &amp;args)
+// KParts::ReadOnlyPart *createReadOnlyPart (const TQString&amp; lib, TQObject *parent,
+// const TQString&amp; name, const char *className,
+// const TQStringList &amp;args)
// {
// KLibFactory *factory = KLibLoader::self ()-&gt;factory ((const char *)lib);
//
@@ -246,16 +246,16 @@ protected slots:
// Usage: KParts.createReadOnlyPart (lib, parent, name, className, args)
// </para>
//end
-KParts::ReadOnlyPart* createReadOnlyPart (const QString&, QObject* = 0, const QString& = QString ::null , const char* = "KParts::ReadOnlyPart", const QStringList& = QStringList ());
+KParts::ReadOnlyPart* createReadOnlyPart (const TQString&, TQObject* = 0, const TQString& = TQString ::null , const char* = "KParts::ReadOnlyPart", const TQStringList& = TQStringList ());
//doc
// <para>
// This is a PyKDE-only function that handles the machinery necessary
// to create a KParts::ReadWritePart. It executes the following C++ code:
// </para>
// <pre class="PROGRAMLISTING">
-// KParts::ReadWritePart *createReadWritePart (const QString&amp; lib, QObject *parent,
-// const QString&amp; name, const char *className,
-// const QStringList &amp;args)
+// KParts::ReadWritePart *createReadWritePart (const TQString&amp; lib, TQObject *parent,
+// const TQString&amp; name, const char *className,
+// const TQStringList &amp;args)
// {
// KLibFactory *factory = KLibLoader::self ()-&gt;factory ((const char *)lib);
//
@@ -277,15 +277,15 @@ KParts::ReadOnlyPart* createReadOnlyPart (const QString&, QObject* = 0, const QS
// Usage: KParts.createReadWritePart (lib, parent, name, className, args)
// </para>
//end
-KParts::ReadWritePart* createReadWritePart (const QString&, QObject* = 0, const QString& = QString ::null , const char* = "KParts::ReadWritePart", const QStringList& = QStringList ());
+KParts::ReadWritePart* createReadWritePart (const TQString&, TQObject* = 0, const TQString& = TQString ::null , const char* = "KParts::ReadWritePart", const TQStringList& = TQStringList ());
//end
%ModuleCode
#include <klibloader.h>
-KParts::ReadOnlyPart *createReadOnlyPart (const QString& lib, QObject *parent, const QString& name, const char *className,
- const QStringList &args)
+KParts::ReadOnlyPart *createReadOnlyPart (const TQString& lib, TQObject *parent, const TQString& name, const char *className,
+ const TQStringList &args)
{
KParts::ReadOnlyPart *res = NULL;
@@ -297,8 +297,8 @@ KParts::ReadOnlyPart *createReadOnlyPart (const QString& lib, QObject *parent, c
return res;
}
-KParts::ReadWritePart *createReadWritePart (const QString& lib, QObject *parent, const QString& name, const char *className,
- const QStringList &args)
+KParts::ReadWritePart *createReadWritePart (const TQString& lib, TQObject *parent, const TQString& name, const char *className,
+ const TQStringList &args)
{
KParts::ReadWritePart *res = NULL;
diff --git a/sip/kparts/partmanager.sip b/sip/kparts/partmanager.sip
index 4865323..98f3f5e 100644
--- a/sip/kparts/partmanager.sip
+++ b/sip/kparts/partmanager.sip
@@ -26,7 +26,7 @@
namespace KParts
{
-class PartManager : QObject
+class PartManager : TQObject
{
%TypeHeaderCode
#include <partmanager.h>
@@ -54,8 +54,8 @@ public:
%End
- PartManager (QWidget* /TransferThis/, const char* = 0);
- PartManager (QWidget*, QObject* /TransferThis/, const char* = 0);
+ PartManager (TQWidget* /TransferThis/, const char* = 0);
+ PartManager (TQWidget*, TQObject* /TransferThis/, const char* = 0);
void setSelectionPolicy (KParts::PartManager::SelectionPolicy);
KParts::PartManager::SelectionPolicy selectionPolicy () const;
void setAllowNestedParts (bool);
@@ -68,19 +68,19 @@ public:
short activationButtonMask () const;
%End
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
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 void setActivePart (KParts::Part*, TQWidget* = 0);
virtual KParts::Part* activePart () const;
- virtual QWidget* activeWidget () const;
- virtual void setSelectedPart (KParts::Part*, QWidget* = 0);
+ virtual TQWidget* activeWidget () const;
+ virtual void setSelectedPart (KParts::Part*, TQWidget* = 0);
virtual KParts::Part* selectedPart () const;
- virtual QWidget* selectedWidget () const;
- const QPtrList<KParts::Part>* parts () const;
- void addManagedTopLevelWidget (const QWidget*);
- void removeManagedTopLevelWidget (const QWidget*);
+ virtual TQWidget* selectedWidget () const;
+ const TQPtrList<KParts::Part>* parts () const;
+ void addManagedTopLevelWidget (const TQWidget*);
+ void removeManagedTopLevelWidget (const TQWidget*);
%If ( KDE_3_3_0 - )
int reason () const;
@@ -109,7 +109,7 @@ protected:
-%MappedType QPtrList<KParts::Part>
+%MappedType TQPtrList<KParts::Part>
//converts a Python list of KParts.Part
{
%TypeHeaderCode
@@ -129,7 +129,7 @@ protected:
// Get it.
- QPtrList<KParts::Part> *cpplist = (QPtrList<KParts::Part> *)sipCpp;
+ TQPtrList<KParts::Part> *cpplist = (TQPtrList<KParts::Part> *)sipCpp;
KParts::Part *cpp;
PyObject *inst;
@@ -151,7 +151,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KParts::Part> *cpplist = new QPtrList<KParts::Part>;
+ TQPtrList<KParts::Part> *cpplist = new TQPtrList<KParts::Part>;
PyObject *elem;
KParts::Part *cpp;
diff --git a/sip/kparts/plugin.sip b/sip/kparts/plugin.sip
index 145b6f2..b4957dd 100644
--- a/sip/kparts/plugin.sip
+++ b/sip/kparts/plugin.sip
@@ -26,7 +26,7 @@
namespace KParts
{
-class Plugin : QObject, KXMLGUIClient
+class Plugin : TQObject, KXMLGUIClient
{
%TypeHeaderCode
#include <plugin.h>
@@ -39,30 +39,30 @@ public:
{
public:
- QString m_relXMLFileName;
- QString m_absXMLFileName;
- QDomDocument m_document;
+ TQString m_relXMLFileName;
+ TQString m_absXMLFileName;
+ TQDomDocument 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<KParts::Plugin::PluginInfo>&);
- static void loadPlugins (QObject* /Transfer/, const QValueList<KParts::Plugin::PluginInfo>&, const KInstance*);
+ Plugin (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual TQString xmlFile () const;
+ virtual TQString localXMLFile () const;
+ static void loadPlugins (TQObject* /Transfer/, const KInstance*);
+ static void loadPlugins (TQObject* /Transfer/, const TQValueList<KParts::Plugin::PluginInfo>&);
+ static void loadPlugins (TQObject* /Transfer/, const TQValueList<KParts::Plugin::PluginInfo>&, const KInstance*);
%If ( KDE_3_1_0 - )
- static void loadPlugins (QObject* /Transfer/, KXMLGUIClient*, KInstance*, bool = 1);
+ static void loadPlugins (TQObject* /Transfer/, KXMLGUIClient*, KInstance*, bool = 1);
%End
- static QPtrList<KParts::Plugin> pluginObjects (QObject* /Transfer/);
+ static TQPtrList<KParts::Plugin> pluginObjects (TQObject* /Transfer/);
protected:
- static QValueList<KParts::Plugin::PluginInfo> pluginInfos (const KInstance*);
- static KParts::Plugin* loadPlugin (QObject* /Transfer/, const char*);
+ static TQValueList<KParts::Plugin::PluginInfo> pluginInfos (const KInstance*);
+ static KParts::Plugin* loadPlugin (TQObject* /Transfer/, const char*);
virtual void setInstance (KInstance*);
}; // class Plugin
@@ -71,7 +71,7 @@ protected:
-%MappedType QValueList<KParts::Plugin::PluginInfo>
+%MappedType TQValueList<KParts::Plugin::PluginInfo>
//converts a Python list of KParts.Plugin.PluginInfo
{
%TypeHeaderCode
@@ -87,11 +87,11 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KParts::Plugin::PluginInfo> *cpplist = (QValueList<KParts::Plugin::PluginInfo> *)sipCpp;
+ TQValueList<KParts::Plugin::PluginInfo> *cpplist = (TQValueList<KParts::Plugin::PluginInfo> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KParts::Plugin::PluginInfo>::Iterator it;
+ TQValueList<KParts::Plugin::PluginInfo>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KParts::Plugin::PluginInfo(*it), sipType_KParts_Plugin_PluginInfo, NULL)) == NULL)
@@ -110,7 +110,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KParts::Plugin::PluginInfo> *cpplist = new QValueList<KParts::Plugin::PluginInfo>;
+ TQValueList<KParts::Plugin::PluginInfo> *cpplist = new TQValueList<KParts::Plugin::PluginInfo>;
PyObject *elem;
KParts::Plugin::PluginInfo *cpp;
@@ -138,7 +138,7 @@ protected:
};
-%MappedType QPtrList<KParts::Plugin>
+%MappedType TQPtrList<KParts::Plugin>
//converts a Python list of KParts.Plugin
{
%TypeHeaderCode
@@ -158,7 +158,7 @@ protected:
// Get it.
- QPtrList<KParts::Plugin> *cpplist = (QPtrList<KParts::Plugin> *)sipCpp;
+ TQPtrList<KParts::Plugin> *cpplist = (TQPtrList<KParts::Plugin> *)sipCpp;
KParts::Plugin *cpp;
PyObject *inst;
@@ -180,7 +180,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KParts::Plugin> *cpplist = new QPtrList<KParts::Plugin>;
+ TQPtrList<KParts::Plugin> *cpplist = new TQPtrList<KParts::Plugin>;
PyObject *elem;
KParts::Plugin *cpp;
diff --git a/sip/kparts/statusbarextension.sip b/sip/kparts/statusbarextension.sip
index 99e5129..1a43377 100644
--- a/sip/kparts/statusbarextension.sip
+++ b/sip/kparts/statusbarextension.sip
@@ -28,7 +28,7 @@
namespace KParts
{
-class StatusBarExtension : QObject
+class StatusBarExtension : TQObject
{
%TypeHeaderCode
#include <statusbarextension.h>
@@ -37,12 +37,12 @@ class StatusBarExtension : QObject
public:
StatusBarExtension (KParts::ReadOnlyPart* /TransferThis/, const char* = 0);
- void addStatusBarItem (QWidget*, int, bool);
- void removeStatusBarItem (QWidget*);
+ void addStatusBarItem (TQWidget*, int, bool);
+ void removeStatusBarItem (TQWidget*);
KStatusBar* statusBar () const;
void setStatusBar (KStatusBar*);
- static KParts::StatusBarExtension* childObject (QObject*);
- virtual bool eventFilter (QObject*, QEvent*);
+ static KParts::StatusBarExtension* childObject (TQObject*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
}; // class StatusBarExtension
diff --git a/sip/kresources/configdialog.sip b/sip/kresources/configdialog.sip
index 744e14b..d49cf85 100644
--- a/sip/kresources/configdialog.sip
+++ b/sip/kresources/configdialog.sip
@@ -36,13 +36,13 @@ class ConfigDialog : KDialogBase
public:
- ConfigDialog (QWidget*, const QString&, KRES::Resource*, const char* = 0);
+ ConfigDialog (TQWidget*, const TQString&, KRES::Resource*, const char* = 0);
void setInEditMode (bool);
protected slots:
void accept ();
void setReadOnly (bool);
- void slotNameChanged (const QString&);
+ void slotNameChanged (const TQString&);
}; // class ConfigDialog
diff --git a/sip/kresources/configwidget.sip b/sip/kresources/configwidget.sip
index 822fe5a..7a5f6f6 100644
--- a/sip/kresources/configwidget.sip
+++ b/sip/kresources/configwidget.sip
@@ -28,7 +28,7 @@
namespace KRES
{
-class ConfigWidget : QWidget
+class ConfigWidget : TQWidget
{
%TypeHeaderCode
#include <configwidget.h>
@@ -36,7 +36,7 @@ class ConfigWidget : QWidget
public:
- ConfigWidget (QWidget* = 0, const char* = 0);
+ ConfigWidget (TQWidget* = 0, const char* = 0);
virtual void setInEditMode (bool);
public slots:
diff --git a/sip/kresources/factory.sip b/sip/kresources/factory.sip
index 8a35b79..b854414 100644
--- a/sip/kresources/factory.sip
+++ b/sip/kresources/factory.sip
@@ -36,15 +36,15 @@ class Factory
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;
+ static KRES::Factory* self (const TQString&);
+ KRES::ConfigWidget* configWidget (const TQString&, TQWidget* = 0);
+ KRES::Resource* resource (const TQString&, const KConfig*);
+ TQStringList typeNames () const;
+ TQString typeName (const TQString&) const;
+ TQString typeDescription (const TQString&) const;
protected:
- Factory (const QString&);
+ Factory (const TQString&);
}; // class Factory
diff --git a/sip/kresources/resource.sip b/sip/kresources/resource.sip
index 3c044b7..c4a067f 100644
--- a/sip/kresources/resource.sip
+++ b/sip/kresources/resource.sip
@@ -28,7 +28,7 @@
namespace KRES
{
-class Resource : QObject
+class Resource : TQObject
{
%TypeHeaderCode
#include <kconfig.h>
@@ -37,18 +37,18 @@ class Resource : QObject
public:
- typedef QValueList<KRES::Resource*> List;
+ typedef TQValueList<KRES::Resource*> List;
Resource (const KConfig*);
virtual void writeConfig (KConfig*);
bool open ();
void close ();
bool isOpen () const;
- QString identifier () const;
- QString type () const;
+ TQString identifier () const;
+ TQString type () const;
virtual void setReadOnly (bool);
virtual bool readOnly () const;
- virtual void setResourceName (const QString&);
- virtual QString resourceName () const;
+ virtual void setResourceName (const TQString&);
+ virtual TQString resourceName () const;
void setActive (bool);
bool isActive () const;
virtual void dump () const;
@@ -56,8 +56,8 @@ public:
protected:
virtual bool doOpen ();
virtual void doClose ();
- void setIdentifier (const QString&);
- void setType (const QString&);
+ void setIdentifier (const TQString&);
+ void setType (const TQString&);
}; // class Resource
@@ -71,10 +71,10 @@ class PluginFactoryBase : KLibFactory
public:
virtual KRES::Resource* resource (const KConfig*) = 0;
- virtual KRES::ConfigWidget* configWidget (QWidget*) = 0;
+ virtual KRES::ConfigWidget* configWidget (TQWidget*) = 0;
protected:
- virtual QObject* createObject (QObject*, const char*, const char*, const QStringList&);
+ virtual TQObject* createObject (TQObject*, const char*, const char*, const TQStringList&);
}; // class PluginFactoryBase
diff --git a/sip/kresources/selectdialog.sip b/sip/kresources/selectdialog.sip
index fff14f6..c0d8872 100644
--- a/sip/kresources/selectdialog.sip
+++ b/sip/kresources/selectdialog.sip
@@ -40,9 +40,9 @@ class SelectDialog
public:
- SelectDialog (QPtrList<KRES::Resource>, QWidget* = 0, const char* = 0);
+ SelectDialog (TQPtrList<KRES::Resource>, TQWidget* = 0, const char* = 0);
KRES::Resource* resource ();
- static KRES::Resource* getResource (QPtrList<KRES::Resource>, QWidget* = 0);
+ static KRES::Resource* getResource (TQPtrList<KRES::Resource>, TQWidget* = 0);
//force
private:
@@ -58,7 +58,7 @@ private:
%If (KDE_3_2_0 - )
-%MappedType QPtrList<KRES::Resource>
+%MappedType TQPtrList<KRES::Resource>
//converts a Python list of KRES::Resource
{
%TypeHeaderCode
@@ -79,7 +79,7 @@ private:
// Get it.
- QPtrList<KRES::Resource> *cpplist = (QPtrList<KRES::Resource> *)sipCpp;
+ TQPtrList<KRES::Resource> *cpplist = (TQPtrList<KRES::Resource> *)sipCpp;
KRES::Resource *cpp;
PyObject *inst;
@@ -101,7 +101,7 @@ private:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KRES::Resource> *cpplist = new QPtrList<KRES::Resource>;
+ TQPtrList<KRES::Resource> *cpplist = new TQPtrList<KRES::Resource>;
PyObject *elem;
KRES::Resource *cpp;
diff --git a/sip/kspell/ksconfig.sip b/sip/kspell/ksconfig.sip
index 97bc8b5..26a1bd6 100644
--- a/sip/kspell/ksconfig.sip
+++ b/sip/kspell/ksconfig.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KSpellConfig : QWidget
+class KSpellConfig : TQWidget
{
%TypeHeaderCode
#include <ksconfig.h>
@@ -32,34 +32,34 @@ class KSpellConfig : QWidget
public:
- KSpellConfig (QWidget* /TransferThis/ = 0, const char* = 0, KSpellConfig* = 0, bool = 1);
+ KSpellConfig (TQWidget* /TransferThis/ = 0, const char* = 0, KSpellConfig* = 0, bool = 1);
KSpellConfig (const KSpellConfig&);
%If ( KDE_3_2_0 - )
- void fillDicts (QComboBox*, QStringList* = 0);
+ void fillDicts (TQComboBox*, TQStringList* = 0);
%End
- void setIgnoreList (QStringList);
+ void setIgnoreList (TQStringList);
%If ( KDE_3_1_0 - )
- void setReplaceAllList (QStringList);
+ void setReplaceAllList (TQStringList);
%End
void setNoRootAffix (bool);
void setRunTogether (bool);
- void setDictionary (const QString);
+ void setDictionary (const TQString);
void setDictFromList (bool);
void setEncoding (int);
void setClient (int);
bool noRootAffix () const;
bool runTogether () const;
- const QString dictionary () const;
+ const TQString dictionary () const;
bool dictFromList () const;
int encoding () const;
- QStringList ignoreList () const;
+ TQStringList ignoreList () const;
%If ( KDE_3_1_0 - )
- QStringList replaceAllList () const;
+ TQStringList replaceAllList () const;
%End
int client () const;
@@ -72,7 +72,7 @@ public:
protected:
void fillInDialog ();
- bool interpret (QString&, QString&, QString&);
+ bool interpret (TQString&, TQString&, TQString&);
public slots:
void activateHelp ();
diff --git a/sip/kspell/kspell.sip b/sip/kspell/kspell.sip
index 8ecf4ea..62c1058 100644
--- a/sip/kspell/kspell.sip
+++ b/sip/kspell/kspell.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KSpell : QObject
+class KSpell : TQObject
{
%TypeHeaderCode
#include <kspell.h>
@@ -57,54 +57,54 @@ public:
%End
- KSpell (QWidget* /TransferThis/, const QString&, QObject*, const char*, KSpellConfig* = 0, bool = 1, bool = 0);
+ KSpell (TQWidget* /TransferThis/, const TQString&, TQObject*, 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);
+ KSpell (TQWidget* /TransferThis/, const TQString&, TQObject*, const char*, KSpellConfig*, bool, bool, KSpell::SpellerType);
%End
spellStatus status ();
virtual void cleanUp ();
void setAutoDelete (bool);
- virtual bool check (const QString&, bool = 1);
+ virtual bool check (const TQString&, bool = 1);
int lastPosition ();
- virtual bool checkList (QStringList*, bool = 1);
- virtual bool checkWord (const QString&, bool = 0);
+ virtual bool checkList (TQStringList*, bool = 1);
+ virtual bool checkWord (const TQString&, bool = 0);
%If ( KDE_3_2_0 - )
- bool checkWord (const QString&, bool, bool);
+ bool checkWord (const TQString&, bool, bool);
%End
void hide ();
- QStringList suggestions () const;
+ TQStringList 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&);
+ TQString intermediateBuffer () const;
+ virtual bool ignore (const TQString&);
+ virtual bool addPersonal (const TQString&);
KSpellConfig ksConfig () const;
void setProgressResolution (uint);
- static int modalCheck (QString&);
- static int modalCheck (QString&, KSpellConfig*);
+ static int modalCheck (TQString&);
+ static int modalCheck (TQString&, 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&);
+ void misspelling (const TQString&, const TQStringList&, uint);
+ void corrected (const TQString&, const TQString&, uint);
+ void ignoreall (const TQString&);
+ void ignoreword (const TQString&);
+ void addword (const TQString&);
%If ( KDE_3_1_0 - )
- void replaceall (const QString&, const QString&);
+ void replaceall (const TQString&, const TQString&);
%End
void ready (KSpell*);
void progress (uint);
- void done (const QString&);
+ void done (const TQString&);
void done (bool);
void death ();
@@ -138,19 +138,19 @@ signals:
void dialog3 ();
protected:
- int parseOneResponse (const QString&, QString&, QStringList&);
- QString funnyWord (const QString&);
- void dialog (const QString&, QStringList&, const char*);
- QString replacement ();
+ int parseOneResponse (const TQString&, TQString&, TQStringList&);
+ TQString funnyWord (const TQString&);
+ void dialog (const TQString&, TQStringList&, const char*);
+ TQString replacement ();
void setUpDialog (bool = 1);
void emitProgress ();
- bool cleanFputs (const QString&, bool = 1);
- bool cleanFputsWord (const QString&, bool = 1);
+ bool cleanFputs (const TQString&, bool = 1);
+ bool cleanFputsWord (const TQString&, 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);
+ void initialize (TQWidget*, const TQString&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KSpellConfig*, bool, bool, KSpell::SpellerType);
%End
diff --git a/sip/kspell/kspelldlg.sip b/sip/kspell/kspelldlg.sip
index 4621b0d..20097b6 100644
--- a/sip/kspell/kspelldlg.sip
+++ b/sip/kspell/kspelldlg.sip
@@ -32,12 +32,12 @@ class KSpellDlg : KDialogBase
public:
- KSpellDlg (QWidget* /TransferThis/, const char*, bool = 0, bool = 0);
- QString replacement ();
- void init (const QString&, QStringList*);
+ KSpellDlg (TQWidget* /TransferThis/, const char*, bool = 0, bool = 0);
+ TQString replacement ();
+ void init (const TQString&, TQStringList*);
%If ( KDE_3_2_0 - )
- void init (const QString&, QStringList*, const QString&);
+ void init (const TQString&, TQStringList*, const TQString&);
%End
void standby ();
@@ -46,7 +46,7 @@ public slots:
void slotProgress (uint);
protected:
- virtual void closeEvent (QCloseEvent*);
+ virtual void closeEvent (TQCloseEvent*);
void done (int);
signals:
@@ -71,10 +71,10 @@ protected slots:
void slotConfigChanged ();
%End
- void textChanged (const QString&);
+ void textChanged (const TQString&);
%If ( KDE_3_2_0 - )
- void slotSelectionChanged (QListViewItem*);
+ void slotSelectionChanged (TQListViewItem*);
%End
diff --git a/sip/kspell/ksyntaxhighlighter.sip b/sip/kspell/ksyntaxhighlighter.sip
index 55d5b8e..983b447 100644
--- a/sip/kspell/ksyntaxhighlighter.sip
+++ b/sip/kspell/ksyntaxhighlighter.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_2_0 - )
-class KSyntaxHighlighter : QSyntaxHighlighter
+class KSyntaxHighlighter : TQSyntaxHighlighter
{
%TypeHeaderCode
#include <ksyntaxhighlighter.h>
@@ -41,8 +41,8 @@ public:
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);
+ KSyntaxHighlighter (TQTextEdit*, bool = 0, const TQColor& = TQt ::black , const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), KSyntaxHighlighter::SyntaxMode = PlainTextMode );
+ int highlightParagraph (const TQString&, int);
}; // class KSyntaxHighlighter
@@ -59,12 +59,12 @@ class KSpellingHighlighter : KSyntaxHighlighter
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;
+ KSpellingHighlighter (TQTextEdit*, const TQColor& = TQt ::red , bool = 0, const TQColor& = TQt ::black , const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 ));
+ virtual int highlightParagraph (const TQString&, int);
+ virtual bool isMisspelled (const TQString&) = 0;
bool intraWordEditing () const;
void setIntraWordEditing (bool);
- static QStringList personalWords ();
+ static TQStringList personalWords ();
}; // class KSpellingHighlighter
@@ -73,7 +73,7 @@ public:
%If ( KDE_3_2_0 - )
-class KDictSpellingHighlighter : QObject, KSpellingHighlighter
+class KDictSpellingHighlighter : TQObject, KSpellingHighlighter
{
%TypeHeaderCode
#include <ksyntaxhighlighter.h>
@@ -81,8 +81,8 @@ class KDictSpellingHighlighter : QObject, KSpellingHighlighter
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&);
+ KDictSpellingHighlighter (TQTextEdit*, bool = 1, bool = 1, const TQColor& = TQt ::red , bool = 0, const TQColor& = TQt ::black , const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x70 ,0x00 ), const TQColor& = TQColor (0x00 ,0x60 ,0x00 ), KSpellConfig* = 0);
+ virtual bool isMisspelled (const TQString&);
static void dictionaryChanged ();
void restartBackgroundSpellCheck ();
void setActive (bool);
@@ -91,16 +91,16 @@ public:
bool automatic () const;
signals:
- void activeChanged (const QString&);
- void newSuggestions (const QString&, const QStringList&, uint);
+ void activeChanged (const TQString&);
+ void newSuggestions (const TQString&, const TQStringList&, uint);
protected:
- QString spellKey ();
- bool eventFilter (QObject*, QEvent*);
+ TQString spellKey ();
+ bool eventFilter (TQObject*, TQEvent*);
protected slots:
- void slotMisspelling (const QString&, const QStringList&, uint);
- void slotCorrected (const QString&, const QString&, uint);
+ void slotMisspelling (const TQString&, const TQStringList&, uint);
+ void slotCorrected (const TQString&, const TQString&, uint);
void slotRehighlight ();
void slotDictionaryChanged ();
void slotSpellReady (KSpell*);
diff --git a/sip/kspell2/backgroundchecker.sip b/sip/kspell2/backgroundchecker.sip
index 8efd997..3f6a0eb 100644
--- a/sip/kspell2/backgroundchecker.sip
+++ b/sip/kspell2/backgroundchecker.sip
@@ -28,20 +28,20 @@
namespace KSpell2
{
-class BackgroundChecker : QObject
+class BackgroundChecker : TQObject
{
%TypeHeaderCode
#include <backgroundchecker.h>
%End
public:
- BackgroundChecker (const Broker::Ptr&, QObject* = 0, const char* = 0);
- void checkText (const QString&);
+ BackgroundChecker (const Broker::Ptr&, TQObject* = 0, const char* = 0);
+ void checkText (const TQString&);
KSpell2::Filter* filter () const;
KSpell2::Broker* broker () const;
- void changeLanguage (const QString&);
- bool checkWord (const QString&);
- QStringList suggest (const QString&) const;
+ void changeLanguage (const TQString&);
+ bool checkWord (const TQString&);
+ TQStringList suggest (const TQString&) const;
public slots:
virtual void setFilter (KSpell2::Filter*);
@@ -50,11 +50,11 @@ public slots:
virtual void continueChecking ();
signals:
- void misspelling (const QString&, int);
+ void misspelling (const TQString&, int);
void done ();
protected:
- virtual QString getMoreText ();
+ virtual TQString getMoreText ();
virtual void finishedCurrentFeed ();
protected slots:
diff --git a/sip/kspell2/broker.sip b/sip/kspell2/broker.sip
index 4f880e1..9b1ed03 100644
--- a/sip/kspell2/broker.sip
+++ b/sip/kspell2/broker.sip
@@ -28,7 +28,7 @@
namespace KSpell2
{
-class Broker : QObject, KShared
+class Broker : TQObject, KShared
{
%TypeHeaderCode
#include <broker.h>
@@ -40,9 +40,9 @@ public:
public:
KSpell2::DefaultDictionary* defaultDictionary () const;
- KSpell2::Dictionary* dictionary (const QString& = QString ::null , const QString& = QString ::null ) const;
- QStringList clients () const;
- QStringList languages () const;
+ KSpell2::Dictionary* dictionary (const TQString& = TQString ::null , const TQString& = TQString ::null ) const;
+ TQStringList clients () const;
+ TQStringList languages () const;
KSpell2::Settings* settings () const;
signals:
diff --git a/sip/kspell2/configdialog.sip b/sip/kspell2/configdialog.sip
index 19ed07e..94a0c19 100644
--- a/sip/kspell2/configdialog.sip
+++ b/sip/kspell2/configdialog.sip
@@ -35,7 +35,7 @@ class ConfigDialog : KDialogBase
%End
public:
- ConfigDialog (KSpell2::Broker*, QWidget*);
+ ConfigDialog (KSpell2::Broker*, TQWidget*);
protected slots:
virtual void slotOk ();
diff --git a/sip/kspell2/configwidget.sip b/sip/kspell2/configwidget.sip
index 402f63b..ecf6012 100644
--- a/sip/kspell2/configwidget.sip
+++ b/sip/kspell2/configwidget.sip
@@ -28,14 +28,14 @@
namespace KSpell2
{
-class ConfigWidget : QWidget
+class ConfigWidget : TQWidget
{
%TypeHeaderCode
#include <configwidget.h>
%End
public:
- ConfigWidget (KSpell2::Broker*, QWidget*, const char* = 0);
+ ConfigWidget (KSpell2::Broker*, TQWidget*, const char* = 0);
bool backgroundCheckingButtonShown () const;
public slots:
diff --git a/sip/kspell2/defaultdictionary.sip b/sip/kspell2/defaultdictionary.sip
index 4d70d8b..5190f7e 100644
--- a/sip/kspell2/defaultdictionary.sip
+++ b/sip/kspell2/defaultdictionary.sip
@@ -28,23 +28,23 @@
namespace KSpell2
{
-class DefaultDictionary : QObject, KSpell2::Dictionary
+class DefaultDictionary : TQObject, KSpell2::Dictionary
{
%TypeHeaderCode
#include <defaultdictionary.h>
%End
public:
- DefaultDictionary (const QString&, KSpell2::Broker*);
+ DefaultDictionary (const TQString&, 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&);
+ virtual bool check (const TQString&);
+ virtual TQStringList suggest (const TQString&);
+ virtual bool checkAndSuggest (const TQString&, TQStringList&);
+ virtual bool storeReplacement (const TQString&, const TQString&);
+ virtual bool addToPersonal (const TQString&);
+ virtual bool addToSession (const TQString&);
signals:
void changed ();
diff --git a/sip/kspell2/dialog.sip b/sip/kspell2/dialog.sip
index 4444f81..42b287a 100644
--- a/sip/kspell2/dialog.sip
+++ b/sip/kspell2/dialog.sip
@@ -35,23 +35,23 @@ class Dialog : KDialogBase
%End
public:
- Dialog (KSpell2::BackgroundChecker*, QWidget*, const char* = 0);
- QString originalBuffer () const;
- QString buffer () const;
+ Dialog (KSpell2::BackgroundChecker*, TQWidget*, const char* = 0);
+ TQString originalBuffer () const;
+ TQString buffer () const;
void show ();
void activeAutoCorrect (bool);
public slots:
- void setBuffer (const QString&);
+ void setBuffer (const TQString&);
void setFilter (KSpell2::Filter*);
signals:
- void done (const QString&);
- void misspelling (const QString&, int);
- void replace (const QString&, int, const QString&);
+ void done (const TQString&);
+ void misspelling (const TQString&, int);
+ void replace (const TQString&, int, const TQString&);
void stop ();
void cancel ();
- void autoCorrect (const QString&, const QString&);
+ void autoCorrect (const TQString&, const TQString&);
}; // class Dialog
diff --git a/sip/kspell2/dictionary.sip b/sip/kspell2/dictionary.sip
index 0f33b56..f0241ba 100644
--- a/sip/kspell2/dictionary.sip
+++ b/sip/kspell2/dictionary.sip
@@ -35,17 +35,17 @@ class Dictionary
%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;
+ virtual bool check (const TQString&) = 0;
+ virtual TQStringList suggest (const TQString&) = 0;
+ virtual bool checkAndSuggest (const TQString&, TQStringList&) = 0;
+ virtual bool storeReplacement (const TQString&, const TQString&) = 0;
+ virtual bool addToPersonal (const TQString&) = 0;
+ virtual bool addToSession (const TQString&) = 0;
+ TQString language () const;
bool isDefault () const;
protected:
- Dictionary (const QString&, bool = 0);
+ Dictionary (const TQString&, bool = 0);
protected:
diff --git a/sip/kspell2/filter.sip b/sip/kspell2/filter.sip
index 863d355..9094dfc 100644
--- a/sip/kspell2/filter.sip
+++ b/sip/kspell2/filter.sip
@@ -36,9 +36,9 @@ class Word
public:
Word ();
- Word (const QString&, int, bool = 0);
+ Word (const TQString&, int, bool = 0);
Word (const KSpell2::Word&);
- QString word;
+ TQString word;
uint start;
bool end;
@@ -60,22 +60,22 @@ public:
void setSettings (KSpell2::Settings*);
KSpell2::Settings* settings () const;
bool atEnd () const;
- void setBuffer (const QString&);
- QString buffer () const;
+ void setBuffer (const TQString&);
+ TQString 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;
+ virtual void replace (const KSpell2::Word&, const TQString&);
+ virtual TQString context () const;
protected:
bool trySkipLinks () const;
- bool ignore (const QString&) const;
- QChar skipToLetter (uint&) const;
- bool shouldBeSkipped (bool, bool, const QString&) const;
+ bool ignore (const TQString&) const;
+ TQChar skipToLetter (uint&) const;
+ bool shouldBeSkipped (bool, bool, const TQString&) const;
protected:
diff --git a/sip/kspell2/highlighter.sip b/sip/kspell2/highlighter.sip
index 0e7ea2d..ee6388f 100644
--- a/sip/kspell2/highlighter.sip
+++ b/sip/kspell2/highlighter.sip
@@ -28,19 +28,19 @@
namespace KSpell2
{
-class Highlighter : QSyntaxHighlighter
+class Highlighter : TQSyntaxHighlighter
{
%TypeHeaderCode
#include <highlighter.h>
%End
public:
- Highlighter (QTextEdit*, const QString& = QString ::null , KSpell2::Filter* = Filter ::defaultFilter ());
- virtual int highlightParagraph (const QString&, int);
+ Highlighter (TQTextEdit*, const TQString& = TQString ::null , KSpell2::Filter* = Filter ::defaultFilter ());
+ virtual int highlightParagraph (const TQString&, int);
KSpell2::Filter* currentFilter () const;
void setCurrentFilter (KSpell2::Filter*);
- QString currentLanguage () const;
- void setCurrentLanguage (const QString&);
+ TQString currentLanguage () const;
+ void setCurrentLanguage (const TQString&);
protected:
virtual void setMisspelled (int, int);
diff --git a/sip/kspell2/settings.sip b/sip/kspell2/settings.sip
index 6b4f030..999779b 100644
--- a/sip/kspell2/settings.sip
+++ b/sip/kspell2/settings.sip
@@ -35,20 +35,20 @@ class Settings
%End
public:
- void setDefaultLanguage (const QString&);
- QString defaultLanguage () const;
- void setDefaultClient (const QString&);
- QString defaultClient () const;
+ void setDefaultLanguage (const TQString&);
+ TQString defaultLanguage () const;
+ void setDefaultClient (const TQString&);
+ TQString 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 setCurrentIgnoreList (const TQStringList&);
+ void addWordToIgnore (const TQString&);
+ TQStringList currentIgnoreList () const;
+ bool ignore (const TQString&);
void save ();
KSharedConfig* sharedConfig () const;
diff --git a/sip/kutils/kcmoduleinfo.sip b/sip/kutils/kcmoduleinfo.sip
index 96f9f78..a983cd9 100644
--- a/sip/kutils/kcmoduleinfo.sip
+++ b/sip/kutils/kcmoduleinfo.sip
@@ -34,7 +34,7 @@ class KCModuleInfo
public:
- KCModuleInfo (const QString&);
+ KCModuleInfo (const TQString&);
KCModuleInfo (KService::Ptr);
KCModuleInfo (const KCModuleInfo&);
@@ -44,20 +44,20 @@ public:
bool operator == (const KCModuleInfo&) const;
bool operator != (const KCModuleInfo&) const;
- QString fileName () const;
- const QStringList& keywords () const;
+ TQString fileName () const;
+ const TQStringList& keywords () const;
%If ( KDE_3_4_0 - )
- QString factoryName () const;
+ TQString factoryName () const;
%End
- QString moduleName () const;
+ TQString moduleName () const;
KService::Ptr service () const;
- QString comment () const;
- QString icon () const;
- QString docPath () const;
- QString library () const;
- QString handle () const;
+ TQString comment () const;
+ TQString icon () const;
+ TQString docPath () const;
+ TQString library () const;
+ TQString handle () const;
int weight () const;
bool needsRootPrivileges () const;
bool isHiddenByDefault () const;
@@ -68,12 +68,12 @@ public:
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 setKeywords (const TQStringList&);
+ void setName (const TQString&);
+ void setComment (const TQString&);
+ void setIcon (const TQString&);
+ void setLibrary (const TQString&);
+ void setHandle (const TQString&);
void setWeight (int);
%If ( KDE_3_4_0 - )
@@ -82,7 +82,7 @@ protected:
void setNeedsRootPrivileges (bool);
void setIsHiddenByDefault (bool);
- void setDocPath (const QString&);
+ void setDocPath (const TQString&);
void loadAll ();
}; // class KCModuleInfo
diff --git a/sip/kutils/kcmoduleloader.sip b/sip/kutils/kcmoduleloader.sip
index 4a9a247..d001591 100644
--- a/sip/kutils/kcmoduleloader.sip
+++ b/sip/kutils/kcmoduleloader.sip
@@ -34,8 +34,8 @@ class KCModuleLoader
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 ());
+ static KCModule* loadModule (const KCModuleInfo&, bool = 1, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ());
+ static KCModule* loadModule (const TQString&, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ());
%If ( KDE_3_4_0 - )
@@ -47,17 +47,17 @@ public:
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 ());
+ static KCModule* loadModule (const KCModuleInfo&, KCModuleLoader::ErrorReporting, bool = 1, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ());
+ static KCModule* loadModule (const TQString&, KCModuleLoader::ErrorReporting, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ());
%End
static void unloadModule (const KCModuleInfo&);
- static void showLastLoaderError (QWidget*);
+ static void showLastLoaderError (TQWidget*);
%If ( KDE_3_4_0 - )
- static bool testModule (const QString&);
+ static bool testModule (const TQString&);
static bool testModule (const KCModuleInfo&);
- static KCModule* reportError (KCModuleLoader::ErrorReporting, const QString&, QString, QWidget*);
+ static KCModule* reportError (KCModuleLoader::ErrorReporting, const TQString&, TQString, TQWidget*);
%End
diff --git a/sip/kutils/kcmoduleproxy.sip b/sip/kutils/kcmoduleproxy.sip
index 7f6e5f2..c76243a 100644
--- a/sip/kutils/kcmoduleproxy.sip
+++ b/sip/kutils/kcmoduleproxy.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_3_0 - )
-class KCModuleProxy : QWidget
+class KCModuleProxy : TQWidget
{
%TypeHeaderCode
#include <kcmoduleproxy.h>
@@ -34,19 +34,19 @@ class KCModuleProxy : QWidget
public:
- KCModuleProxy (const KCModuleInfo&, bool = 0, QWidget* = 0, const char* = 0, const QStringList& = QStringList ());
+ KCModuleProxy (const KCModuleInfo&, bool = 0, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ());
%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 ());
+ KCModuleProxy (const TQString&, bool = 1, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ());
+ KCModuleProxy (const KService::Ptr&, bool = 1, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ());
%End
void load ();
void save ();
- QString quickHelp () const;
+ TQString tquickHelp () const;
const KAboutData* aboutData () const;
int buttons () const;
- QString rootOnlyMsg () const;
+ TQString rootOnlyMsg () const;
bool useRootOnlyMsg () const;
KInstance* instance () const;
bool changed () const;
@@ -59,7 +59,7 @@ public:
const KCModuleInfo& moduleInfo () const;
%If ( KDE_3_4_0 - )
- QCString dcopName () const;
+ TQCString dcopName () const;
%End
@@ -78,12 +78,12 @@ signals:
%If ( KDE_3_4_0 - )
void changed (KCModuleProxy*);
void childClosed ();
- void quickHelpChanged ();
+ void tquickHelpChanged ();
%End
protected:
- void showEvent (QShowEvent*);
+ void showEvent (TQShowEvent*);
%If ( KDE_3_4_0 - )
void init (const KCModuleInfo&);
diff --git a/sip/kutils/kcmultidialog.sip b/sip/kutils/kcmultidialog.sip
index 2fa6e20..9ab17e4 100644
--- a/sip/kutils/kcmultidialog.sip
+++ b/sip/kutils/kcmultidialog.sip
@@ -34,17 +34,17 @@ class KCMultiDialog : KDialogBase
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);
+ KCMultiDialog (TQWidget* = 0, const char* = 0, bool = 0);
+ KCMultiDialog (int, const TQString&, TQWidget* = 0, const char* = 0, bool = 0);
+ KCMultiDialog (int, const KGuiItem&, const KGuiItem& = KGuiItem (), int = User2 , const TQString& = i18n ("Configure" ), TQWidget* = 0, const char* = 0, bool = 0);
+ void addModule (const TQString&, bool = 1) /ReleaseGIL/;
+ void addModule (const KCModuleInfo&, TQStringList = TQStringList (), bool = 0);
void removeAllModules ();
void show ();
signals:
void configCommitted ();
- void configCommitted (const QCString&);
+ void configCommitted (const TQCString&);
protected slots:
virtual void slotDefault ();
diff --git a/sip/kutils/kfind.sip b/sip/kutils/kfind.sip
index 5e96d1f..57c33b4 100644
--- a/sip/kutils/kfind.sip
+++ b/sip/kutils/kfind.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_3_0 - )
-class KFind : QObject
+class KFind : TQObject
{
%TypeHeaderCode
#include <kfind.h>
@@ -34,8 +34,8 @@ class KFind : QObject
public:
- KFind (const QString&, long, QWidget*);
- KFind (const QString&, long, QWidget*, QWidget*);
+ KFind (const TQString&, long, TQWidget*);
+ KFind (const TQString&, long, TQWidget*, TQWidget*);
enum Result
{
@@ -44,34 +44,34 @@ public:
};
bool needData () const;
- void setData (const QString&, int = -1);
- void setData (int, const QString&, int = -1);
+ void setData (const TQString&, int = -1);
+ void setData (int, const TQString&, int = -1);
KFind::Result find ();
long options () const;
virtual void setOptions (long);
- QString pattern () const;
- void setPattern (const QString&);
+ TQString pattern () const;
+ void setPattern (const TQString&);
int numMatches () const;
virtual void resetCounts ();
- virtual bool validateMatch (const QString&, int, int);
+ virtual bool validateMatch (const TQString&, 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*);
+ static int find (const TQString&, const TQString&, int, long, int*);
+ static int find (const TQString&, const TQRegExp&, 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 (const TQString&, int, int);
void highlight (int, int, int);
void findNext ();
void optionsChanged ();
void dialogClosed ();
protected:
- QWidget* parentWidget () const;
- QWidget* dialogsParent () const;
+ TQWidget* parentWidget () const;
+ TQWidget* dialogsParent () const;
protected slots:
void slotFindNext ();
diff --git a/sip/kutils/kfinddialog.sip b/sip/kutils/kfinddialog.sip
index fb3939f..f3624fa 100644
--- a/sip/kutils/kfinddialog.sip
+++ b/sip/kutils/kfinddialog.sip
@@ -47,10 +47,10 @@ public:
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;
+ KFindDialog (TQWidget* = 0, const char* = 0, long = 0, const TQStringList& = TQStringList (), bool = 0);
+ KFindDialog (bool, TQWidget* = 0, const char* = 0, long = 0, const TQStringList& = TQStringList (), bool = 0);
+ void setFindHistory (const TQStringList&);
+ TQStringList findHistory () const;
void setHasSelection (bool);
void setHasCursor (bool);
@@ -63,22 +63,22 @@ public:
void setOptions (long);
long options () const;
- QString pattern () const;
- void setPattern (const QString&);
- QWidget* findExtension ();
+ TQString pattern () const;
+ void setPattern (const TQString&);
+ TQWidget* findExtension ();
protected slots:
void slotOk ();
void slotSelectedTextToggled (bool);
void showPatterns ();
void showPlaceholders ();
- void textSearchChanged (const QString&);
+ void textSearchChanged (const TQString&);
protected:
- virtual void showEvent (QShowEvent*);
+ virtual void showEvent (TQShowEvent*);
private:
- KFindDialog (QWidget*, const char*, bool);
+ KFindDialog (TQWidget*, const char*, bool);
}; // class KFindDialog
diff --git a/sip/kutils/kmultitabbar.sip b/sip/kutils/kmultitabbar.sip
index 08da4d8..2cc8df4 100644
--- a/sip/kutils/kmultitabbar.sip
+++ b/sip/kutils/kmultitabbar.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_3_0 - )
-class KMultiTabBar : QWidget
+class KMultiTabBar : TQWidget
{
%TypeHeaderCode
#include <kmultitabbar.h>
@@ -55,15 +55,15 @@ public:
{
VSNET,
KDEV3,
- KONQSBC,
+ KONTQSBC,
KDEV3ICON,
STYLELAST
};
- KMultiTabBar (KMultiTabBar::KMultiTabBarMode, QWidget* = 0, const char* = 0);
- int appendButton (const QPixmap&, int = -1, QPopupMenu* = 0, const QString& = QString ::null );
+ KMultiTabBar (KMultiTabBar::KMultiTabBarMode, TQWidget* = 0, const char* = 0);
+ int appendButton (const TQPixmap&, int = -1, TQPopupMenu* = 0, const TQString& = TQString ::null );
void removeButton (int);
- int appendTab (const QPixmap&, int = -1, const QString& = QString ::null );
+ int appendTab (const TQPixmap&, int = -1, const TQString& = TQString ::null );
void removeTab (int);
void setTab (int, bool);
bool isTabRaised (int) const;
@@ -81,12 +81,12 @@ public:
KMultiTabBar::KMultiTabBarStyle tabStyle () const;
%End
-//ig QPtrList<KMultiTabBarTab>* tabs ();
-//ig QPtrList<KMultiTabBarButton>* buttons ();
+//ig TQPtrList<KMultiTabBarTab>* tabs ();
+//ig TQPtrList<KMultiTabBarButton>* buttons ();
void showActiveTabTexts (bool = 1);
protected:
- virtual void fontChange (const QFont&);
+ virtual void fontChange (const TQFont&);
void updateSeparator ();
}; // class KMultiTabBar
@@ -96,7 +96,7 @@ protected:
%If ( KDE_3_3_0 - )
-class KMultiTabBarButton : QPushButton
+class KMultiTabBarButton : TQPushButton
{
%TypeHeaderCode
#include <kmultitabbar.h>
@@ -104,19 +104,19 @@ class KMultiTabBarButton : QPushButton
public:
- KMultiTabBarButton (const QPixmap&, const QString&, QPopupMenu*, int, QWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle);
- KMultiTabBarButton (const QString&, QPopupMenu*, int, QWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle);
+ KMultiTabBarButton (const TQPixmap&, const TQString&, TQPopupMenu*, int, TQWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle);
+ KMultiTabBarButton (const TQString&, TQPopupMenu*, int, TQWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle);
int id () const;
public slots:
void setPosition (KMultiTabBar::KMultiTabBarPosition);
void setStyle (KMultiTabBar::KMultiTabBarStyle);
- void setText (const QString&);
- QSize sizeHint () const;
+ void setText (const TQString&);
+ TQSize sizeHint () const;
protected:
- virtual void hideEvent (QHideEvent*);
- virtual void showEvent (QShowEvent*);
+ virtual void hideEvent (TQHideEvent*);
+ virtual void showEvent (TQShowEvent*);
signals:
void clicked (int);
@@ -139,7 +139,7 @@ class KMultiTabBarTab : KMultiTabBarButton
public:
- KMultiTabBarTab (const QPixmap&, const QString&, int, QWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle);
+ KMultiTabBarTab (const TQPixmap&, const TQString&, int, TQWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle);
void setState (bool);
void showActiveTabText (bool);
void resize ();
@@ -148,18 +148,18 @@ protected:
void setSize (int);
int neededSize ();
void updateState ();
- virtual void drawButton (QPainter*);
- virtual void drawButtonLabel (QPainter*);
- void drawButtonStyled (QPainter*);
- void drawButtonClassic (QPainter*);
+ virtual void drawButton (TQPainter*);
+ virtual void drawButtonLabel (TQPainter*);
+ void drawButtonStyled (TQPainter*);
+ void drawButtonClassic (TQPainter*);
protected slots:
virtual void slotClicked ();
void setTabsPosition (KMultiTabBar::KMultiTabBarPosition);
public slots:
- virtual void setIcon (const QString&);
- virtual void setIcon (const QPixmap&);
+ virtual void setIcon (const TQString&);
+ virtual void setIcon (const TQPixmap&);
}; // class KMultiTabBarTab
diff --git a/sip/kutils/kplugininfo.sip b/sip/kutils/kplugininfo.sip
index c1480b0..4b8e055 100644
--- a/sip/kutils/kplugininfo.sip
+++ b/sip/kutils/kplugininfo.sip
@@ -34,35 +34,35 @@ class KPluginInfo
public:
- typedef QValueList<KPluginInfo*> List;
- KPluginInfo (const QString&, const char* = 0);
+ typedef TQValueList<KPluginInfo*> List;
+ KPluginInfo (const TQString&, 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 );
+ static KPluginInfo::List fromServices (const KService::List&, KConfig* = 0, const TQString& = TQString ::null );
+ static KPluginInfo::List fromFiles (const TQStringList&, KConfig* = 0, const TQString& = TQString ::null );
+ static KPluginInfo::List fromKPartsInstanceName (const TQString&, KConfig* = 0, const TQString& = TQString ::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;
+ TQVariant property (const TQString&) const;
+//ig TQVariant operator [] (const TQString&) const;
+ const TQString& name () const;
+ const TQString& comment () const;
+ const TQString& icon () const;
+ const TQString& specfile () const;
+ const TQString& author () const;
+ const TQString& email () const;
+ const TQString& category () const;
+ const TQString& pluginName () const;
+ const TQString& version () const;
+ const TQString& website () const;
+ const TQString& license () const;
+ const TQStringList& dependencies () const;
KService::Ptr service () const;
-//ig const QValueList<KService::Ptr>& kcmServices () const;
- void setConfig (KConfig*, const QString&);
+//ig const TQValueList<KService::Ptr>& kcmServices () const;
+ void setConfig (KConfig*, const TQString&);
KConfig* config () const;
- const QString& configgroup () const;
+ const TQString& configgroup () const;
virtual void save (KConfigGroup* = 0);
virtual void load (KConfigGroup* = 0);
virtual void defaults ();
@@ -94,11 +94,11 @@ private:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KPluginInfo *> *cpplist = (QValueList<KPluginInfo *> *)sipCpp;
+ TQValueList<KPluginInfo *> *cpplist = (TQValueList<KPluginInfo *> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KPluginInfo *>::Iterator it;
+ TQValueList<KPluginInfo *>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromInstance ((KPluginInfo *)(*it), sipClass_KPluginInfo, sipTransferObj)) == NULL)
@@ -117,7 +117,7 @@ private:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KPluginInfo *> *cpplist = new QValueList<KPluginInfo *>;
+ TQValueList<KPluginInfo *> *cpplist = new TQValueList<KPluginInfo *>;
PyObject *elem;
KPluginInfo *cpp;
diff --git a/sip/kutils/kpluginselector.sip b/sip/kutils/kpluginselector.sip
index 7266136..8b84eba 100644
--- a/sip/kutils/kpluginselector.sip
+++ b/sip/kutils/kpluginselector.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_3_0 - )
-class KPluginSelector : QWidget
+class KPluginSelector : TQWidget
{
%TypeHeaderCode
#include <kpluginselector.h>
@@ -34,10 +34,10 @@ class KPluginSelector : QWidget
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<KPluginInfo*>&, const QString& = QString ::null , const QString& = QString ::null , KConfig* = 0);
+ KPluginSelector (TQWidget*, const char* = 0);
+ void addPlugins (const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , KConfig* = 0);
+ void addPlugins (const KInstance*, const TQString& = TQString ::null , const TQString& = TQString ::null , KConfig* = 0);
+//ig void addPlugins (const TQValueList<KPluginInfo*>&, const TQString& = TQString ::null , const TQString& = TQString ::null , KConfig* = 0);
void setShowEmptyConfigPage (bool);
void load ();
void save ();
@@ -45,7 +45,7 @@ public:
signals:
void changed (bool);
- void configCommitted (const QCString&);
+ void configCommitted (const TQCString&);
}; // class KPluginSelector
diff --git a/sip/kutils/kreplace.sip b/sip/kutils/kreplace.sip
index c797630..e692923 100644
--- a/sip/kutils/kreplace.sip
+++ b/sip/kutils/kreplace.sip
@@ -34,20 +34,20 @@ class KReplace : KFind
public:
- KReplace (const QString&, const QString&, long, QWidget* = 0);
- KReplace (const QString&, const QString&, long, QWidget*, QWidget*);
+ KReplace (const TQString&, const TQString&, long, TQWidget* = 0);
+ KReplace (const TQString&, const TQString&, long, TQWidget*, TQWidget*);
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*);
+ static int replace (TQString&, const TQString&, const TQString&, int, long, int*);
+ static int replace (TQString&, const TQRegExp&, const TQString&, int, long, int*);
virtual bool shouldRestart (bool = 0, bool = 1) const;
virtual void displayFinalDialog () const;
signals:
- void replace (const QString&, int, int, int);
+ void replace (const TQString&, int, int, int);
protected slots:
void slotSkip ();
diff --git a/sip/kutils/kreplacedialog.sip b/sip/kutils/kreplacedialog.sip
index 84938a6..79b58e4 100644
--- a/sip/kutils/kreplacedialog.sip
+++ b/sip/kutils/kreplacedialog.sip
@@ -41,17 +41,17 @@ public:
BackReference
};
- KReplaceDialog (QWidget* = 0, const char* = 0, long = 0, const QStringList& = QStringList (), const QStringList& = QStringList (), bool = 1);
- void setReplacementHistory (const QStringList&);
- QStringList replacementHistory () const;
+ KReplaceDialog (TQWidget* = 0, const char* = 0, long = 0, const TQStringList& = TQStringList (), const TQStringList& = TQStringList (), bool = 1);
+ void setReplacementHistory (const TQStringList&);
+ TQStringList replacementHistory () const;
void setOptions (long);
long options () const;
- QString replacement () const;
- QWidget* replaceExtension ();
+ TQString replacement () const;
+ TQWidget* replaceExtension ();
protected slots:
void slotOk ();
- virtual void showEvent (QShowEvent*);
+ virtual void showEvent (TQShowEvent*);
}; // class KReplaceDialog
diff --git a/sip/tdecore/bytearray.sip b/sip/tdecore/bytearray.sip
index aae4780..20cd872 100644
--- a/sip/tdecore/bytearray.sip
+++ b/sip/tdecore/bytearray.sip
@@ -26,40 +26,40 @@
%End
-void dcop_add (QDataStream&, QWidget::FocusPolicy /Constrained/);
-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&, 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&, QByteArray);
-
-void dcop_add (QDataStream&, SIP_PYDICT, QCString);
+void dcop_add (TQDataStream&, TQWidget::FocusPolicy /Constrained/);
+void dcop_add (TQDataStream&, int /Constrained/, const TQCString& = "int");
+//void dcop_add (TQDataStream&, longlong);
+//void dcop_add (TQDataStream&, ulonglong);
+void dcop_add (TQDataStream&, double, const TQCString& = "double");
+void dcop_add (TQDataStream&, TQString);
+void dcop_add (TQDataStream&, TQStringList);
+void dcop_add (TQDataStream&, TQCString);
+void dcop_add (TQDataStream&, KURL);
+void dcop_add (TQDataStream&, KURL::List);
+void dcop_add (TQDataStream&, TQSize);
+void dcop_add (TQDataStream&, TQRect);
+void dcop_add (TQDataStream&, TQRegion);
+void dcop_add (TQDataStream&, TQPoint);
+void dcop_add (TQDataStream&, TQFont);
+void dcop_add (TQDataStream&, TQCursor);
+void dcop_add (TQDataStream&, TQPixmap);
+void dcop_add (TQDataStream&, TQColor);
+void dcop_add (TQDataStream&, TQColorGroup);
+void dcop_add (TQDataStream&, TQPalette);
+void dcop_add (TQDataStream&, TQBrush);
+void dcop_add (TQDataStream&, DCOPRef);
+void dcop_add (TQDataStream&, TQVariant);
+void dcop_add (TQDataStream&, TQDate);
+void dcop_add (TQDataStream&, TQTime);
+void dcop_add (TQDataStream&, TQDateTime);
+void dcop_add (TQDataStream&, TQImage);
+void dcop_add (TQDataStream&, TQKeySequence);
+void dcop_add (TQDataStream&, TQPen);
+void dcop_add (TQDataStream&, TQPicture);
+void dcop_add (TQDataStream&, TQPointArray);
+void dcop_add (TQDataStream&, TQByteArray);
+
+void dcop_add (TQDataStream&, SIP_PYDICT, TQCString);
%MethodCode
const sipTypeDef *map_td = sipFindType(*a2);
@@ -75,27 +75,27 @@ void dcop_add (QDataStream&, SIP_PYDICT, QCString);
{
sipIsErr = 1;
}
- else if (*a2 == "QMap<QCString,DCOPRef>")
+ else if (*a2 == "TQMap<TQCString,DCOPRef>")
{
- QMap<QCString,DCOPRef> *map = (QMap<QCString,DCOPRef> *)map_v;
+ TQMap<TQCString,DCOPRef> *map = (TQMap<TQCString,DCOPRef> *)map_v;
*a0 << *map;
}
- else if (*a2 == "QMap<QString,DCOPRef>")
+ else if (*a2 == "TQMap<TQString,DCOPRef>")
{
- QMap<QString,DCOPRef> *map = (QMap<QString,DCOPRef> *)map_v;
+ TQMap<TQString,DCOPRef> *map = (TQMap<TQString,DCOPRef> *)map_v;
*a0 << *map;
}
- else if (*a2 == "QMap<QString,QString>")
+ else if (*a2 == "TQMap<TQString,TQString>")
{
- QMap<QString,QString> *map = (QMap<QString,QString> *)map_v;
+ TQMap<TQString,TQString> *map = (TQMap<TQString,TQString> *)map_v;
*a0 << *map;
}
- else if (*a2 == "QMap<QString,QByteArray>")
+ else if (*a2 == "TQMap<TQString,TQByteArray>")
{
- QMap<QString,QByteArray> *map = (QMap<QString,QByteArray> *)map_v;
+ TQMap<TQString,TQByteArray> *map = (TQMap<TQString,TQByteArray> *)map_v;
*a0 << *map;
}
@@ -103,7 +103,7 @@ void dcop_add (QDataStream&, SIP_PYDICT, QCString);
%End
-void dcop_add (QDataStream&, SIP_PYLIST, QCString);
+void dcop_add (TQDataStream&, SIP_PYLIST, TQCString);
%MethodCode
const sipTypeDef *list_td = sipFindType(*a2);
@@ -119,15 +119,15 @@ void dcop_add (QDataStream&, SIP_PYLIST, QCString);
{
sipIsErr = 1;
}
- else if (*a2 == "QValueList<QCString>")
+ else if (*a2 == "TQValueList<TQCString>")
{
- QValueList<QCString> *list = (QValueList<QCString> *)list_v;
+ TQValueList<TQCString> *list = (TQValueList<TQCString> *)list_v;
*a0 << *list;
}
- else if (*a2 == "QValueList<DCOPRef>")
+ else if (*a2 == "TQValueList<DCOPRef>")
{
- QValueList<DCOPRef> *list = (QValueList<DCOPRef> *)list_v;
+ TQValueList<DCOPRef> *list = (TQValueList<DCOPRef> *)list_v;
*a0 << *list;
}
@@ -135,7 +135,7 @@ void dcop_add (QDataStream&, SIP_PYLIST, QCString);
%End
-void dcop_next (QDataStream&, QCString&);
+void dcop_next (TQDataStream&, TQCString&);
%MethodCode
if (*a1 == "char")
{
@@ -215,23 +215,23 @@ void dcop_next (QDataStream&, QCString&);
*a0 >> res;
return PyFloat_FromDouble (res);
}
- else if (*a1 == "QString")
+ else if (*a1 == "TQString")
{
- QString res;
+ TQString res;
*a0 >> res;
- return sipConvertFromNewType(new QString(res), sipType_QString, NULL);
+ return sipConvertFromNewType(new TQString(res), sipType_QString, NULL);
}
- else if (*a1 == "QStringList")
+ else if (*a1 == "TQStringList")
{
- QStringList res;
+ TQStringList res;
*a0 >> res;
- return sipConvertFromNewType(new QStringList(res), sipType_QStringList, NULL);
+ return sipConvertFromNewType(new TQStringList(res), sipType_QStringList, NULL);
}
- else if (*a1 == "QCString")
+ else if (*a1 == "TQCString")
{
- QCString res;
+ TQCString res;
*a0 >> res;
- return sipConvertFromNewType(new QCString(res), sipType_QCString, NULL);
+ return sipConvertFromNewType(new TQCString(res), sipType_QCString, NULL);
}
else if (*a1 == "KURL")
{
@@ -245,71 +245,71 @@ void dcop_next (QDataStream&, QCString&);
*a0 >> res;
return sipConvertFromNewType(new KURL::List(res), sipType_KURL_List, NULL);
}
- else if (*a1 == "QSize")
+ else if (*a1 == "TQSize")
{
- QSize res;
+ TQSize res;
*a0 >> res;
- return sipConvertFromNewType(new QSize(res), sipType_QSize, NULL);
+ return sipConvertFromNewType(new TQSize(res), sipType_QSize, NULL);
}
- else if (*a1 == "QRect")
+ else if (*a1 == "TQRect")
{
- QRect res;
+ TQRect res;
*a0 >> res;
- return sipConvertFromNewType(new QRect(res), sipType_QRect, NULL);
+ return sipConvertFromNewType(new TQRect(res), sipType_QRect, NULL);
}
- else if (*a1 == "QRegion")
+ else if (*a1 == "TQRegion")
{
- QRect res;
+ TQRect res;
*a0 >> res;
- return sipConvertFromNewType(new QRegion(res), sipType_QRegion, NULL);
+ return sipConvertFromNewType(new TQRegion(res), sipType_QRegion, NULL);
}
- else if (*a1 == "QPoint")
+ else if (*a1 == "TQPoint")
{
- QPoint res;
+ TQPoint res;
*a0 >> res;
- return sipConvertFromNewType(new QPoint(res), sipType_QPoint, NULL);
+ return sipConvertFromNewType(new TQPoint(res), sipType_QPoint, NULL);
}
- else if (*a1 == "QFont")
+ else if (*a1 == "TQFont")
{
- QFont res;
+ TQFont res;
*a0 >> res;
- return sipConvertFromNewType(new QFont(res), sipType_QFont, NULL);
+ return sipConvertFromNewType(new TQFont(res), sipType_QFont, NULL);
}
- else if (*a1 == "QCursor")
+ else if (*a1 == "TQCursor")
{
- QCursor res;
+ TQCursor res;
*a0 >> res;
- return sipConvertFromNewType(new QCursor(res), sipType_QCursor, NULL);
+ return sipConvertFromNewType(new TQCursor(res), sipType_QCursor, NULL);
}
- else if (*a1 == "QPixmap")
+ else if (*a1 == "TQPixmap")
{
- QPixmap res;
+ TQPixmap res;
*a0 >> res;
- return sipConvertFromNewType(new QPixmap(res), sipType_QPixmap, NULL);
+ return sipConvertFromNewType(new TQPixmap(res), sipType_QPixmap, NULL);
}
- else if (*a1 == "QColor")
+ else if (*a1 == "TQColor")
{
- QColor res;
+ TQColor res;
*a0 >> res;
- return sipConvertFromNewType(new QColor(res), sipType_QColor, NULL);
+ return sipConvertFromNewType(new TQColor(res), sipType_QColor, NULL);
}
- else if (*a1 == "QColorGroup")
+ else if (*a1 == "TQColorGroup")
{
- QColorGroup res;
+ TQColorGroup res;
*a0 >> res;
- return sipConvertFromNewType(new QColorGroup(res), sipType_QColorGroup, NULL);
+ return sipConvertFromNewType(new TQColorGroup(res), sipType_QColorGroup, NULL);
}
- else if (*a1 == "QPalette")
+ else if (*a1 == "TQPalette")
{
- QPalette res;
+ TQPalette res;
*a0 >> res;
- return sipConvertFromNewType(new QPalette(res), sipType_QPalette, NULL);
+ return sipConvertFromNewType(new TQPalette(res), sipType_QPalette, NULL);
}
- else if (*a1 == "QBrush")
+ else if (*a1 == "TQBrush")
{
- QBrush res;
+ TQBrush res;
*a0 >> res;
- return sipConvertFromNewType(new QBrush(res), sipType_QBrush, NULL);
+ return sipConvertFromNewType(new TQBrush(res), sipType_QBrush, NULL);
}
else if (*a1 == "FocusPolicy")
{
@@ -323,99 +323,99 @@ void dcop_next (QDataStream&, QCString&);
*a0 >> res;
return sipConvertFromNewType(new DCOPRef(res), sipType_DCOPRef, NULL);
}
- else if (*a1 == "QVariant")
+ else if (*a1 == "TQVariant")
{
- QVariant res;
+ TQVariant res;
*a0 >> res;
- return sipConvertFromNewType(new QVariant(res), sipType_QVariant, NULL);
+ return sipConvertFromNewType(new TQVariant(res), sipType_QVariant, NULL);
}
- else if (*a1 == "QDate")
+ else if (*a1 == "TQDate")
{
- QDate res;
+ TQDate res;
*a0 >> res;
- return sipConvertFromNewType(new QDate(res), sipType_QDate, NULL);
+ return sipConvertFromNewType(new TQDate(res), sipType_QDate, NULL);
}
- else if (*a1 == "QTime")
+ else if (*a1 == "TQTime")
{
- QTime res;
+ TQTime res;
*a0 >> res;
- return sipConvertFromNewType(new QTime(res), sipType_QTime, NULL);
+ return sipConvertFromNewType(new TQTime(res), sipType_QTime, NULL);
}
- else if (*a1 == "QDateTime")
+ else if (*a1 == "TQDateTime")
{
- QDateTime res;
+ TQDateTime res;
*a0 >> res;
- return sipConvertFromNewType(new QDateTime(res), sipType_QDateTime, NULL);
+ return sipConvertFromNewType(new TQDateTime(res), sipType_QDateTime, NULL);
}
- else if (*a1 == "QImage")
+ else if (*a1 == "TQImage")
{
- QImage res;
+ TQImage res;
*a0 >> res;
- return sipConvertFromNewType(new QImage(res), sipType_QImage, NULL);
+ return sipConvertFromNewType(new TQImage(res), sipType_QImage, NULL);
}
- else if (*a1 == "QKeySequence")
+ else if (*a1 == "TQKeySequence")
{
- QKeySequence res;
+ TQKeySequence res;
*a0 >> res;
- return sipConvertFromNewType(new QKeySequence(res), sipType_QKeySequence, NULL);
+ return sipConvertFromNewType(new TQKeySequence(res), sipType_QKeySequence, NULL);
}
- else if (*a1 == "QPen")
+ else if (*a1 == "TQPen")
{
- QPen res;
+ TQPen res;
*a0 >> res;
- return sipConvertFromNewType(new QPen(res), sipType_QPen, NULL);
+ return sipConvertFromNewType(new TQPen(res), sipType_QPen, NULL);
}
- else if (*a1 == "QPicture")
+ else if (*a1 == "TQPicture")
{
- QPicture res;
+ TQPicture res;
*a0 >> res;
- return sipConvertFromNewType(new QPicture(res), sipType_QPicture, NULL);
+ return sipConvertFromNewType(new TQPicture(res), sipType_QPicture, NULL);
}
- else if (*a1 == "QPointArray")
+ else if (*a1 == "TQPointArray")
{
- QPointArray res;
+ TQPointArray res;
*a0 >> res;
- return sipConvertFromNewType(new QPointArray(res), sipType_QPointArray, NULL);
+ return sipConvertFromNewType(new TQPointArray(res), sipType_QPointArray, NULL);
}
- else if (*a1 == "QByteArray")
+ else if (*a1 == "TQByteArray")
{
- QByteArray res;
+ TQByteArray res;
*a0 >> res;
- return sipConvertFromNewType(new QByteArray(res), sipType_QByteArray, NULL);
+ return sipConvertFromNewType(new TQByteArray(res), sipType_QByteArray, NULL);
}
- else if (*a1 == "QMap<QCString,DCOPRef>")
+ else if (*a1 == "TQMap<TQCString,DCOPRef>")
{
- QMap<QCString, DCOPRef> res;
+ TQMap<TQCString, DCOPRef> res;
*a0 >> res;
return sipConvertFromType(&res, sipFindType(*a1), NULL);
}
- else if (*a1 == "QMap<QString,DCOPRef>")
+ else if (*a1 == "TQMap<TQString,DCOPRef>")
{
- QMap<QString, DCOPRef> res;
+ TQMap<TQString, DCOPRef> res;
*a0 >> res;
return sipConvertFromType(&res, sipFindType(*a1), NULL);
}
- else if (*a1 == "QMap<QString,QString>")
+ else if (*a1 == "TQMap<TQString,TQString>")
{
- QMap<QString, QString> res;
+ TQMap<TQString, TQString> res;
*a0 >> res;
return sipConvertFromType(&res, sipFindType(*a1), NULL);
}
- else if (*a1 == "QMap<QString,QByteArray>")
+ else if (*a1 == "TQMap<TQString,TQByteArray>")
{
- QMap<QString, QByteArray> res;
+ TQMap<TQString, TQByteArray> res;
*a0 >> res;
return sipConvertFromType(&res, sipFindType(*a1), NULL);
}
- else if (*a1 == "QValueList<QCString>")
+ else if (*a1 == "TQValueList<TQCString>")
{
- QValueList<QCString> res;
+ TQValueList<TQCString> res;
*a0 >> res;
return sipConvertFromType(&res, sipFindType(*a1), NULL);
}
- else if (*a1 == "QValueList<DCOPRef>" || *a1 == "QCStringList")
+ else if (*a1 == "TQValueList<DCOPRef>" || *a1 == "TQCStringList")
{
- QValueList<DCOPRef> res;
+ TQValueList<DCOPRef> res;
*a0 >> res;
return sipConvertFromType(&res, sipFindType(*a1), NULL);
}
@@ -430,7 +430,7 @@ void dcop_next (QDataStream&, QCString&);
%ModuleCode
-void dcop_add (QDataStream& s, int value, const QCString& type_)
+void dcop_add (TQDataStream& s, int value, const TQCString& type_)
{
if (type_ == "char")
s << (Q_INT8)value;
@@ -452,17 +452,17 @@ void dcop_add (QDataStream& s, int value, const QCString& type_)
s << (long)value;
}
-/*void dcop_add (QDataStream& s, longlong value)
+/*void dcop_add (TQDataStream& s, longlong value)
{
s << value;
}
-void dcop_add (QDataStream& s, ulonglong value)
+void dcop_add (TQDataStream& s, ulonglong value)
{
s << value;
}*/
-void dcop_add (QDataStream& s, double value, const QCString& type_)
+void dcop_add (TQDataStream& s, double value, const TQCString& type_)
{
if (type_ == "double")
s << value;
@@ -470,142 +470,142 @@ void dcop_add (QDataStream& s, double value, const QCString& type_)
s << (float)value;
}
-void dcop_add (QDataStream& s, QString value)
+void dcop_add (TQDataStream& s, TQString value)
{
s << value;
}
-void dcop_add (QDataStream& s, QStringList value)
+void dcop_add (TQDataStream& s, TQStringList value)
{
s << value;
}
-void dcop_add (QDataStream& s, QCString value)
+void dcop_add (TQDataStream& s, TQCString value)
{
s << value;
}
-void dcop_add (QDataStream& s, KURL value)
+void dcop_add (TQDataStream& s, KURL value)
{
s << value;
}
-void dcop_add (QDataStream& s, KURL::List value)
+void dcop_add (TQDataStream& s, KURL::List value)
{
s << value;
}
-void dcop_add (QDataStream& s, QSize value)
+void dcop_add (TQDataStream& s, TQSize value)
{
s << value;
}
-void dcop_add (QDataStream& s, QRect value)
+void dcop_add (TQDataStream& s, TQRect value)
{
s << value;
}
-void dcop_add (QDataStream& s, QRegion value)
+void dcop_add (TQDataStream& s, TQRegion value)
{
s << value;
}
-void dcop_add (QDataStream& s, QPoint value)
+void dcop_add (TQDataStream& s, TQPoint value)
{
s << value;
}
-void dcop_add (QDataStream& s, QFont value)
+void dcop_add (TQDataStream& s, TQFont value)
{
s << value;
}
-void dcop_add (QDataStream& s, QCursor value)
+void dcop_add (TQDataStream& s, TQCursor value)
{
s << value;
}
-void dcop_add (QDataStream& s, QPixmap value)
+void dcop_add (TQDataStream& s, TQPixmap value)
{
s << value;
}
-void dcop_add (QDataStream& s, QColor value)
+void dcop_add (TQDataStream& s, TQColor value)
{
s << value;
}
-void dcop_add (QDataStream& s, QColorGroup value)
+void dcop_add (TQDataStream& s, TQColorGroup value)
{
s << value;
}
-void dcop_add (QDataStream& s, QPalette value)
+void dcop_add (TQDataStream& s, TQPalette value)
{
s << value;
}
-void dcop_add (QDataStream& s, QBrush value)
+void dcop_add (TQDataStream& s, TQBrush value)
{
s << value;
}
-void dcop_add (QDataStream& s, QWidget::FocusPolicy value)
+void dcop_add (TQDataStream& s, TQWidget::FocusPolicy value)
{
s << value;
}
-void dcop_add (QDataStream& s, DCOPRef value)
+void dcop_add (TQDataStream& s, DCOPRef value)
{
s << value;
}
-void dcop_add (QDataStream& s, QVariant value)
+void dcop_add (TQDataStream& s, TQVariant value)
{
s << value;
}
-void dcop_add (QDataStream& s, QDate value)
+void dcop_add (TQDataStream& s, TQDate value)
{
s << value;
}
-void dcop_add (QDataStream& s, QTime value)
+void dcop_add (TQDataStream& s, TQTime value)
{
s << value;
}
-void dcop_add (QDataStream& s, QDateTime value)
+void dcop_add (TQDataStream& s, TQDateTime value)
{
s << value;
}
-void dcop_add (QDataStream& s, QImage value)
+void dcop_add (TQDataStream& s, TQImage value)
{
s << value;
}
-void dcop_add (QDataStream& s, QKeySequence value)
+void dcop_add (TQDataStream& s, TQKeySequence value)
{
s << value;
}
-void dcop_add (QDataStream& s, QPen value)
+void dcop_add (TQDataStream& s, TQPen value)
{
s << value;
}
-void dcop_add (QDataStream& s, QPicture value)
+void dcop_add (TQDataStream& s, TQPicture value)
{
s << value;
}
-void dcop_add (QDataStream& s, QPointArray value)
+void dcop_add (TQDataStream& s, TQPointArray value)
{
s << value;
}
-void dcop_add (QDataStream& s, QByteArray value)
+void dcop_add (TQDataStream& s, TQByteArray value)
{
s << value;
}
@@ -613,12 +613,12 @@ void dcop_add (QDataStream& s, QByteArray value)
%End
-%MappedType QMap<QCString,DCOPRef>
-//converts a Python dict of QCString:DCOPRef
+%MappedType TQMap<TQCString,DCOPRef>
+//converts a Python dict of TQCString:DCOPRef
{
%TypeHeaderCode
#include <qmap.h>
-//typedef QMap<QCString,DCOPRef> DCOPRefMap;
+//typedef TQMap<TQCString,DCOPRef> DCOPRefMap;
%End
%ConvertFromTypeCode
@@ -636,16 +636,16 @@ void dcop_add (QDataStream& s, QByteArray value)
// Get it.
- const QMap<QCString,DCOPRef> cppmap = *sipCpp;
- QMap<QCString,DCOPRef>::ConstIterator it;
+ const TQMap<TQCString,DCOPRef> cppmap = *sipCpp;
+ TQMap<TQCString,DCOPRef>::ConstIterator it;
for (it = cppmap.begin (); it != cppmap.end (); ++it)
{
- QCString acpp = it.key ();
+ TQCString acpp = it.key ();
DCOPRef bcpp = it.data ();
PyObject *ainst;
PyObject *binst = NULL;
- if (((ainst = sipConvertFromNewType(new QCString(acpp), sipType_QCString, NULL)) == NULL)
+ if (((ainst = sipConvertFromNewType(new TQCString(acpp), sipType_QCString, NULL)) == NULL)
|| ((binst = sipConvertFromNewType(new DCOPRef(bcpp), sipType_DCOPRef, NULL)) == NULL)
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
@@ -661,23 +661,23 @@ void dcop_add (QDataStream& s, QByteArray value)
%ConvertToTypeCode
- // Convert a Python dictionary to a QMap on the heap.
+ // Convert a Python dictionary to a TQMap on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QCString,DCOPRef> *cppmap = new QMap<QCString,DCOPRef>;
+ TQMap<TQCString,DCOPRef> *cppmap = new TQMap<TQCString,DCOPRef>;
PyObject *aelem, *belem;
SIP_SSIZE_T pos = 0;
- QCString *acpp;
+ TQCString *acpp;
DCOPRef *bcpp;
while (PyDict_Next(sipPy, &pos, &aelem, &belem))
{
int iserr = 0;
- acpp = (QCString *)sipForceConvertToType(aelem, sipType_QCString, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ acpp = (TQCString *)sipForceConvertToType(aelem, sipType_QCString, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
bcpp = (DCOPRef *)sipForceConvertToType(belem, sipType_DCOPRef, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
@@ -696,12 +696,12 @@ void dcop_add (QDataStream& s, QByteArray value)
%End
};
-%MappedType QMap<QString,DCOPRef>
-//converts a Python dict of QString:DCOPRef
+%MappedType TQMap<TQString,DCOPRef>
+//converts a Python dict of TQString:DCOPRef
{
%TypeHeaderCode
#include <qmap.h>
-//typedef QMap<QString,DCOPRef> DCOPRefMap;
+//typedef TQMap<TQString,DCOPRef> DCOPRefMap;
%End
%ConvertFromTypeCode
@@ -719,16 +719,16 @@ void dcop_add (QDataStream& s, QByteArray value)
// Get it.
- const QMap<QString,DCOPRef> cppmap = *sipCpp;
- QMap<QString,DCOPRef>::ConstIterator it;
+ const TQMap<TQString,DCOPRef> cppmap = *sipCpp;
+ TQMap<TQString,DCOPRef>::ConstIterator it;
for (it = cppmap.begin (); it != cppmap.end (); ++it)
{
- QString acpp = it.key ();
+ TQString acpp = it.key ();
DCOPRef bcpp = it.data ();
PyObject *ainst;
PyObject *binst = NULL;
- if (((ainst = sipConvertFromNewType(new QString(acpp), sipType_QString, sipTransferObj)) == NULL)
+ if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_QString, sipTransferObj)) == NULL)
|| ((binst = sipConvertFromNewType(new DCOPRef(bcpp), sipType_DCOPRef, sipTransferObj)) == NULL)
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
@@ -744,23 +744,23 @@ void dcop_add (QDataStream& s, QByteArray value)
%ConvertToTypeCode
- // Convert a Python dictionary to a QMap on the heap.
+ // Convert a Python dictionary to a TQMap on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QString,DCOPRef> *cppmap = new QMap<QString,DCOPRef>;
+ TQMap<TQString,DCOPRef> *cppmap = new TQMap<TQString,DCOPRef>;
PyObject *aelem, *belem;
SIP_SSIZE_T pos = 0;
- QString *acpp;
+ TQString *acpp;
DCOPRef *bcpp;
while (PyDict_Next(sipPy, &pos, &aelem, &belem))
{
int iserr = 0, acpp_state;
- acpp = (QString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
+ acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
bcpp = (DCOPRef *)sipForceConvertToType(belem, sipType_DCOPRef, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
@@ -785,11 +785,11 @@ void dcop_add (QDataStream& s, QByteArray value)
};
-//%MappedType QMap<QString,QString> is available in tdecore/kconfig.sip
+//%MappedType TQMap<TQString,TQString> is available in tdecore/kconfig.sip
-%MappedType QMap<QString,QByteArray>
-//converts a Python dict of QString:QByteArray
+%MappedType TQMap<TQString,TQByteArray>
+//converts a Python dict of TQString:TQByteArray
{
%TypeHeaderCode
#include <qmap.h>
@@ -810,17 +810,17 @@ void dcop_add (QDataStream& s, QByteArray value)
// Get it.
- const QMap<QString,QByteArray> cppmap = *sipCpp;
- QMap<QString,QByteArray>::ConstIterator it;
+ const TQMap<TQString,TQByteArray> cppmap = *sipCpp;
+ TQMap<TQString,TQByteArray>::ConstIterator it;
for (it = cppmap.begin (); it != cppmap.end (); ++it)
{
- QString acpp = it.key ();
- QByteArray bcpp = it.data ();
+ TQString acpp = it.key ();
+ TQByteArray bcpp = it.data ();
PyObject *ainst;
PyObject *binst = NULL;
- if (((ainst = sipConvertFromNewType(new QString(acpp), sipType_QString, sipTransferObj)) == NULL)
- || ((binst = sipConvertFromNewType(new QByteArray(bcpp), sipType_QByteArray, sipTransferObj)) == NULL)
+ if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_QString, sipTransferObj)) == NULL)
+ || ((binst = sipConvertFromNewType(new TQByteArray(bcpp), sipType_QByteArray, sipTransferObj)) == NULL)
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
Py_XDECREF (ainst);
@@ -835,24 +835,24 @@ void dcop_add (QDataStream& s, QByteArray value)
%ConvertToTypeCode
- // Convert a Python dictionary to a QMap<QString,QByteArray> on the heap.
+ // Convert a Python dictionary to a TQMap<TQString,TQByteArray> on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QString,QByteArray> *cppmap = new QMap<QString,QByteArray>;
+ TQMap<TQString,TQByteArray> *cppmap = new TQMap<TQString,TQByteArray>;
PyObject *aelem, *belem;
SIP_SSIZE_T pos = 0;
- QString *acpp;
- QByteArray *bcpp;
+ TQString *acpp;
+ TQByteArray *bcpp;
while (PyDict_Next(sipPy, &pos, &aelem, &belem))
{
int iserr = 0, acpp_state, bcpp_state;
- acpp = (QString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
- bcpp = (QByteArray *)sipForceConvertToType(belem, sipType_QByteArray, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr);
+ acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
+ bcpp = (TQByteArray *)sipForceConvertToType(belem, sipType_QByteArray, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr);
if (iserr)
{
@@ -878,7 +878,7 @@ void dcop_add (QDataStream& s, QByteArray value)
-%MappedType QValueList<DCOPRef>
+%MappedType TQValueList<DCOPRef>
//converts a Python list of DCOPRef
{
%TypeHeaderCode
@@ -894,11 +894,11 @@ void dcop_add (QDataStream& s, QByteArray value)
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<DCOPRef> *cpplist = (QValueList<DCOPRef> *)sipCpp;
+ TQValueList<DCOPRef> *cpplist = (TQValueList<DCOPRef> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<DCOPRef>::Iterator it;
+ TQValueList<DCOPRef>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new DCOPRef(*it), sipType_DCOPRef, NULL)) == NULL)
@@ -917,7 +917,7 @@ void dcop_add (QDataStream& s, QByteArray value)
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<DCOPRef> *cpplist = new QValueList<DCOPRef>;
+ TQValueList<DCOPRef> *cpplist = new TQValueList<DCOPRef>;
PyObject *elem;
DCOPRef *cpp;
diff --git a/sip/tdecore/kaboutdata.sip b/sip/tdecore/kaboutdata.sip
index 1117cda..e712c37 100644
--- a/sip/tdecore/kaboutdata.sip
+++ b/sip/tdecore/kaboutdata.sip
@@ -34,10 +34,10 @@ class KAboutPerson
public:
KAboutPerson (const char*, const char*, const char*, const char*);
KAboutPerson ();
- QString name () const;
- QString task () const;
- QString emailAddress () const;
- QString webAddress () const;
+ TQString name () const;
+ TQString task () const;
+ TQString emailAddress () const;
+ TQString webAddress () const;
}; // class KAboutPerson
@@ -50,9 +50,9 @@ class KAboutTranslator
public:
- KAboutTranslator (const QString& = QString ::null , const QString& = QString ::null );
- QString name () const;
- QString emailAddress () const;
+ KAboutTranslator (const TQString& = TQString ::null , const TQString& = TQString ::null );
+ TQString name () const;
+ TQString emailAddress () const;
}; // class KAboutTranslator
@@ -88,14 +88,14 @@ public:
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&);
+ void setLicenseTextFile (const TQString&);
%If ( KDE_3_3_0 - )
void setAppName (const char*);
void setProgramName (const char*);
%If ( KDE_3_4_0 - )
- void setProgramLogo (const QImage&);
+ void setProgramLogo (const TQImage&);
%End
void setVersion (const char*);
@@ -118,7 +118,7 @@ public:
const char* productName () const;
%End
- QString programName () const;
+ TQString programName () const;
%If ( KDE_3_5_1 - )
const char* internalProgramName () const;
@@ -127,36 +127,36 @@ public:
%If ( KDE_3_4_0 - )
- QImage programLogo () const;
+ TQImage programLogo () const;
%End
- QString version () const;
+ TQString version () const;
%If ( KDE_3_5_1 - )
const char* internalVersion () const;
%End
- QString shortDescription () const;
- QString homepage () const;
- QString bugAddress () const;
+ TQString shortDescription () const;
+ TQString homepage () const;
+ TQString bugAddress () const;
%If ( KDE_3_5_1 - )
const char* internalBugAddress () const;
%End
- const QValueList<KAboutPerson> authors () const;
- const QValueList<KAboutPerson> credits () const;
- const QValueList<KAboutTranslator> translators () const;
- static QString aboutTranslationTeam ();
- QString otherText () const;
- QString license () const;
- QString copyrightStatement () const;
+ const TQValueList<KAboutPerson> authors () const;
+ const TQValueList<KAboutPerson> credits () const;
+ const TQValueList<KAboutTranslator> translators () const;
+ static TQString aboutTranslationTeam ();
+ TQString otherText () const;
+ TQString license () const;
+ TQString copyrightStatement () const;
%If ( KDE_3_5_0 - )
- QString customAuthorPlainText () const;
- QString customAuthorRichText () const;
+ TQString customAuthorPlainText () const;
+ TQString customAuthorRichText () const;
bool customAuthorTextEnabled () const;
- void setCustomAuthorText (const QString&, const QString&);
+ void setCustomAuthorText (const TQString&, const TQString&);
void unsetCustomAuthorText ();
%End
@@ -165,7 +165,7 @@ public:
-%MappedType QValueList<KAboutPerson>
+%MappedType TQValueList<KAboutPerson>
//converts a Python list of KAboutPerson
{
%TypeHeaderCode
@@ -181,11 +181,11 @@ public:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KAboutPerson> *cpplist = (QValueList<KAboutPerson> *)sipCpp;
+ TQValueList<KAboutPerson> *cpplist = (TQValueList<KAboutPerson> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KAboutPerson>::Iterator it;
+ TQValueList<KAboutPerson>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KAboutPerson(*it), sipType_KAboutPerson, NULL)) == NULL)
@@ -204,7 +204,7 @@ public:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KAboutPerson> *cpplist = new QValueList<KAboutPerson>;
+ TQValueList<KAboutPerson> *cpplist = new TQValueList<KAboutPerson>;
PyObject *elem;
KAboutPerson *cpp;
@@ -232,7 +232,7 @@ public:
};
-%MappedType QValueList<KAboutTranslator>
+%MappedType TQValueList<KAboutTranslator>
//converts a Python list of KAboutTranslator
{
%TypeHeaderCode
@@ -248,11 +248,11 @@ public:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KAboutTranslator> *cpplist = (QValueList<KAboutTranslator> *)sipCpp;
+ TQValueList<KAboutTranslator> *cpplist = (TQValueList<KAboutTranslator> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KAboutTranslator>::Iterator it;
+ TQValueList<KAboutTranslator>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KAboutTranslator(*it), sipType_KAboutTranslator, NULL)) == NULL)
@@ -271,7 +271,7 @@ public:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KAboutTranslator> *cpplist = new QValueList<KAboutTranslator>;
+ TQValueList<KAboutTranslator> *cpplist = new TQValueList<KAboutTranslator>;
PyObject *elem;
KAboutTranslator *cpp;
diff --git a/sip/tdecore/kaccel.sip b/sip/tdecore/kaccel.sip
index 7b34881..2222223 100644
--- a/sip/tdecore/kaccel.sip
+++ b/sip/tdecore/kaccel.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAccel : QAccel
+class KAccel : TQAccel
{
%TypeHeaderCode
#include <kaccel.h>
@@ -32,32 +32,32 @@ class KAccel : QAccel
public:
- KAccel (QWidget* /TransferThis/, const char* = 0);
- KAccel (QWidget*, QObject* /TransferThis/, const char* = 0);
+ KAccel (TQWidget* /TransferThis/, const char* = 0);
+ KAccel (TQWidget*, TQObject* /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 TQString&, const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1);
+ KAccelAction* insert (const TQString&, const TQString&, const TQString&, 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 remove (const TQString&);
bool updateConnections ();
- const KShortcut& shortcut (const QString&) const;
- bool setShortcut (const QString&, const KShortcut&);
+ const KShortcut& shortcut (const TQString&) const;
+ bool setShortcut (const TQString&, const KShortcut&);
%If ( KDE_3_1_4 - )
- bool setSlot (const QString&, SIP_RXOBJ_CON, SIP_SLOT_CON ());
+ bool setSlot (const TQString&, SIP_RXOBJ_CON, SIP_SLOT_CON ());
%End
- bool setEnabled (const QString&, bool);
- const QString& configGroup () const;
- void setConfigGroup (const QString&);
+ bool setEnabled (const TQString&, bool);
+ const TQString& configGroup () const;
+ void setConfigGroup (const TQString&);
bool readSettings (KConfigBase* = 0);
bool writeSettings (KConfigBase* = 0) const;
void emitKeycodeChanged ();
@@ -66,22 +66,22 @@ 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 );
+ bool insertItem (const TQString&, const TQString&, const char*, int = 0, TQPopupMenu* = 0, bool = 1);
+ bool insertItem (const TQString&, const TQString&, int, int, TQPopupMenu*, bool = 1);
+ bool insertStdItem (KStdAccel::StdAccel, const TQString& = TQString ::null );
%If ( KDE_3_1_4 - )
- bool connectItem (const QString&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1);
+ bool connectItem (const TQString&, 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;
+ bool removeItem (const TQString&);
+ bool setItemEnabled (const TQString&, bool);
+ void changeMenuAccel (TQPopupMenu*, int, const TQString&);
+ void changeMenuAccel (TQPopupMenu*, int, KStdAccel::StdAccel);
+ static int stringToKey (const TQString&);
+ int currentKey (const TQString&) const;
+ TQString findKey (int) const;
protected:
//igx virtual void virtual_hook (int, void*);
@@ -90,26 +90,26 @@ public:
%If ( - KDE_3_2_0 )
//ig bool getAutoUpdate ();
-//ig KAccelAction* insert (const QString&, const QString&);
+//ig KAccelAction* insert (const TQString&, const TQString&);
%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*);
+ KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, const TQObject*, const char*, bool = 1, bool = 1);
+ KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, const TQObject*, const char*, bool = 1, bool = 1);
+ KAccelAction* insert (const char*, const KShortcut&, const TQObject*, const char*, bool = 1, bool = 1);
+ KAccelAction* insert (KStdAccel::StdAccel, const TQObject*, const char*, bool = 1, bool = 1);
+ bool setSlot (const TQString&, const TQObject*, 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*);
+ bool connectItem (const TQString&, const TQObject*, const char*, bool = 1);
+ bool connectItem (KStdAccel::StdAccel, const TQObject*, const char*);
//force
%ConvertToSubClassCode
@@ -157,8 +157,8 @@ public:
-%MappedType QMap<int,QString>
-//converts a Python dict of int:QString
+%MappedType TQMap<int,TQString>
+//converts a Python dict of int:TQString
{
%TypeHeaderCode
#include <kaccel.h>
@@ -178,13 +178,13 @@ public:
// Get it.
- const QMap<int,QString> map = *sipCpp;
- QMap<int,QString>::ConstIterator it;
+ const TQMap<int,TQString> map = *sipCpp;
+ TQMap<int,TQString>::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 ()));
+ PyObject *sData = PyString_FromString ((char *)((TQString *)&it.data ()));
if ((iKey == NULL) || (sData == NULL) || (PyDict_SetItem (dict, iKey, sData) < 0))
{
@@ -205,19 +205,19 @@ public:
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<int,QString> *map = new QMap<int,QString>;
+ TQMap<int,TQString> *map = new TQMap<int,TQString>;
PyObject *key, *value;
SIP_SSIZE_T pos = 0;
int iKey;
- QString *sData;
+ TQString *sData;
while (PyDict_Next(sipPy, &pos, &key, &value))
{
int iserr = 0, sData_state;
iKey = PyInt_AS_LONG (key);
- sData = (QString *)sipForceConvertToType(value, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr);
+ sData = (TQString *)sipForceConvertToType(value, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr);
if (iserr)
{
diff --git a/sip/tdecore/kaccelaction.sip b/sip/tdecore/kaccelaction.sip
index 20947b6..2c88eb9 100644
--- a/sip/tdecore/kaccelaction.sip
+++ b/sip/tdecore/kaccelaction.sip
@@ -34,25 +34,25 @@ class KAccelAction
public:
KAccelAction ();
KAccelAction (const KAccelAction&);
- KAccelAction (const QString&, const QString&, const QString&, const KShortcut&, const KShortcut&, const QObject*, const char*, bool, bool);
+ KAccelAction (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, const TQObject*, 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;
+ bool init (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, const TQObject*, const char*, bool, bool);
+ const TQString& name () const;
+ const TQString& label () const;
+ const TQString& whatsThis () const;
const KShortcut& shortcut () const;
const KShortcut& shortcutDefault () const;
const KShortcut& shortcutDefault3 () const;
const KShortcut& shortcutDefault4 () const;
- const QObject* objSlotPtr () const;
+ const TQObject* objSlotPtr () const;
const char* methodSlotPtr () const;
bool isConfigurable () const;
bool isEnabled () const;
- void setName (const QString&);
- void setLabel (const QString&);
- void setWhatsThis (const QString&);
+ void setName (const TQString&);
+ void setLabel (const TQString&);
+ void setWhatsThis (const TQString&);
bool setShortcut (const KShortcut&);
- void setSlot (const QObject*, const char*);
+ void setSlot (const TQObject*, const char*);
void setConfigurable (bool);
void setEnabled (bool);
int getID () const;
@@ -61,8 +61,8 @@ public:
bool setKeySequence (uint, const KKeySequence&);
void clearShortcut ();
bool contains (const KKeySequence&);
- QString toString () const;
- QString toStringInternal () const;
+ TQString toString () const;
+ TQString toStringInternal () const;
static bool useFourModifierKeys ();
static void useFourModifierKeys (bool);
@@ -85,11 +85,11 @@ public:
KAccelActions (const KAccelActions&);
void clear ();
bool init (const KAccelActions&);
- bool init (KConfigBase&, const QString&);
+ bool init (KConfigBase&, const TQString&);
void updateShortcuts (KAccelActions&);
- int actionIndex (const QString&) const;
+ int actionIndex (const TQString&) const;
KAccelAction* actionPtr (uint);
- KAccelAction* actionPtr (const QString&);
+ KAccelAction* actionPtr (const TQString&);
KAccelAction* actionPtr (KKeySequence);
%If ( KDE_3_1_4 - )
@@ -102,11 +102,11 @@ public:
%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;
+ KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, const TQObject* = 0, const char* = 0, bool = 1, bool = 1);
+ KAccelAction* insert (const TQString&, const TQString&);
+ bool remove (const TQString&);
+ bool readActions (const TQString& = "Shortcuts", KConfigBase* = 0);
+ bool writeActions (const TQString& = "Shortcuts", KConfigBase* = 0, bool = 0, bool = 0) const;
void emitKeycodeChanged ();
uint count () const;
diff --git a/sip/tdecore/kaccelbase.sip b/sip/tdecore/kaccelbase.sip
index 334c6d8..55080e7 100644
--- a/sip/tdecore/kaccelbase.sip
+++ b/sip/tdecore/kaccelbase.sip
@@ -49,29 +49,29 @@ public:
uint actionCount () const;
KAccelActions& actions ();
bool isEnabled () const;
- KAccelAction* actionPtr (const QString&);
+ KAccelAction* actionPtr (const TQString&);
KAccelAction* actionPtr (const KKey&);
KAccelAction* actionPtr (const KKeyServer::Key&);
- const QString& configGroup () const;
- void setConfigGroup (const QString&);
+ const TQString& configGroup () const;
+ void setConfigGroup (const TQString&);
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*);
+ KAccelAction* insert (const TQString&, const TQString&);
+ KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, const TQObject*, const char*, bool = 1, bool = 1);
+ bool remove (const TQString&);
+ bool setActionSlot (const TQString&, const TQObject*, const char*);
bool updateConnections ();
- bool setShortcut (const QString&, const KShortcut&);
- bool setActionEnabled (const QString&, bool);
+ bool setShortcut (const TQString&, const KShortcut&);
+ bool setActionEnabled (const TQString&, bool);
void readSettings (KConfigBase* = 0);
void writeSettings (KConfigBase* = 0) const;
- QPopupMenu* createPopupMenu (QWidget*, const KKeySequence&);
+ TQPopupMenu* createPopupMenu (TQWidget*, const KKeySequence&);
protected:
void slotRemoveAction (KAccelAction*);
-//ig void createKeyList (QValueVector<structX>&);
+//ig void createKeyList (TQValueVector<structX>&);
bool insertConnection (KAccelAction*);
bool removeConnection (KAccelAction*);
virtual bool emitSignal (KAccelBase::Signal) = 0;
@@ -89,7 +89,7 @@ protected:
//ig class ActionInfo;
-//ig typedef QMap<KKeyServer::Key,KAccelBase::ActionInfo> KKeyToActionMap;
+//ig typedef TQMap<KKeyServer::Key,KAccelBase::ActionInfo> KKeyToActionMap;
protected:
diff --git a/sip/tdecore/kallocator.sip b/sip/tdecore/kallocator.sip
index 7272123..73eb316 100644
--- a/sip/tdecore/kallocator.sip
+++ b/sip/tdecore/kallocator.sip
@@ -38,7 +38,7 @@ public:
void free_since (void*);
protected:
-//ig typedef QValueList<KZoneAllocator::MemBlock*> MemList;
+//ig typedef TQValueList<KZoneAllocator::MemBlock*> MemList;
//ig void addBlock (KZoneAllocator::MemBlock*);
//ig void delBlock (KZoneAllocator::MemBlock*);
//ig void insertHash (KZoneAllocator::MemBlock*);
diff --git a/sip/tdecore/kapplication.sip b/sip/tdecore/kapplication.sip
index e91de01..e7ab9e1 100644
--- a/sip/tdecore/kapplication.sip
+++ b/sip/tdecore/kapplication.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KApplication : QApplication, KInstance
+class KApplication : TQApplication, KInstance
{
%TypeHeaderCode
#include <kapplication.h>
@@ -46,11 +46,11 @@ public:
KApplication (bool = 1, bool = 1);
%If ( KDE_3_3_0 - )
-//ig KApplication (Display*, Qt::HANDLE = 0, Qt::HANDLE = 0, bool = 1);
+//ig KApplication (Display*, TQt::HANDLE = 0, TQt::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)];
+//ig KApplication (Display*, int&, char**, const TQCString&, bool = 1, bool = 1);
+ KApplication (SIP_PYLIST, TQCString&, bool = 1, bool = 1) [(int&, char**, const TQCString&, bool = 1, bool = 1)];
%MethodCode
//takes argv | (a Python list of strings) | rAppName | (Python string) | allowStyles | (bool = 1) | GUIenabled | (bool = 1)
@@ -122,8 +122,8 @@ public:
bool requestShutDown (KApplication::ShutdownConfirm = ShutdownConfirmDefault , KApplication::ShutdownType = ShutdownTypeDefault , KApplication::ShutdownMode = ShutdownModeDefault );
void propagateSessionManager ();
- void commitData (QSessionManager&);
- void saveState (QSessionManager&);
+ void commitData (TQSessionManager&);
+ void saveState (TQSessionManager&);
%If ( KDE_3_1_1 - )
bool sessionSaving () const;
@@ -131,49 +131,49 @@ public:
static DCOPClient* dcopClient ();
static void disableAutoDcopRegistration ();
- QPixmap icon () const;
- QString iconName () const;
- QPixmap miniIcon () const;
- QString miniIconName () const;
- void setTopWidget (QWidget*);
+ TQPixmap icon () const;
+ TQString iconName () const;
+ TQPixmap miniIcon () const;
+ TQString miniIconName () const;
+ void setTopWidget (TQWidget*);
%If ( KDE_3_2_0 - )
- void invokeHelp (const QString&, const QString&, const QCString&) const;
+ void invokeHelp (const TQString&, const TQString&, const TQCString&) const;
%End
- void invokeHelp (const QString& = QString ::null , const QString& = QString ::null ) const;
- void invokeHTMLHelp (const QString&, const QString& = QString ::null ) const;
+ void invokeHelp (const TQString& = TQString ::null , const TQString& = TQString ::null ) const;
+ void invokeHTMLHelp (const TQString&, const TQString& = TQString ::null ) const;
%If ( KDE_3_2_0 - )
- void invokeMailer (const QString&, const QString&, const QCString&);
+ void invokeMailer (const TQString&, const TQString&, const TQCString&);
%End
- void invokeMailer (const QString&, const QString&);
+ void invokeMailer (const TQString&, const TQString&);
%If ( KDE_3_3_0 - )
- void invokeMailer (const KURL&, const QCString&, bool);
+ void invokeMailer (const KURL&, const TQCString&, bool);
%End
%If ( KDE_3_2_0 - )
- void invokeMailer (const KURL&, const QCString&);
+ void invokeMailer (const KURL&, const TQCString&);
%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&);
+ void invokeMailer (const TQString&, const TQString&, const TQString&, const TQString&, const TQString&, const TQString&, const TQStringList&, const TQCString&);
%End
- void invokeMailer (const QString&, const QString&, const QString&, const QString&, const QString&, const QString& = QString ::null , const QStringList& = QStringList ());
+ void invokeMailer (const TQString&, const TQString&, const TQString&, const TQString&, const TQString&, const TQString& = TQString ::null , const TQStringList& = TQStringList ());
public slots:
%If ( KDE_3_2_0 - )
- void invokeBrowser (const QString&, const QCString&);
+ void invokeBrowser (const TQString&, const TQCString&);
%End
- void invokeBrowser (const QString&);
+ void invokeBrowser (const TQString&);
%If ( KDE_3_2_0 - )
void cut ();
@@ -185,45 +185,45 @@ public slots:
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);
+ static TQCString launcher ();
+ static int startServiceByName (const TQString&, const TQString&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0);
+ static int startServiceByName (const TQString&, const TQStringList&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0);
+ static int startServiceByDesktopPath (const TQString&, const TQString&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0);
+ static int startServiceByDesktopPath (const TQString&, const TQStringList&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0);
+ static int startServiceByDesktopName (const TQString&, const TQString&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0);
+ static int startServiceByDesktopName (const TQString&, const TQStringList&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0);
%If ( KDE_3_2_0 - )
- static int tdeinitExec (const QString&, const QStringList&, QString* /Out/, int*, QCString&);
+ static int tdeinitExec (const TQString&, const TQStringList&, TQString* /Out/, int*, TQCString&);
%End
- static int tdeinitExec (const QString&, const QStringList&, QString* /Out/, int*);
+ static int tdeinitExec (const TQString&, const TQStringList&, TQString* /Out/, int*);
%If ( KDE_3_2_0 - )
- static int tdeinitExecWait (const QString&, const QStringList&, QString* /Out/, int*, QCString&);
+ static int tdeinitExecWait (const TQString&, const TQStringList&, TQString* /Out/, int*, TQCString&);
%End
- static int tdeinitExecWait (const QString&, const QStringList&, QString* /Out/, int*);
- QString caption () const;
+ static int tdeinitExecWait (const TQString&, const TQStringList&, TQString* /Out/, int*);
+ TQString 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;
+ TQString makeStdCaption (const TQString&, bool = 1, bool = 0) const;
+ TQString tempSaveName (const TQString&) const;
+ TQString checkRecoverFile (const TQString&, bool&) const;
Display* getDisplay ();
void enableStyles ();
void disableStyles ();
- void installX11EventFilter (QWidget*);
+ void installX11EventFilter (TQWidget*);
%If ( KDE_3_2_0 - )
- void removeX11EventFilter (const QWidget*);
+ void removeX11EventFilter (const TQWidget*);
%End
static int random ();
- static QString randomString (int);
+ static TQString randomString (int);
void addKipcEventMask (int);
void removeKipcEventMask (int);
- QCString startupId () const;
- void setStartupId (const QCString&);
+ TQCString startupId () const;
+ void setStartupId (const TQCString&);
%If ( KDE_3_2_0 - )
void updateUserTimestamp (ulong = 0);
@@ -232,25 +232,25 @@ public:
ulong userTimestamp () const;
%If ( KDE_3_3_0 - )
- void updateRemoteUserTimestamp (const QCString&, ulong = 0);
+ void updateRemoteUserTimestamp (const TQCString&, ulong = 0);
%End
%End
%End
- QString geometryArgument () const;
+ TQString geometryArgument () const;
void installKDEPropertyMap ();
- bool authorize (const QString&);
+ bool authorize (const TQString&);
bool authorizeKAction (const char*);
%If ( KDE_3_1_0 - )
- bool authorizeURLAction (const QString&, const KURL&, const KURL&);
+ bool authorizeURLAction (const TQString&, 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&);
+ void allowURLAction (const TQString&, const KURL&, const KURL&);
+ bool authorizeControlModule (const TQString&);
+ TQStringList authorizeControlModules (const TQStringList&);
%If ( KDE_3_4_0 - )
static ButtonState keyboardMouseState ();
@@ -294,7 +294,7 @@ protected:
KApplication (bool, bool, KInstance*);
%If ( KDE_3_3_0 - )
-//ig KApplication (Display*, Qt::HANDLE, Qt::HANDLE, bool, KInstance*);
+//ig KApplication (Display*, TQt::HANDLE, TQt::HANDLE, bool, KInstance*);
%End
//ig bool x11EventFilter (XEvent*);
@@ -305,7 +305,7 @@ protected:
public:
- bool notify (QObject*, QEvent*);
+ bool notify (TQObject*, TQEvent*);
%If ( KDE_3_2_0 - )
//ig int xErrhandler (Display*, void*);
@@ -332,8 +332,8 @@ public:
%If ( KDE_3_1_0 - )
- static QPalette createApplicationPalette ();
- static QPalette createApplicationPalette (KConfig*, int);
+ static TQPalette createApplicationPalette ();
+ static TQPalette createApplicationPalette (KConfig*, int);
%If ( KDE_3_2_0 - )
static void installSigpipeHandler ();
@@ -381,8 +381,8 @@ class KSessionManaged
public:
KSessionManaged ();
- virtual bool saveState (QSessionManager&);
- virtual bool commitData (QSessionManager&);
+ virtual bool saveState (TQSessionManager&);
+ virtual bool commitData (TQSessionManager&);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -391,7 +391,7 @@ protected:
typedef ulong Atom;
//ig typedef void Display;
-//ig bool checkAccess (const QString&, int);
+//ig bool checkAccess (const TQString&, int);
%ModuleCode
diff --git a/sip/tdecore/kasyncio.sip b/sip/tdecore/kasyncio.sip
index 3c716df..05804d5 100644
--- a/sip/tdecore/kasyncio.sip
+++ b/sip/tdecore/kasyncio.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAsyncIO : QObject, QIODevice
+class KAsyncIO : TQObject, TQIODevice
{
%TypeHeaderCode
#include <kasyncio.h>
diff --git a/sip/tdecore/kaudioplayer.sip b/sip/tdecore/kaudioplayer.sip
index e211058..167adf8 100644
--- a/sip/tdecore/kaudioplayer.sip
+++ b/sip/tdecore/kaudioplayer.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAudioPlayer : QObject
+class KAudioPlayer : TQObject
{
%TypeHeaderCode
#include <kaudioplayer.h>
@@ -32,8 +32,8 @@ class KAudioPlayer : QObject
public:
- KAudioPlayer (const QString&, QObject* /TransferThis/ = 0, const char* = 0);
- static void play (const QString&);
+ KAudioPlayer (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0);
+ static void play (const TQString&);
public slots:
void play ();
diff --git a/sip/tdecore/kcalendarsystem.sip b/sip/tdecore/kcalendarsystem.sip
index 0cd4023..7839dc1 100644
--- a/sip/tdecore/kcalendarsystem.sip
+++ b/sip/tdecore/kcalendarsystem.sip
@@ -35,36 +35,36 @@ class KCalendarSystem
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 year (const TQDate&) const = 0;
+ virtual TQString yearString (const TQDate&, bool) const;
+ virtual int yearStringToInteger (const TQString&, int& /Out/) const;
+ virtual int month (const TQDate&) const = 0;
+ virtual TQString monthString (const TQDate&, bool) const;
+ virtual int monthStringToInteger (const TQString&, int& /Out/) const;
+ virtual int day (const TQDate&) const = 0;
+ virtual TQString dayString (const TQDate&, bool) const;
+ virtual int dayStringToInteger (const TQString&, int& /Out/) const;
+ virtual int dayOfWeek (const TQDate&) const = 0;
+ virtual int dayOfYear (const TQDate&) const = 0;
+ virtual bool setYMD (TQDate&, int, int, int) const = 0;
+ virtual TQDate addYears (const TQDate&, int) const = 0;
+ virtual TQDate addMonths (const TQDate&, int) const = 0;
+ virtual TQDate addDays (const TQDate&, int) const = 0;
+ virtual int monthsInYear (const TQDate&) const = 0;
+ virtual int daysInYear (const TQDate&) const = 0;
+ virtual int daysInMonth (const TQDate&) 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 weekNumber (const TQDate&, int* = 0) const = 0;
+ virtual TQString monthName (int, int, bool = 0) const = 0;
+ virtual TQString monthName (const TQDate&, bool = 0) const = 0;
+ virtual TQString monthNamePossessive (int, int, bool = 0) const = 0;
+ virtual TQString monthNamePossessive (const TQDate&, bool = 0) const = 0;
+ virtual TQString weekDayName (int, bool = 0) const = 0;
+ virtual TQString weekDayName (const TQDate&, 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 TQString calendarName () const = 0;
virtual bool isLunar () const = 0;
virtual bool isLunisolar () const = 0;
virtual bool isSolar () const = 0;
diff --git a/sip/tdecore/kcalendarsystemfactory.sip b/sip/tdecore/kcalendarsystemfactory.sip
index 20c4f35..3774c0e 100644
--- a/sip/tdecore/kcalendarsystemfactory.sip
+++ b/sip/tdecore/kcalendarsystemfactory.sip
@@ -35,8 +35,8 @@ class KCalendarSystemFactory
public:
KCalendarSystemFactory ();
- static KCalendarSystem* create (const QString& = QString ::fromLatin1 ("gregorian" ), const KLocale* = 0);
- static QStringList calendarSystems ();
+ static KCalendarSystem* create (const TQString& = TQString ::fromLatin1 ("gregorian" ), const KLocale* = 0);
+ static TQStringList calendarSystems ();
}; // class KCalendarSystemFactory
diff --git a/sip/tdecore/kcatalogue.sip b/sip/tdecore/kcatalogue.sip
index 3469af8..d8f2a88 100644
--- a/sip/tdecore/kcatalogue.sip
+++ b/sip/tdecore/kcatalogue.sip
@@ -34,14 +34,14 @@ class KCatalogue
public:
%If ( KDE_3_3_0 - )
- KCatalogue (const QString& = QString ::null , const QString& = QString ::null );
+ KCatalogue (const TQString& = TQString ::null , const TQString& = TQString ::null );
%End
KCatalogue (const KCatalogue&);
- QString name () const;
+ TQString name () const;
%If ( KDE_3_3_0 - )
- QString language () const;
+ TQString language () const;
int pluralType () const;
void setPluralType (int);
%End
@@ -53,8 +53,8 @@ public:
%If ( - KDE_3_3_0 )
%If ( D_MANDRAKE )
- KCatalogue (const QString& = QString ::null );
- void setFileName (const QString&);
+ KCatalogue (const TQString& = TQString ::null );
+ void setFileName (const TQString&);
%End
%End
diff --git a/sip/tdecore/kcharsets.sip b/sip/tdecore/kcharsets.sip
index 9be4386..fca3432 100644
--- a/sip/tdecore/kcharsets.sip
+++ b/sip/tdecore/kcharsets.sip
@@ -35,26 +35,26 @@ 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;
+ TQTextCodec* codecForName (const TQString&) const;
+ TQTextCodec* codecForName (const TQString&, bool& /Out/) const /PyName=codecForName2/;
+ TQChar fromEntity (const TQString&) const;
+ TQChar fromEntity (const TQString&, int& /Out/) const /PyName=fromEntity2/;
+ TQString toEntity (const TQChar&) const;
%If ( KDE_3_1_0 - )
- static QString resolveEntities (const QString&);
+ static TQString resolveEntities (const TQString&);
%End
- QStringList availableEncodingNames ();
- QStringList descriptiveEncodingNames ();
- QString languageForEncoding (const QString&);
- QString encodingForName (const QString&);
+ TQStringList availableEncodingNames ();
+ TQStringList descriptiveEncodingNames ();
+ TQString languageForEncoding (const TQString&);
+ TQString encodingForName (const TQString&);
public:
%If ( - KDE_3_2_0 )
-//ig QStringList languages ();
-//ig QStringList encodingsForLanguage (const QString&);
+//ig TQStringList languages ();
+//ig TQStringList encodingsForLanguage (const TQString&);
%End
diff --git a/sip/tdecore/kclipboard.sip b/sip/tdecore/kclipboard.sip
index 4abc45a..895cc90 100644
--- a/sip/tdecore/kclipboard.sip
+++ b/sip/tdecore/kclipboard.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_1_0 - )
-class KClipboardSynchronizer : QObject
+class KClipboardSynchronizer : TQObject
{
%TypeHeaderCode
#include <kclipboard.h>
@@ -44,7 +44,7 @@ protected:
~KClipboardSynchronizer ();
private:
- KClipboardSynchronizer (QObject* /TransferThis/ = 0, const char* = 0);
+ KClipboardSynchronizer (TQObject* /TransferThis/ = 0, const char* = 0);
}; // class KClipboardSynchronizer
diff --git a/sip/tdecore/kcmdlineargs.sip b/sip/tdecore/kcmdlineargs.sip
index c9831f6..afb4cef 100644
--- a/sip/tdecore/kcmdlineargs.sip
+++ b/sip/tdecore/kcmdlineargs.sip
@@ -139,7 +139,7 @@ public:
//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
+// NULL (or None) parameters to mark the end of the list are not retquired
//end
int n;
@@ -218,15 +218,15 @@ errorExit:
%End
static KCmdLineArgs* parsedArgs (const char* = 0);
- static QString cwd ();
+ static TQString cwd ();
static const char* appName ();
static void usage (const char* = 0);
- static void usage (const QString&);
+ static void usage (const TQString&);
static void enable_i18n ();
- QCString getOption (const char*);
+ TQCString getOption (const char*);
%If ( KDE_3_1_4 - )
- QCStringList getOptionList (const char*) const;
+ TQCStringList getOptionList (const char*) const;
%End
bool isSet (const char*);
@@ -239,7 +239,7 @@ errorExit:
%If ( KDE_3_2_0 - )
static void reset ();
- static void loadAppArgs (QDataStream&);
+ static void loadAppArgs (TQDataStream&);
%If ( KDE_3_4_0 - )
static void addTempFileOption ();
@@ -256,7 +256,7 @@ protected:
public:
%If ( - KDE_3_1_3 )
- QValueList<QCString> getOptionList (const char*);
+ TQValueList<TQCString> getOptionList (const char*);
%End
diff --git a/sip/tdecore/kcompletion.sip b/sip/tdecore/kcompletion.sip
index 268480d..4967a6d 100644
--- a/sip/tdecore/kcompletion.sip
+++ b/sip/tdecore/kcompletion.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KCompletion : QObject
+class KCompletion : TQObject
{
%TypeHeaderCode
#include <kcompletion.h>
@@ -41,12 +41,12 @@ public:
};
KCompletion ();
- virtual QString makeCompletion (const QString&);
- QStringList substringCompletion (const QString&) const;
- QString previousMatch ();
- QString nextMatch ();
- virtual const QString& lastMatch () const;
- QStringList items () const;
+ virtual TQString makeCompletion (const TQString&);
+ TQStringList substringCompletion (const TQString&) const;
+ TQString previousMatch ();
+ TQString nextMatch ();
+ virtual const TQString& lastMatch () const;
+ TQStringList items () const;
%If ( KDE_3_3_0 - )
bool isEmpty () const;
@@ -58,10 +58,10 @@ public:
CompOrder order () const;
virtual void setIgnoreCase (bool);
bool ignoreCase () const;
- QStringList allMatches ();
- QStringList allMatches (const QString&);
+ TQStringList allMatches ();
+ TQStringList allMatches (const TQString&);
//ig KCompletionMatches allWeightedMatches ();
-//ig KCompletionMatches allWeightedMatches (const QString&);
+//ig KCompletionMatches allWeightedMatches (const TQString&);
virtual void setEnableSounds (bool);
bool isSoundsEnabled () const;
bool hasMultipleMatches () const;
@@ -69,24 +69,24 @@ public:
void disableSounds ();
public slots:
- void slotMakeCompletion (const QString&);
+ void slotMakeCompletion (const TQString&);
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&);
+ void insertItems (const TQStringList&);
+ virtual void setItems (const TQStringList&);
+ void addItem (const TQString&);
+ void addItem (const TQString&, uint);
+ void removeItem (const TQString&);
virtual void clear ();
signals:
- void match (const QString&);
- void matches (const QStringList&);
+ void match (const TQString&);
+ void matches (const TQStringList&);
void multipleMatches ();
protected:
- virtual void postProcessMatch (QString*);
- virtual void postProcessMatches (QStringList*);
+ virtual void postProcessMatch (TQString*);
+ virtual void postProcessMatches (TQStringList*);
//ig virtual void postProcessMatches (KCompletionMatches*) const;
protected:
@@ -115,7 +115,7 @@ public:
SubstringCompletion
};
- typedef QMap<KCompletionBase::KeyBindingType,KShortcut> KeyBindingMap;
+ typedef TQMap<KCompletionBase::KeyBindingType,KShortcut> KeyBindingMap;
KCompletionBase ();
KCompletion* completionObject (bool = 1);
virtual void setCompletionObject (KCompletion*, bool = 1);
@@ -130,8 +130,8 @@ public:
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;
+ virtual void setCompletedText (const TQString&) = 0;
+ virtual void setCompletedItems (const TQStringList&) = 0;
KCompletion* compObj () const;
protected:
@@ -144,7 +144,7 @@ protected:
}; // class KCompletionBase
-//ig typedef KSortableValueList<QString> KCompletionMatchesList;
+//ig typedef KSortableValueList<TQString> KCompletionMatchesList;
%MappedType KCompletionBase::KeyBindingMap
@@ -167,8 +167,8 @@ protected:
// Get it.
- const QMap<KCompletionBase::KeyBindingType,KShortcut> map = *sipCpp;
- QMap<KCompletionBase::KeyBindingType,KShortcut>::ConstIterator it;
+ const TQMap<KCompletionBase::KeyBindingType,KShortcut> map = *sipCpp;
+ TQMap<KCompletionBase::KeyBindingType,KShortcut>::ConstIterator it;
PyObject *key;
PyObject *value;
@@ -197,7 +197,7 @@ protected:
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<KCompletionBase::KeyBindingType,KShortcut> *kbmap = new QMap<KCompletionBase::KeyBindingType,KShortcut>;
+ TQMap<KCompletionBase::KeyBindingType,KShortcut> *kbmap = new TQMap<KCompletionBase::KeyBindingType,KShortcut>;
PyObject *key, *value;
SIP_SSIZE_T pos = 0;
diff --git a/sip/tdecore/kconfig.sip b/sip/tdecore/kconfig.sip
index ed09152..1458aa6 100644
--- a/sip/tdecore/kconfig.sip
+++ b/sip/tdecore/kconfig.sip
@@ -32,25 +32,25 @@ class KConfig : KConfigBase
public:
- KConfig (const QString& = QString ::null , bool = 0, bool = 1, const char* = "config");
+ KConfig (const TQString& = TQString ::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<QString,QString> entryMap (const QString&) const;
+ virtual TQStringList groupList () const;
+ virtual TQMap<TQString,TQString> entryMap (const TQString&) const;
virtual void reparseConfiguration ();
void setFileWriteMode (int);
void setForceGlobal (bool);
bool forceGlobal () const;
%If ( KDE_3_1_0 - )
- void checkUpdate (const QString&, const QString&);
+ void checkUpdate (const TQString&, const TQString&);
%If ( KDE_3_2_0 - )
- KConfig* copyTo (const QString&, KConfig* = 0) const;
+ KConfig* copyTo (const TQString&, KConfig* = 0) const;
%If ( KDE_3_3_0 - )
KLockFile::Ptr lockFile (bool = 0);
@@ -62,8 +62,8 @@ public:
protected:
- virtual bool internalHasGroup (const QCString&) const;
- virtual KEntryMap internalEntryMap (const QString&) const;
+ virtual bool internalHasGroup (const TQCString&) const;
+ virtual KEntryMap internalEntryMap (const TQString&) const;
virtual KEntryMap internalEntryMap () const;
virtual void putData (const KEntryKey&, const KEntry&, bool = 1);
virtual KEntry lookupData (const KEntryKey&) const;
@@ -90,10 +90,10 @@ public:
//ig typedef KSharedPtr<KSharedConfig> Ptr;
public:
- static KSharedConfig::Ptr openConfig (const QString&, bool = 0, bool = 1);
+ static KSharedConfig::Ptr openConfig (const TQString&, bool = 0, bool = 1);
private:
- KSharedConfig (const QString&, bool, bool);
+ KSharedConfig (const TQString&, bool, bool);
~KSharedConfig ();
}; // class KSharedConfig
@@ -102,8 +102,8 @@ private:
-%MappedType QMap<QString,QString>
-//converts a Python dict of QString:QString
+%MappedType TQMap<TQString,TQString>
+//converts a Python dict of TQString:TQString
{
%TypeHeaderCode
#include <qmap.h>
@@ -124,17 +124,17 @@ private:
// Get it.
- const QMap<QString,QString> cppmap = *sipCpp;
- QMap<QString,QString>::ConstIterator it;
+ const TQMap<TQString,TQString> cppmap = *sipCpp;
+ TQMap<TQString,TQString>::ConstIterator it;
for (it = cppmap.begin (); it != cppmap.end (); ++it)
{
- QString acpp = it.key ();
- QString bcpp = it.data ();
+ TQString acpp = it.key ();
+ TQString bcpp = it.data ();
PyObject *ainst;
PyObject *binst = NULL;
- if (((ainst = sipConvertFromNewType(new QString(acpp), sipType_QString, sipTransferObj)) == NULL)
- || ((binst = sipConvertFromNewType(new QString(bcpp), sipType_QString, sipTransferObj)) == NULL)
+ if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_QString, sipTransferObj)) == NULL)
+ || ((binst = sipConvertFromNewType(new TQString(bcpp), sipType_QString, sipTransferObj)) == NULL)
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
Py_XDECREF (ainst);
@@ -149,24 +149,24 @@ private:
%ConvertToTypeCode
- // Convert a Python dictionary to a QMap on the heap.
+ // Convert a Python dictionary to a TQMap on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QString,QString> *cppmap = new QMap<QString,QString>;
+ TQMap<TQString,TQString> *cppmap = new TQMap<TQString,TQString>;
PyObject *aelem, *belem;
SIP_SSIZE_T pos = 0;
- QString *acpp;
- QString *bcpp;
+ TQString *acpp;
+ TQString *bcpp;
while (PyDict_Next(sipPy, &pos, &aelem, &belem))
{
int iserr = 0, acpp_state, bcpp_state;
- acpp = (QString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
- bcpp = (QString *)sipForceConvertToType(belem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr);
+ acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
+ bcpp = (TQString *)sipForceConvertToType(belem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr);
if (iserr)
{
diff --git a/sip/tdecore/kconfigbackend.sip b/sip/tdecore/kconfigbackend.sip
index ca10d9e..f7569cb 100644
--- a/sip/tdecore/kconfigbackend.sip
+++ b/sip/tdecore/kconfigbackend.sip
@@ -32,14 +32,14 @@ class KConfigBackEnd
public:
- KConfigBackEnd (KConfigBase*, const QString&, const char*, bool);
+ KConfigBackEnd (KConfigBase*, const TQString&, const char*, bool);
virtual bool parseConfigFiles () = 0;
virtual void sync (bool = 1) = 0;
- void changeFileName (const QString&, const char*, bool);
+ void changeFileName (const TQString&, const char*, bool);
virtual KConfigBase::ConfigState getConfigState () const;
- QString fileName () const;
+ TQString fileName () const;
const char* resource () const;
- void setLocaleString (const QCString&);
+ void setLocaleString (const TQCString&);
void setFileWriteMode (int);
%If ( KDE_3_2_0 - )
@@ -51,7 +51,7 @@ public:
%End
- QString filename () const;
+ TQString filename () const;
protected:
@@ -72,16 +72,16 @@ class KConfigINIBackEnd : KConfigBackEnd
public:
- KConfigINIBackEnd (KConfigBase*, const QString&, const char*, bool = 1);
+ KConfigINIBackEnd (KConfigBase*, const TQString&, 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);
+ void parseSingleConfigFile (TQFile&, KEntryMap* = 0, bool = 0, bool = 0);
+ bool writeConfigFile (TQString, bool = 0, bool = 1);
%If ( KDE_3_2_0 - )
- bool getEntryMap (KEntryMap&, bool, QFile*);
+ bool getEntryMap (KEntryMap&, bool, TQFile*);
//ig void writeEntries (FILE*, const KEntryMap&);
%End
diff --git a/sip/tdecore/kconfigbase.sip b/sip/tdecore/kconfigbase.sip
index cde14d9..5508ddf 100644
--- a/sip/tdecore/kconfigbase.sip
+++ b/sip/tdecore/kconfigbase.sip
@@ -30,7 +30,7 @@ typedef unsigned long long ulonglong;
%End
-class KConfigBase : QObject
+class KConfigBase : TQObject
{
%TypeHeaderCode
#include <kconfigbase.h>
@@ -39,118 +39,118 @@ class KConfigBase : QObject
public:
KConfigBase ();
- void setGroup (const QString&);
+ void setGroup (const TQString&);
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;
+ TQString group () const;
+ bool hasGroup (const TQString&) const;
+ virtual TQStringList groupList () const = 0;
+ TQString locale () const;
+ TQString readEntry (const TQString&, const TQString& = TQString ::null ) const;
+ TQString readEntry (const char*, const TQString& = TQString ::null ) const;
+ TQVariant readPropertyEntry (const TQString&, TQVariant::Type) const;
+ TQVariant readPropertyEntry (const char*, TQVariant::Type) const;
+ TQVariant readPropertyEntry (const TQString&, const TQVariant&) const;
+ TQVariant readPropertyEntry (const char*, const TQVariant&) const;
+ int readListEntry (const TQString&, TQStrList&, char = ',') const;
+ int readListEntry (const char*, TQStrList&, char = ',') const;
+ TQStringList readListEntry (const TQString&, char = ',') const;
+ TQStringList readListEntry (const char*, char = ',') const;
%If ( KDE_3_3_0 - )
- QStringList readListEntry (const char*, const QStringList&, char = ',') const;
+ TQStringList readListEntry (const char*, const TQStringList&, char = ',') const;
%End
- QValueList<int> readIntListEntry (const QString&) const;
- QValueList<int> readIntListEntry (const char*) const;
- QString readPathEntry (const QString&, const QString& = QString ::null ) const;
- QString readPathEntry (const char*, const QString& = QString ::null ) const;
+ TQValueList<int> readIntListEntry (const TQString&) const;
+ TQValueList<int> readIntListEntry (const char*) const;
+ TQString readPathEntry (const TQString&, const TQString& = TQString ::null ) const;
+ TQString readPathEntry (const char*, const TQString& = TQString ::null ) const;
%If ( KDE_3_1_3 - )
- QStringList readPathListEntry (const QString&, char = ',') const;
- QStringList readPathListEntry (const char*, char = ',') const;
+ TQStringList readPathListEntry (const TQString&, char = ',') const;
+ TQStringList readPathListEntry (const char*, char = ',') const;
%End
- int readNumEntry (const QString&, int = 0) const;
+ int readNumEntry (const TQString&, int = 0) const;
int readNumEntry (const char*, int = 0) const;
- uint readUnsignedNumEntry (const QString&, uint = 0) const;
+ uint readUnsignedNumEntry (const TQString&, uint = 0) const;
uint readUnsignedNumEntry (const char*, uint = 0) const;
- long readLongNumEntry (const QString&, long = 0) const;
+ long readLongNumEntry (const TQString&, long = 0) const;
long readLongNumEntry (const char*, long = 0) const;
- ulong readUnsignedLongNumEntry (const QString&, ulong = 0) const;
+ ulong readUnsignedLongNumEntry (const TQString&, 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 TQString&, longlong = 0) const;
longlong readNum64Entry (const char*, longlong = 0) const;
- ulonglong readUnsignedNum64Entry (const QString&, ulonglong = 0) const;
+ ulonglong readUnsignedNum64Entry (const TQString&, ulonglong = 0) const;
ulonglong readUnsignedNum64Entry (const char*, ulonglong = 0) const;
%End
- double readDoubleNumEntry (const QString&, double = 0.0) const;
+ double readDoubleNumEntry (const TQString&, 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;
+ TQFont readFontEntry (const TQString&, const TQFont* = 0) const;
+ TQFont readFontEntry (const char*, const TQFont* = 0) const;
+ bool readBoolEntry (const TQString&, 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<int>&, bool = 1, bool = 0, bool = 0);
- void writeEntry (const char*, const QValueList<int>&, bool = 1, bool = 0, bool = 0);
- void writeEntry (const QString&, const char*, bool = 1, bool = 0, bool = 0);
+ TQRect readRectEntry (const TQString&, const TQRect* = 0) const;
+ TQRect readRectEntry (const char*, const TQRect* = 0) const;
+ TQPoint readPointEntry (const TQString&, const TQPoint* = 0) const;
+ TQPoint readPointEntry (const char*, const TQPoint* = 0) const;
+ TQSize readSizeEntry (const TQString&, const TQSize* = 0) const;
+ TQSize readSizeEntry (const char*, const TQSize* = 0) const;
+ TQColor readColorEntry (const TQString&, const TQColor* = 0) const;
+ TQColor readColorEntry (const char*, const TQColor* = 0) const;
+ TQDateTime readDateTimeEntry (const TQString&, const TQDateTime* = 0) const;
+ TQDateTime readDateTimeEntry (const char*, const TQDateTime* = 0) const;
+ TQString readEntryUntranslated (const TQString&, const TQString& = TQString ::null ) const;
+ TQString readEntryUntranslated (const char*, const TQString& = TQString ::null ) const;
+ void writeEntry (const TQString&, const TQString&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const char*, const TQString&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const TQString&, const TQVariant&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const char*, const TQVariant&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const TQString&, const TQStrList&, char = ',', bool = 1, bool = 0, bool = 0);
+ void writeEntry (const char*, const TQStrList&, char = ',', bool = 1, bool = 0, bool = 0);
+ void writeEntry (const TQString&, const TQStringList&, char = ',', bool = 1, bool = 0, bool = 0);
+ void writeEntry (const char*, const TQStringList&, char = ',', bool = 1, bool = 0, bool = 0);
+ void writeEntry (const TQString&, const TQValueList<int>&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const char*, const TQValueList<int>&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const TQString&, 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 TQString&, 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 TQString&, 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 TQString&, 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 TQString&, 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);
+ void writeEntry (const TQString&, const TQFont&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const char*, const TQFont&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const TQString&, const TQColor&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const char*, const TQColor&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const TQString&, const TQDateTime&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const char*, const TQDateTime&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const TQString&, const TQRect&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const char*, const TQRect&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const TQString&, const TQPoint&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const char*, const TQPoint&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const TQString&, const TQSize&, bool = 1, bool = 0, bool = 0);
+ void writeEntry (const char*, const TQSize&, bool = 1, bool = 0, bool = 0);
+ void writePathEntry (const TQString&, const TQString&, bool = 1, bool = 0, bool = 0);
+ void writePathEntry (const char*, const TQString&, 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);
+ void writePathEntry (const TQString&, const TQStringList&, char = ',', bool = 1, bool = 0, bool = 0);
+ void writePathEntry (const char*, const TQStringList&, char = ',', bool = 1, bool = 0, bool = 0);
%End
- void deleteEntry (const QString&, bool = 0, bool = 0);
+ void deleteEntry (const TQString&, bool = 0, bool = 0);
void deleteEntry (const char*, bool = 0, bool = 0);
- bool deleteGroup (const QString&, bool = 1, bool = 0);
+ bool deleteGroup (const TQString&, bool = 1, bool = 0);
void setDollarExpansion (bool = 1);
bool isDollarExpansion () const;
virtual void rollback (bool = 1);
@@ -158,12 +158,12 @@ public:
bool isDirty () const;
virtual void setReadOnly (bool);
bool isReadOnly () const;
- bool hasKey (const QString&) const;
- virtual QMap<QString,QString> entryMap (const QString&) const = 0;
+ bool hasKey (const TQString&) const;
+ virtual TQMap<TQString,TQString> entryMap (const TQString&) const = 0;
virtual void reparseConfiguration () = 0;
bool isImmutable () const;
- bool groupIsImmutable (const QString&) const;
- bool entryIsImmutable (const QString&) const;
+ bool groupIsImmutable (const TQString&) const;
+ bool entryIsImmutable (const TQString&) const;
enum ConfigState
{
@@ -178,8 +178,8 @@ public:
bool checkConfigFilesWritable (bool);
void setReadDefaults (bool);
bool readDefaults () const;
- void revertToDefault (const QString&);
- bool hasDefault (const QString&) const;
+ void revertToDefault (const TQString&);
+ bool hasDefault (const TQString&) const;
%End
@@ -187,21 +187,21 @@ protected:
void setLocale ();
virtual void setDirty (bool = 1);
virtual void parseConfigFiles ();
- virtual KEntryMap internalEntryMap (const QString&) const = 0;
+ virtual KEntryMap internalEntryMap (const TQString&) 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;
+ virtual bool internalHasGroup (const TQCString&) const = 0;
public:
- void setGroup (const QCString&);
+ void setGroup (const TQCString&);
void setGroup (const char*);
- bool hasGroup (const QCString&) const;
+ bool hasGroup (const TQCString&) const;
bool hasGroup (const char*) const;
bool hasKey (const char*) const;
protected:
- QCString readEntryUtf8 (const char*) const;
+ TQCString readEntryUtf8 (const char*) const;
protected:
//igx virtual void virtual_hook (int, void*);
@@ -217,9 +217,9 @@ class KConfigGroupSaver
public:
- KConfigGroupSaver (KConfigBase*, QString);
+ KConfigGroupSaver (KConfigBase*, TQString);
KConfigGroupSaver (KConfigBase*, const char*);
- KConfigGroupSaver (KConfigBase*, const QCString&);
+ KConfigGroupSaver (KConfigBase*, const TQCString&);
KConfigBase* config ();
private:
@@ -236,8 +236,8 @@ class KConfigGroup : KConfigBase
public:
- KConfigGroup (KConfigBase*, const QCString&);
- KConfigGroup (KConfigBase*, const QString&);
+ KConfigGroup (KConfigBase*, const TQCString&);
+ KConfigGroup (KConfigBase*, const TQString&);
KConfigGroup (KConfigBase*, const char*);
void deleteGroup (bool = 0);
diff --git a/sip/tdecore/kconfigdata.sip b/sip/tdecore/kconfigdata.sip
index b22ef03..c15d495 100644
--- a/sip/tdecore/kconfigdata.sip
+++ b/sip/tdecore/kconfigdata.sip
@@ -33,7 +33,7 @@ class KEntry
public:
KEntry ();
- QCString mValue;
+ TQCString mValue;
bool bDirty;
bool bNLS;
bool bGlobal;
@@ -56,22 +56,22 @@ class KEntryKey
public:
- KEntryKey (const QCString& = QCString ("" ), const QCString& = QCString ("" ));
- QCString mGroup;
- QCString mKey;
+ KEntryKey (const TQCString& = TQCString ("" ), const TQCString& = TQCString ("" ));
+ TQCString mGroup;
+ TQCString mKey;
bool bLocal;
bool bDefault;
const char* c_key;
}; // class KEntryKey
-//ig typedef QMap<KEntryKey,KEntry>::Iterator KEntryMapIterator;
-//ig typedef QMap<KEntryKey,KEntry>::ConstIterator KEntryMapConstIterator;
+//ig typedef TQMap<KEntryKey,KEntry>::Iterator KEntryMapIterator;
+//ig typedef TQMap<KEntryKey,KEntry>::ConstIterator KEntryMapConstIterator;
//force
KEntryMap testKEntryMap (SIP_PYOBJECT) [KEntryMap (KEntryMap)];
%MethodCode
//takes dict | (KEntryMap)
-//returns (QMap<KEntryKey,KEntry)
+//returns (TQMap<KEntryKey,KEntry)
int isErr = 0;
KEntryMap *map = (KEntryMap *)sipForceConvertToType(a0, sipType_KEntryMap, NULL, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &isErr);
@@ -133,7 +133,7 @@ KEntryMap testKEntryMap (SIP_PYOBJECT) [KEntryMap (KEntryMap)];
%ConvertToTypeCode
- // Convert a Python dictionary to a QMap on the heap.
+ // Convert a Python dictionary to a TQMap on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
diff --git a/sip/tdecore/kconfigdialogmanager.sip b/sip/tdecore/kconfigdialogmanager.sip
index 5c97582..5d4575c 100644
--- a/sip/tdecore/kconfigdialogmanager.sip
+++ b/sip/tdecore/kconfigdialogmanager.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_2_0 - )
-class KConfigDialogManager : QObject
+class KConfigDialogManager : TQObject
{
%TypeHeaderCode
#include <kconfigdialogmanager.h>
@@ -35,12 +35,12 @@ class KConfigDialogManager : QObject
signals:
void settingsChanged ();
- void settingsChanged (QWidget*);
+ void settingsChanged (TQWidget*);
void widgetModified ();
public:
- KConfigDialogManager (QWidget* /TransferThis/, KConfigSkeleton*, const char* = 0);
- void addWidget (QWidget*);
+ KConfigDialogManager (TQWidget* /TransferThis/, KConfigSkeleton*, const char* = 0);
+ void addWidget (TQWidget*);
bool hasChanged ();
bool isDefault ();
@@ -51,10 +51,10 @@ public slots:
protected:
void init (bool);
- bool parseChildren (const QWidget*, bool);
- void setProperty (QWidget*, const QVariant&);
- QVariant property (QWidget*);
- void setupWidget (QWidget*, KConfigSkeletonItem*);
+ bool parseChildren (const TQWidget*, bool);
+ void setProperty (TQWidget*, const TQVariant&);
+ TQVariant property (TQWidget*);
+ void setupWidget (TQWidget*, KConfigSkeletonItem*);
protected:
diff --git a/sip/tdecore/kconfigskeleton.sip b/sip/tdecore/kconfigskeleton.sip
index 638f5f5..4891755 100644
--- a/sip/tdecore/kconfigskeleton.sip
+++ b/sip/tdecore/kconfigskeleton.sip
@@ -35,27 +35,27 @@ class KConfigSkeletonItem
public:
- typedef QValueList<KConfigSkeletonItem*> List;
-//ig typedef QDict<KConfigSkeletonItem> Dict;
-//ig typedef QDictIterator<KConfigSkeletonItem> 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;
+ typedef TQValueList<KConfigSkeletonItem*> List;
+//ig typedef TQDict<KConfigSkeletonItem> Dict;
+//ig typedef TQDictIterator<KConfigSkeletonItem> DictIterator;
+ KConfigSkeletonItem (const TQString&, const TQString&);
+ void setGroup (const TQString&);
+ TQString group () const;
+ void setKey (const TQString&);
+ TQString key () const;
+ void setName (const TQString&);
+ TQString name () const;
+ void setLabel (const TQString&);
+ TQString label () const;
+ void setWhatsThis (const TQString&);
+ TQString 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 setProperty (const TQVariant&) = 0;
+ virtual TQVariant property () const = 0;
+ virtual TQVariant minValue () const;
+ virtual TQVariant maxValue () const;
virtual void setDefault () = 0;
virtual void swapDefault () = 0;
bool isImmutable () const;
@@ -123,7 +123,7 @@ class KConfigSkeleton
{
%TypeHeaderCode
#include <kconfigskeleton.h>
-typedef QValueList<int> IntList;
+typedef TQValueList<int> IntList;
%End
@@ -133,7 +133,7 @@ public:
{
public:
- ItemPassword (const QString&, const QString&, QString&, const QString& = QString ::fromLatin1 ("" ));
+ ItemPassword (const TQString&, const TQString&, TQString&, const TQString& = TQString ::fromLatin1 ("" ));
}; // class ItemPassword
@@ -144,7 +144,7 @@ public:
{
public:
- ItemPath (const QString&, const QString&, QString&, const QString& = QString ::null );
+ ItemPath (const TQString&, const TQString&, TQString&, const TQString& = TQString ::null );
}; // class ItemPath
@@ -160,22 +160,22 @@ public:
{
public:
- QString name;
- QString label;
- QString whatsThis;
+ TQString name;
+ TQString label;
+ TQString whatsThis;
}; // class Choice
public:
- ItemEnum (const QString&, const QString&, int, const QValueList<KConfigSkeleton::ItemEnum::Choice>&, int = 0) [(const QString&, const QString&, int&, const QValueList<KConfigSkeleton::ItemEnum::Choice>&, int = 0)];
+ ItemEnum (const TQString&, const TQString&, int, const TQValueList<KConfigSkeleton::ItemEnum::Choice>&, int = 0) [(const TQString&, const TQString&, int&, const TQValueList<KConfigSkeleton::ItemEnum::Choice>&, int = 0)];
%MethodCode
-//takes group | (QString) | key | (QString) | reference | (int) | choices | (QValueList<KConfigSkeleton::ItemEnum::Choice>) |defaultValue | (int = 1)
+//takes group | (TQString) | key | (TQString) | reference | (int) | choices | (TQValueList<KConfigSkeleton::ItemEnum::Choice>) |defaultValue | (int = 1)
class PyItemEnum : public KConfigSkeleton::ItemEnum
{
public:
- PyItemEnum (const QString& group, const QString& key, int& val, const QValueList<KConfigSkeleton::ItemEnum::Choice>& choices, int defaultValue = 0) :
+ PyItemEnum (const TQString& group, const TQString& key, int& val, const TQValueList<KConfigSkeleton::ItemEnum::Choice>& choices, int defaultValue = 0) :
KConfigSkeleton::ItemEnum(group, key, this->value, choices, defaultValue)
{
value = val;
@@ -190,7 +190,7 @@ public:
Py_END_ALLOW_THREADS
%End
- QValueList<KConfigSkeleton::ItemEnum::Choice> choices () const;
+ TQValueList<KConfigSkeleton::ItemEnum::Choice> choices () const;
void readConfig (KConfig*);
void writeConfig (KConfig*);
@@ -214,7 +214,7 @@ public:
{
public:
- ItemPathList (const QString&, const QString&, QStringList&, const QStringList& = QStringList ());
+ ItemPathList (const TQString&, const TQString&, TQStringList&, const TQStringList& = TQStringList ());
void readConfig (KConfig*);
void writeConfig (KConfig*);
@@ -226,26 +226,26 @@ public:
public:
- KConfigSkeleton (const QString& = QString ::null );
+ KConfigSkeleton (const TQString& = TQString ::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 );
+ void setCurrentGroup (const TQString&);
+ TQString currentGroup ();
+ void addItem (KConfigSkeletonItem*, const TQString& = TQString ::null );
+ ItemString* addItemString (const TQString&, TQString&, const TQString& = TQString ::fromLatin1 ("" ), const TQString& = TQString ::null );
+ KConfigSkeleton::ItemPassword* addItemPassword (const TQString&, TQString&, const TQString& = TQString ::fromLatin1 ("" ), const TQString& = TQString ::null );
+ KConfigSkeleton::ItemPath* addItemPath (const TQString&, TQString&, const TQString& = TQString ::fromLatin1 ("" ), const TQString& = TQString ::null );
+ ItemProperty* addItemProperty (const TQString&, TQVariant&, const TQVariant& = TQVariant (), const TQString& = TQString ::null );
+ ItemBool* addItemBool (const TQString&, bool&, bool = 0, const TQString& = TQString ::null );
%MethodCode
-//takes name | (QString) | value | (bool) | defaultValue | (bool) | key | (QString = QString::null)
+//takes name | (TQString) | value | (bool) | defaultValue | (bool) | key | (TQString = TQString::null)
class PyItemBool : public KConfigSkeleton::ItemBool
{
public:
- PyItemBool (const QString &group, const QString &key, bool val, bool defaultValue = 0) :
+ PyItemBool (const TQString &group, const TQString &key, bool val, bool defaultValue = 0) :
KConfigSkeleton::ItemBool (group, key, this->value, defaultValue)
{
value = val;
@@ -261,14 +261,14 @@ public:
Py_END_ALLOW_THREADS
%End
- ItemInt* addItemInt (const QString&, int&, int = 0, const QString& = QString ::null );
+ ItemInt* addItemInt (const TQString&, int&, int = 0, const TQString& = TQString ::null );
%MethodCode
-//takes name | (QString) | value | (int) | defaultValue | (int) | key | (QString = QString::null)
+//takes name | (TQString) | value | (int) | defaultValue | (int) | key | (TQString = TQString::null)
class PyItemInt : public KConfigSkeleton::ItemInt
{
public:
- PyItemInt(const QString &group, const QString &key, int val, int defaultValue=0) :
+ PyItemInt(const TQString &group, const TQString &key, int val, int defaultValue=0) :
KConfigSkeleton::ItemInt (group, key, this->value, defaultValue)
{
value = val;
@@ -284,14 +284,14 @@ public:
Py_END_ALLOW_THREADS
%End
- ItemUInt* addItemUInt (const QString&, uint&, uint = 0, const QString& = QString ::null );
+ ItemUInt* addItemUInt (const TQString&, uint&, uint = 0, const TQString& = TQString ::null );
%MethodCode
-//takes name | (QString) | value | (uint) | defaultValue | (uint) | key | (QString = QString::null)
+//takes name | (TQString) | value | (uint) | defaultValue | (uint) | key | (TQString = TQString::null)
class PyItemUInt : public KConfigSkeleton::ItemUInt
{
public:
- PyItemUInt(const QString &group, const QString &key, uint val, uint defaultValue = 0) :
+ PyItemUInt(const TQString &group, const TQString &key, uint val, uint defaultValue = 0) :
KConfigSkeleton::ItemUInt (group, key, this->value, defaultValue)
{
value = val;
@@ -307,14 +307,14 @@ public:
Py_END_ALLOW_THREADS
%End
- ItemLong* addItemLong (const QString&, long&, long = 0, const QString& = QString ::null );
+ ItemLong* addItemLong (const TQString&, long&, long = 0, const TQString& = TQString ::null );
%MethodCode
-//takes name | (QString) | value | (long) | defaultValue | (long) | key | (QString = QString::null)
+//takes name | (TQString) | value | (long) | defaultValue | (long) | key | (TQString = TQString::null)
class PyItemLong : public KConfigSkeleton::ItemLong
{
public:
- PyItemLong(const QString &group, const QString &key, long val, long defaultValue=0) :
+ PyItemLong(const TQString &group, const TQString &key, long val, long defaultValue=0) :
KConfigSkeleton::ItemLong (group, key, this->value, defaultValue)
{
value = val;
@@ -330,14 +330,14 @@ public:
Py_END_ALLOW_THREADS
%End
- ItemULong* addItemULong (const QString&, ulong&, ulong = 0, const QString& = QString ::null );
+ ItemULong* addItemULong (const TQString&, ulong&, ulong = 0, const TQString& = TQString ::null );
%MethodCode
-//takes name | (QString) | value | (ulong) | defaultValue | (ulong) | key | (QString = QString::null)
+//takes name | (TQString) | value | (ulong) | defaultValue | (ulong) | key | (TQString = TQString::null)
class PyItemULong : public KConfigSkeleton::ItemULong
{
public:
- PyItemULong(const QString &group, const QString &key, ulong val, ulong defaultValue = 0) :
+ PyItemULong(const TQString &group, const TQString &key, ulong val, ulong defaultValue = 0) :
KConfigSkeleton::ItemULong (group, key, this->value, defaultValue)
{
value = val;
@@ -353,16 +353,16 @@ public:
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 );
+ KConfigSkeleton::ItemInt64* addItemInt64 (const TQString&, longlong&, longlong = 0, const TQString& = TQString ::null );
+ KConfigSkeleton::ItemUInt64* addItemUInt64 (const TQString&, ulonglong&, ulonglong = 0, const TQString& = TQString ::null );
+ ItemDouble* addItemDouble (const TQString&, double&, double = 0.0, const TQString& = TQString ::null );
%MethodCode
-//takes name | (QString) | value | (double) | defaultValue | (double) | key | (QString = QString::null)
+//takes name | (TQString) | value | (double) | defaultValue | (double) | key | (TQString = TQString::null)
class PyItemDouble : public KConfigSkeleton::ItemDouble
{
public:
- PyItemDouble(const QString &group, const QString &key, double val, double defaultValue=0.0) :
+ PyItemDouble(const TQString &group, const TQString &key, double val, double defaultValue=0.0) :
KConfigSkeleton::ItemDouble(group, key, this->value, defaultValue)
{
value = val;
@@ -378,18 +378,18 @@ public:
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<int>&, const QValueList<int>& = IntList (), const QString& = QString ::null );
+ ItemColor* addItemColor (const TQString&, TQColor&, const TQColor& = TQColor (128 ,128 ,128 ), const TQString& = TQString ::null );
+ ItemFont* addItemFont (const TQString&, TQFont&, const TQFont& = KGlobalSettings ::generalFont (), const TQString& = TQString ::null );
+ ItemRect* addItemRect (const TQString&, TQRect&, const TQRect& = TQRect (), const TQString& = TQString ::null );
+ ItemPoint* addItemPoint (const TQString&, TQPoint&, const TQPoint& = TQPoint (), const TQString& = TQString ::null );
+ ItemSize* addItemSize (const TQString&, TQSize&, const TQSize& = TQSize (), const TQString& = TQString ::null );
+ ItemDateTime* addItemDateTime (const TQString&, TQDateTime&, const TQDateTime& = TQDateTime (), const TQString& = TQString ::null );
+ KConfigSkeleton::ItemStringList* addItemStringList (const TQString&, TQStringList&, const TQStringList& = TQStringList (), const TQString& = TQString ::null );
+ KConfigSkeleton::ItemIntList* addItemIntList (const TQString&, TQValueList<int>&, const TQValueList<int>& = IntList (), const TQString& = TQString ::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<int> *)a2 = QValueList<int>();
+//takes name | (TQString) | reference | (a Python list of int) | defaultValue | (a Python list of int = []) | key | (TQString = TQString::null)
+ if (a2 == NULL) *(TQValueList<int> *)a2 = TQValueList<int>();
Py_BEGIN_ALLOW_THREADS
sipRes = sipCpp->addItemIntList (*a0, *a1, *a2, *a3);
Py_END_ALLOW_THREADS
@@ -412,8 +412,8 @@ public:
PyList_Append (sipRes, sipConvertFromInstance (&(list [i]), sipClass_KConfigSkeletonItem, NULL));
%End
- bool isImmutable (const QString&);
- KConfigSkeletonItem* findItem (const QString&);
+ bool isImmutable (const TQString&);
+ KConfigSkeletonItem* findItem (const TQString&);
bool useDefaults (bool);
protected:
@@ -437,16 +437,16 @@ public:
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&);
+ ItemString (const TQString&, const TQString&, TQString&, const TQString& = TQString ::fromLatin1 ("" ), KConfigSkeleton::ItemString::Type = KConfigSkeleton ::ItemString ::Normal );
+ void setValue (const TQString&);
+ TQString& value ();
+ virtual void setDefaultValue (const TQString&);
virtual void setDefault ();
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
}; // class ItemString
@@ -461,23 +461,23 @@ public:
{
public:
- ItemProperty (const QString&, const QString&, QVariant, QVariant = 0) [(const QString&, const QString&, QVariant&, QVariant = 0)];
+ ItemProperty (const TQString&, const TQString&, TQVariant, TQVariant = 0) [(const TQString&, const TQString&, TQVariant&, TQVariant = 0)];
%MethodCode
-//takes group | (QString) | key | (QString) | reference | (QVariant) | defaultValue | (QVariant = 0)
+//takes group | (TQString) | key | (TQString) | reference | (TQVariant) | defaultValue | (TQVariant = 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&);
+ void setValue (const TQVariant&);
+ TQVariant& value ();
+ virtual void setDefaultValue (const TQVariant&);
virtual void setDefault ();
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
}; // class ItemProperty
@@ -492,14 +492,14 @@ public:
{
public:
- ItemBool (const QString&, const QString&, bool, bool = 1) [(const QString&, const QString&, bool&, bool = 1)];
+ ItemBool (const TQString&, const TQString&, bool, bool = 1) [(const TQString&, const TQString&, bool&, bool = 1)];
%MethodCode
-//takes group | (QString) | key | (QString) | reference | (bool) | defaultValue | (bool = 1)
+//takes group | (TQString) | key | (TQString) | reference | (bool) | defaultValue | (bool = 1)
class PyItemBool : public KConfigSkeleton::ItemBool
{
public:
- PyItemBool(const QString &group, const QString &key, bool val, bool defaultValue = false) :
+ PyItemBool(const TQString &group, const TQString &key, bool val, bool defaultValue = false) :
KConfigSkeleton::ItemBool(group, key, this->value, defaultValue)
{
value = val;
@@ -521,8 +521,8 @@ public:
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
}; // class ItemBool
@@ -537,14 +537,14 @@ public:
{
public:
- ItemInt (const QString&, const QString&, int, int = 1) [(const QString&, const QString&, int&, int = 1)];
+ ItemInt (const TQString&, const TQString&, int, int = 1) [(const TQString&, const TQString&, int&, int = 1)];
%MethodCode
-//takes group | (QString) | key | (QString) | reference | (int) | defaultValue | (int = 1)
+//takes group | (TQString) | key | (TQString) | reference | (int) | defaultValue | (int = 1)
class PyItemInt : public KConfigSkeleton::ItemInt
{
public:
- PyItemInt(const QString &group, const QString &key, int val, int defaultValue = 0) :
+ PyItemInt(const TQString &group, const TQString &key, int val, int defaultValue = 0) :
KConfigSkeleton::ItemInt(group, key, this->value, defaultValue)
{
value = val;
@@ -566,10 +566,10 @@ public:
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
- QVariant minValue () const;
- QVariant maxValue () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
+ TQVariant minValue () const;
+ TQVariant maxValue () const;
void setMinValue (int);
void setMaxValue (int);
@@ -586,14 +586,14 @@ public:
{
public:
- ItemInt64 (const QString&, const QString&, longlong&, longlong = 0);
+ ItemInt64 (const TQString&, const TQString&, longlong&, longlong = 0);
%MethodCode
-//takes group | (QString) | key | (QString) | reference | (longlong) | defaultValue | (longlong = 0)
+//takes group | (TQString) | key | (TQString) | 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) :
+ PyItemInt64(const TQString &group, const TQString &key, Q_INT64 val, Q_INT64 defaultValue=0) :
KConfigSkeleton::ItemInt64(group, key, this->value, defaultValue)
{
value = val;
@@ -615,10 +615,10 @@ public:
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
- QVariant minValue () const;
- QVariant maxValue () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
+ TQVariant minValue () const;
+ TQVariant maxValue () const;
void setMinValue (longlong);
void setMaxValue (longlong);
@@ -635,14 +635,14 @@ public:
{
public:
- ItemUInt (const QString&, const QString&, uint, uint = 0) [(const QString&, const QString&, uint&, uint = 0)];
+ ItemUInt (const TQString&, const TQString&, uint, uint = 0) [(const TQString&, const TQString&, uint&, uint = 0)];
%MethodCode
-//takes group | (QString) | key | (QString) | reference | (uint) | defaultValue | (uint = 1)
+//takes group | (TQString) | key | (TQString) | reference | (uint) | defaultValue | (uint = 1)
class PyItemUInt : public KConfigSkeleton::ItemUInt
{
public:
- PyItemUInt(const QString &group, const QString &key, uint val, uint defaultValue = 0) :
+ PyItemUInt(const TQString &group, const TQString &key, uint val, uint defaultValue = 0) :
KConfigSkeleton::ItemUInt(group, key, this->value, defaultValue)
{
value = val;
@@ -664,10 +664,10 @@ public:
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
- QVariant minValue () const;
- QVariant maxValue () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
+ TQVariant minValue () const;
+ TQVariant maxValue () const;
void setMinValue (uint);
void setMaxValue (uint);
@@ -682,14 +682,14 @@ public:
{
public:
- ItemLong (const QString&, const QString&, long&, long = 0) [(const QString&, const QString&, long&, long = 0)];
+ ItemLong (const TQString&, const TQString&, long&, long = 0) [(const TQString&, const TQString&, long&, long = 0)];
%MethodCode
-//takes group | (QString) | key | (QString) | reference | (long) | defaultValue | (long = 1)
+//takes group | (TQString) | key | (TQString) | reference | (long) | defaultValue | (long = 1)
class PyItemLong : public KConfigSkeleton::ItemLong
{
public:
- PyItemLong(const QString &group, const QString &key, long val, long defaultValue = 0) :
+ PyItemLong(const TQString &group, const TQString &key, long val, long defaultValue = 0) :
KConfigSkeleton::ItemLong(group, key, this->value, defaultValue)
{
value = val;
@@ -711,10 +711,10 @@ public:
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
- QVariant minValue () const;
- QVariant maxValue () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
+ TQVariant minValue () const;
+ TQVariant maxValue () const;
void setMinValue (long);
void setMaxValue (long);
@@ -731,14 +731,14 @@ public:
{
public:
- ItemULong (const QString&, const QString&, ulong, ulong = 0) [(const QString&, const QString&, ulong&, ulong = 0)];
+ ItemULong (const TQString&, const TQString&, ulong, ulong = 0) [(const TQString&, const TQString&, ulong&, ulong = 0)];
%MethodCode
-//takes group | (QString) | key | (QString) | reference | (ulong) | defaultValue | (ulong = 1)
+//takes group | (TQString) | key | (TQString) | reference | (ulong) | defaultValue | (ulong = 1)
class PyItemULong : public KConfigSkeleton::ItemULong
{
public:
- PyItemULong(const QString &group, const QString &key, ulong val, ulong defaultValue = 0) :
+ PyItemULong(const TQString &group, const TQString &key, ulong val, ulong defaultValue = 0) :
KConfigSkeleton::ItemULong(group, key, this->value, defaultValue)
{
value = val;
@@ -760,10 +760,10 @@ public:
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
- QVariant minValue () const;
- QVariant maxValue () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
+ TQVariant minValue () const;
+ TQVariant maxValue () const;
void setMinValue (ulong);
void setMaxValue (ulong);
@@ -780,14 +780,14 @@ public:
{
public:
- ItemUInt64 (const QString&, const QString&, ulonglong&, ulonglong = 0);
+ ItemUInt64 (const TQString&, const TQString&, ulonglong&, ulonglong = 0);
%MethodCode
-//takes group | (QString) | key | (QString) | reference | (ulonglong) | defaultValue | (ulonglong = 0)
+//takes group | (TQString) | key | (TQString) | 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) :
+ PyItemUInt64(const TQString &group, const TQString &key, Q_UINT64 val, Q_UINT64 defaultValue = 0) :
KConfigSkeleton::ItemUInt64(group, key, this->value, defaultValue)
{
value = val;
@@ -809,10 +809,10 @@ public:
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
- QVariant minValue () const;
- QVariant maxValue () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
+ TQVariant minValue () const;
+ TQVariant maxValue () const;
void setMinValue (ulonglong);
void setMaxValue (ulonglong);
@@ -829,13 +829,13 @@ public:
{
public:
- ItemDouble (const QString&, const QString&, double, double = 0) [(const QString&, const QString&, double&, double = 0)];
+ ItemDouble (const TQString&, const TQString&, double, double = 0) [(const TQString&, const TQString&, double&, double = 0)];
%MethodCode
-//takes group | (QString) | key | (QString) | reference | (double) | defaultValue | (double = 0)
+//takes group | (TQString) | key | (TQString) | reference | (double) | defaultValue | (double = 0)
class PyItemDouble : public KConfigSkeleton::ItemDouble
{
public:
- PyItemDouble(const QString &group, const QString &key, double val, double defaultValue=0.0) :
+ PyItemDouble(const TQString &group, const TQString &key, double val, double defaultValue=0.0) :
KConfigSkeleton::ItemDouble(group, key, this->value, defaultValue)
{
value = val;
@@ -857,10 +857,10 @@ public:
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
- QVariant minValue () const;
- QVariant maxValue () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
+ TQVariant minValue () const;
+ TQVariant maxValue () const;
void setMinValue (double);
void setMaxValue (double);
@@ -877,16 +877,16 @@ public:
{
public:
- ItemColor (const QString&, const QString&, QColor&, const QColor& = QColor (128 ,128 ,128 ));
- void setValue (const QColor&);
- QColor& value ();
- virtual void setDefaultValue (const QColor&);
+ ItemColor (const TQString&, const TQString&, TQColor&, const TQColor& = TQColor (128 ,128 ,128 ));
+ void setValue (const TQColor&);
+ TQColor& value ();
+ virtual void setDefaultValue (const TQColor&);
virtual void setDefault ();
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
}; // class ItemColor
@@ -901,16 +901,16 @@ public:
{
public:
- ItemFont (const QString&, const QString&, QFont&, const QFont& = KGlobalSettings ::generalFont ());
- void setValue (const QFont&);
- QFont& value ();
- virtual void setDefaultValue (const QFont&);
+ ItemFont (const TQString&, const TQString&, TQFont&, const TQFont& = KGlobalSettings ::generalFont ());
+ void setValue (const TQFont&);
+ TQFont& value ();
+ virtual void setDefaultValue (const TQFont&);
virtual void setDefault ();
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
}; // class ItemFont
@@ -925,16 +925,16 @@ public:
{
public:
- ItemRect (const QString&, const QString&, QRect&, const QRect& = QRect ());
- void setValue (const QRect&);
- QRect& value ();
- virtual void setDefaultValue (const QRect&);
+ ItemRect (const TQString&, const TQString&, TQRect&, const TQRect& = TQRect ());
+ void setValue (const TQRect&);
+ TQRect& value ();
+ virtual void setDefaultValue (const TQRect&);
virtual void setDefault ();
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
}; // class ItemRect
@@ -949,16 +949,16 @@ public:
{
public:
- ItemPoint (const QString&, const QString&, QPoint&, const QPoint& = QPoint ());
- void setValue (const QPoint&);
- QPoint& value ();
- virtual void setDefaultValue (const QPoint&);
+ ItemPoint (const TQString&, const TQString&, TQPoint&, const TQPoint& = TQPoint ());
+ void setValue (const TQPoint&);
+ TQPoint& value ();
+ virtual void setDefaultValue (const TQPoint&);
virtual void setDefault ();
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
}; // class ItemPoint
@@ -973,16 +973,16 @@ public:
{
public:
- ItemSize (const QString&, const QString&, QSize&, const QSize& = QSize ());
- void setValue (const QSize&);
- QSize& value ();
- virtual void setDefaultValue (const QSize&);
+ ItemSize (const TQString&, const TQString&, TQSize&, const TQSize& = TQSize ());
+ void setValue (const TQSize&);
+ TQSize& value ();
+ virtual void setDefaultValue (const TQSize&);
virtual void setDefault ();
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
}; // class ItemSize
@@ -997,16 +997,16 @@ public:
{
public:
- ItemDateTime (const QString&, const QString&, QDateTime&, const QDateTime& = QDateTime ());
- void setValue (const QDateTime&);
- QDateTime& value ();
- virtual void setDefaultValue (const QDateTime&);
+ ItemDateTime (const TQString&, const TQString&, TQDateTime&, const TQDateTime& = TQDateTime ());
+ void setValue (const TQDateTime&);
+ TQDateTime& value ();
+ virtual void setDefaultValue (const TQDateTime&);
virtual void setDefault ();
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
}; // class ItemDateTime
@@ -1021,16 +1021,16 @@ public:
{
public:
- ItemStringList (const QString&, const QString&, QStringList&, const QStringList& = QStringList ());
- void setValue (const QStringList&);
- QStringList& value ();
- virtual void setDefaultValue (const QStringList&);
+ ItemStringList (const TQString&, const TQString&, TQStringList&, const TQStringList& = TQStringList ());
+ void setValue (const TQStringList&);
+ TQStringList& value ();
+ virtual void setDefaultValue (const TQStringList&);
virtual void setDefault ();
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
}; // class ItemStringList
@@ -1045,24 +1045,24 @@ public:
{
public:
- ItemIntList (const QString&, const QString&, QValueList<int>&, const QValueList<int>& = IntList ());
+ ItemIntList (const TQString&, const TQString&, TQValueList<int>&, const TQValueList<int>& = IntList ());
%MethodCode
-//takes group | (QString) | key | (QString) | reference | (a Python list of int) | defaultValue | (a Python list of int = 0)
- if (a3 == NULL) *(QValueList<int> *)a3 = QValueList<int>();
+//takes group | (TQString) | key | (TQString) | reference | (a Python list of int) | defaultValue | (a Python list of int = 0)
+ if (a3 == NULL) *(TQValueList<int> *)a3 = TQValueList<int>();
Py_BEGIN_ALLOW_THREADS
sipCpp = (sipKConfigSkeleton_ItemIntList *) new KConfigSkeleton::ItemIntList (*a0, *a1, *a2, *a3);
Py_END_ALLOW_THREADS
%End
- void setValue (const QValueList<int>&);
- QValueList<int>& value ();
- virtual void setDefaultValue (const QValueList<int>&);
+ void setValue (const TQValueList<int>&);
+ TQValueList<int>& value ();
+ virtual void setDefaultValue (const TQValueList<int>&);
virtual void setDefault ();
void swapDefault ();
void writeConfig (KConfig*);
void readConfig (KConfig*);
- void setProperty (const QVariant&);
- QVariant property () const;
+ void setProperty (const TQVariant&);
+ TQVariant property () const;
}; // class ItemIntList
@@ -1077,7 +1077,7 @@ public:
%If (KDE_3_2_0 - )
-%MappedType QValueList<KConfigSkeleton::ItemEnum::Choice>
+%MappedType TQValueList<KConfigSkeleton::ItemEnum::Choice>
{
%TypeHeaderCode
#include <kconfigskeleton.h>
@@ -1092,11 +1092,11 @@ public:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KConfigSkeleton::ItemEnum::Choice> *cpplist = (QValueList<KConfigSkeleton::ItemEnum::Choice> *)sipCpp;
+ TQValueList<KConfigSkeleton::ItemEnum::Choice> *cpplist = (TQValueList<KConfigSkeleton::ItemEnum::Choice> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KConfigSkeleton::ItemEnum::Choice>::Iterator it;
+ TQValueList<KConfigSkeleton::ItemEnum::Choice>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromNewType(new KConfigSkeleton::ItemEnum::Choice(*it), sipType_KConfigSkeleton_ItemEnum_Choice, NULL)) == NULL)
@@ -1115,7 +1115,7 @@ public:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KConfigSkeleton::ItemEnum::Choice> *cpplist = new QValueList<KConfigSkeleton::ItemEnum::Choice>;
+ TQValueList<KConfigSkeleton::ItemEnum::Choice> *cpplist = new TQValueList<KConfigSkeleton::ItemEnum::Choice>;
PyObject *elem;
KConfigSkeleton::ItemEnum::Choice *cpp;
diff --git a/sip/tdecore/kcrash.sip b/sip/tdecore/kcrash.sip
index ebf2252..3055166 100644
--- a/sip/tdecore/kcrash.sip
+++ b/sip/tdecore/kcrash.sip
@@ -42,8 +42,8 @@ public:
static void setSafer (bool);
%End
- static void setApplicationPath (QString);
- static void setApplicationName (QString);
+ static void setApplicationPath (TQString);
+ static void setApplicationName (TQString);
protected:
diff --git a/sip/tdecore/kdcoppropertyproxy.sip b/sip/tdecore/kdcoppropertyproxy.sip
index b6da6be..393f7e2 100644
--- a/sip/tdecore/kdcoppropertyproxy.sip
+++ b/sip/tdecore/kdcoppropertyproxy.sip
@@ -32,13 +32,13 @@ class KDCOPPropertyProxy
public:
- KDCOPPropertyProxy (QObject*);
- bool isPropertyRequest (const QCString&);
- bool processPropertyRequest (const QCString&, const QByteArray&, QCString&, QByteArray&);
- QValueList<QCString> functions ();
- static QValueList<QCString> functions (QObject*);
- static bool isPropertyRequest (const QCString&, QObject*);
- static bool processPropertyRequest (const QCString&, const QByteArray&, QCString&, QByteArray&, QObject*);
+ KDCOPPropertyProxy (TQObject*);
+ bool isPropertyRequest (const TQCString&);
+ bool processPropertyRequest (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
+ TQValueList<TQCString> functions ();
+ static TQValueList<TQCString> functions (TQObject*);
+ static bool isPropertyRequest (const TQCString&, TQObject*);
+ static bool processPropertyRequest (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&, TQObject*);
}; // class KDCOPPropertyProxy
diff --git a/sip/tdecore/kdesktopfile.sip b/sip/tdecore/kdesktopfile.sip
index 47e83fd..42eff4c 100644
--- a/sip/tdecore/kdesktopfile.sip
+++ b/sip/tdecore/kdesktopfile.sip
@@ -32,48 +32,48 @@ class KDesktopFile : KConfig
public:
- KDesktopFile (const QString&, bool = 0, const char* = "apps");
- static bool isDesktopFile (const QString&);
+ KDesktopFile (const TQString&, bool = 0, const char* = "apps");
+ static bool isDesktopFile (const TQString&);
%If ( KDE_3_1_0 - )
- static bool isAuthorizedDesktopFile (const QString&);
+ static bool isAuthorizedDesktopFile (const TQString&);
%If ( KDE_3_2_0 - )
- static QString locateLocal (const QString&);
+ static TQString locateLocal (const TQString&);
%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;
+ TQString readType () const;
+ TQString readIcon () const;
+ TQString readName () const;
+ TQString readComment () const;
+ TQString readGenericName () const;
+ TQString readPath () const;
+ TQString readDevice () const;
+ TQString readURL () const;
+ TQStringList readActions () const;
+ void setActionGroup (const TQString&);
+ bool hasActionGroup (const TQString&) const;
bool hasLinkType () const;
bool hasApplicationType () const;
bool hasMimeTypeType () const;
bool hasDeviceType () const;
bool tryExec () const;
- QString fileName () const;
- QString resource () const;
+ TQString fileName () const;
+ TQString resource () const;
%If ( KDE_3_1_0 - )
- QString readDocPath () const;
+ TQString readDocPath () const;
%End
- QStringList sortOrder () const;
+ TQStringList sortOrder () const;
%If ( KDE_3_2_0 - )
- KDesktopFile* copyTo (const QString&) const;
+ KDesktopFile* copyTo (const TQString&) const;
%End
- QString filename () const;
+ TQString filename () const;
private:
KDesktopFile (const KDesktopFile&);
diff --git a/sip/tdecore/kdesktopwidget.sip b/sip/tdecore/kdesktopwidget.sip
index cf97c1e..e1c3c14 100644
--- a/sip/tdecore/kdesktopwidget.sip
+++ b/sip/tdecore/kdesktopwidget.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDesktopWidget : QWidget
+class KDesktopWidget : TQWidget
{
%TypeHeaderCode
#include <kdesktopwidget.h>
@@ -36,10 +36,10 @@ public:
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;
+ int screenNumber (TQWidget* = 0) const;
+ int screenNumber (const TQPoint&) const;
+ TQWidget* screen (int = -1);
+ const TQRect& screenGeometry (int = -1) const;
}; // class KDesktopWidget
diff --git a/sip/tdecore/kdestyle.sip b/sip/tdecore/kdestyle.sip
index 2456913..520818c 100644
--- a/sip/tdecore/kdestyle.sip
+++ b/sip/tdecore/kdestyle.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDEAniMenu : QObject
+class KDEAniMenu : TQObject
{
%TypeHeaderCode
#include <kdestyle.h>
@@ -32,7 +32,7 @@ class KDEAniMenu : QObject
public:
- KDEAniMenu (QPopupMenu*);
+ KDEAniMenu (TQPopupMenu*);
protected:
void scrollIn ();
@@ -53,56 +53,56 @@ class KDEStyle : KStyle
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);
+ virtual void polish (TQWidget*);
+ virtual void unPolish (TQWidget*);
+ virtual void polish (TQPalette&);
+ void drawButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+ void drawButtonMask (TQPainter*, int, int, int, int);
+ void drawComboButtonMask (TQPainter*, int, int, int, int);
+ TQRect buttonRect (int, int, int, int);
+ void drawBevelButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+ void drawPushButton (TQPushButton*, TQPainter*);
+ virtual void drawPushButtonLabel (TQPushButton*, TQPainter*);
+ void drawScrollBarControls (TQPainter*, const TQScrollBar*, int, uint, uint);
+ TQStyle::ScrollControl scrollBarPointOver (const TQScrollBar*, int, const TQPoint&);
+ void scrollBarMetrics (const TQScrollBar*, int&/Out/, int&/Out/, int&/Out/, int&/Out/);
+ TQSize indicatorSize () const;
+ void drawIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, int, bool = 0, bool = 1);
+ void drawIndicatorMask (TQPainter*, int, int, int, int, int);
+ TQSize exclusiveIndicatorSize () const;
+ void drawExclusiveIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool = 0, bool = 1);
+ void drawExclusiveIndicatorMask (TQPainter*, int, int, int, int, bool);
+ void drawComboButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 0, bool = 1, const TQBrush* = 0);
+ TQRect comboButtonRect (int, int, int, int);
+ TQRect 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);
+ void drawArrow (TQPainter*, TQt::ArrowType, bool, int, int, int, int, const TQColorGroup&, bool = 1, const TQBrush* = 0);
+ void drawSlider (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation, bool, bool);
+ void drawSliderMask (TQPainter*, int, int, int, int, Orientation, bool, bool);
+ void drawKToolBar (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0);
+ void drawKBarHandle (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0);
+ void drawKMenuBar (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQBrush* = 0);
+ void drawKToolBarButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const TQString& = TQString::null, const TQPixmap* = 0, TQFont* = 0, TQWidget* = 0);
+//ig void drawKMenuItem (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQMenuItem*, TQBrush* = 0);
+//ig void drawPopupMenuItem (TQPainter*, bool, int, int, TQMenuItem*, const TQPalette&, bool, bool, int, int, int, int);
+//ig int popupMenuItemHeight (bool, TQMenuItem*, const TQFontMetrics&);
+ void drawKProgressBlock (TQPainter*, int, int, int, int, const TQColorGroup&, TQBrush*);
+ void drawFocusRect (TQPainter*, const TQRect&, const TQColorGroup&, const TQColor*, 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);
+ void polishPopupMenu (TQPopupMenu*);
+ void drawTab (TQPainter*, const TQTabBar*, TQTab*, bool);
+ void drawTabMask (TQPainter*, const TQTabBar*, TQTab*, bool);
+ void tabbarMetrics (const TQTabBar*, int&/Out/, int&/Out/, int&/Out/);
+ void drawSplitter (TQPainter*, int, int, int, int, const TQColorGroup&, 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*);
+ void drawPanel (TQPainter*, int, int, int, int, const TQColorGroup&, bool, int, const TQBrush*);
+ void drawKickerAppletHandle (TQPainter*, int, int, int, int, const TQColorGroup&, TQBrush*);
+ bool eventFilter (TQObject*, TQEvent*);
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);
+ void drawSBDeco (TQPainter*, const TQRect&, const TQColorGroup&, bool);
+ void drawSBButton (TQPainter*, const TQRect&, const TQColorGroup&, bool = 0);
+ void kColorBitmaps (TQPainter*, const TQColorGroup&, int, int, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0);
}; // class KDEStyle
diff --git a/sip/tdecore/kglobal.sip b/sip/tdecore/kglobal.sip
index b8947e0..b2b2cb9 100644
--- a/sip/tdecore/kglobal.sip
+++ b/sip/tdecore/kglobal.sip
@@ -43,8 +43,8 @@ public:
static KIconLoader* iconLoader ();
static KLocale* locale ();
static KCharsets* charsets ();
- static const QString& staticQString (const char*);
- static const QString& staticQString (const QString&);
+ static const TQString& staticTQString (const char*);
+ static const TQString& staticTQString (const TQString&);
static void registerStaticDeleter (KStaticDeleterBase*);
static void unregisterStaticDeleter (KStaticDeleterBase*);
static void deleteStaticDeleters ();
diff --git a/sip/tdecore/kglobalaccel.sip b/sip/tdecore/kglobalaccel.sip
index 1e757f5..4428a3c 100644
--- a/sip/tdecore/kglobalaccel.sip
+++ b/sip/tdecore/kglobalaccel.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KGlobalAccel : QObject
+class KGlobalAccel : TQObject
{
%TypeHeaderCode
#include <kglobalaccel.h>
@@ -32,32 +32,32 @@ class KGlobalAccel : QObject
public:
- KGlobalAccel (QObject*, const char* = 0);
+ KGlobalAccel (TQObject*, 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);
+ KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1);
%If ( KDE_3_1_0 - )
- bool remove (const QString&);
+ bool remove (const TQString&);
%End
- KAccelAction* insert (const QString&, const QString&);
+ KAccelAction* insert (const TQString&, const TQString&);
bool updateConnections ();
- const KShortcut& shortcut (const QString&) const;
- bool setShortcut (const QString&, const KShortcut&);
- bool setSlot (const QString&, SIP_RXOBJ_CON, SIP_SLOT_CON ());
+ const KShortcut& shortcut (const TQString&) const;
+ bool setShortcut (const TQString&, const KShortcut&);
+ bool setSlot (const TQString&, SIP_RXOBJ_CON, SIP_SLOT_CON ());
%If ( KDE_3_4_0 - )
- bool setActionEnabled (const QString&, bool);
+ bool setActionEnabled (const TQString&, bool);
%End
%If ( KDE_3_3_0 - )
- QString label (const QString&) const;
+ TQString label (const TQString&) const;
%End
- const QString& configGroup () const;
- void setConfigGroup (const QString&);
+ const TQString& configGroup () const;
+ void setConfigGroup (const TQString&);
bool readSettings (KConfigBase* = 0);
bool writeSettings (KConfigBase* = 0) const;
@@ -79,7 +79,7 @@ protected:
public:
%If ( - KDE_3_2_0 )
-//ig bool setEnabled (const QString&, bool);
+//ig bool setEnabled (const TQString&, bool);
%End
diff --git a/sip/tdecore/kglobalsettings.sip b/sip/tdecore/kglobalsettings.sip
index 08386c6..58380d7 100644
--- a/sip/tdecore/kglobalsettings.sip
+++ b/sip/tdecore/kglobalsettings.sip
@@ -84,44 +84,44 @@ public:
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 TQString desktopPath ();
+ static TQString autostartPath ();
+ static TQString trashPath ();
+ static TQString documentPath ();
+ static TQColor toolBarHighlightColor ();
+ static TQColor inactiveTitleColor ();
+ static TQColor inactiveTextColor ();
+ static TQColor activeTitleColor ();
+ static TQColor activeTextColor ();
static int contrast ();
%If ( KDE_3_4_0 - )
- static QColor buttonBackground ();
- static QColor buttonTextColor ();
+ static TQColor buttonBackground ();
+ static TQColor 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&);
+ static TQColor baseColor ();
+ static TQColor textColor ();
+ static TQColor linkColor ();
+ static TQColor visitedLinkColor ();
+ static TQColor highlightedTextColor ();
+ static TQColor highlightColor ();
+ static TQColor alternateBackgroundColor ();
+ static TQColor calculateAlternateBackgroundColor (const TQColor&);
%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 ();
+ static TQFont generalFont ();
+ static TQFont fixedFont ();
+ static TQFont toolBarFont ();
+ static TQFont menuFont ();
+ static TQFont windowTitleFont ();
+ static TQFont taskbarFont ();
%If ( KDE_3_1_0 - )
- static QFont largeFont (const QString& = QString ::null );
+ static TQFont largeFont (const TQString& = TQString ::null );
%End
static bool isMultiHead ();
@@ -130,9 +130,9 @@ public:
static bool wheelMouseZooms ();
%If ( KDE_3_2_0 - )
- static QRect splashScreenDesktopGeometry ();
- static QRect desktopGeometry (const QPoint&);
- static QRect desktopGeometry (QWidget*);
+ static TQRect splashScreenDesktopGeometry ();
+ static TQRect desktopGeometry (const TQPoint&);
+ static TQRect desktopGeometry (TQWidget*);
static bool showIconsOnPushButtons ();
static bool showFilePreview (const KURL&);
static bool opaqueResize ();
diff --git a/sip/tdecore/kiconeffect.sip b/sip/tdecore/kiconeffect.sip
index a157ee4..b6982f5 100644
--- a/sip/tdecore/kiconeffect.sip
+++ b/sip/tdecore/kiconeffect.sip
@@ -51,35 +51,35 @@ public:
void init ();
bool hasEffect (int, int) const;
- QString fingerprint (int, int);
- QImage apply (QImage, int, int);
- QImage apply (QImage, int, float, const QColor, bool);
+ TQString fingerprint (int, int);
+ TQImage apply (TQImage, int, int);
+ TQImage apply (TQImage, int, float, const TQColor, bool);
%If ( KDE_3_4_0 - )
- QImage apply (QImage, int, float, const QColor, const QColor, bool) const;
+ TQImage apply (TQImage, int, float, const TQColor, const TQColor, bool) const;
%End
- QPixmap apply (QPixmap, int, int);
- QPixmap apply (QPixmap, int, float, const QColor, bool);
+ TQPixmap apply (TQPixmap, int, int);
+ TQPixmap apply (TQPixmap, int, float, const TQColor, bool);
%If ( KDE_3_4_0 - )
- QPixmap apply (QPixmap, int, float, const QColor, const QColor, bool) const;
+ TQPixmap apply (TQPixmap, int, float, const TQColor, const TQColor, bool) const;
%End
- QImage doublePixels (QImage);
- static void visualActivate (QWidget*, QRect);
- static void toGray (QImage&, float);
- static void colorize (QImage&, const QColor&, float);
+ TQImage doublePixels (TQImage);
+ static void visualActivate (TQWidget*, TQRect);
+ static void toGray (TQImage&, float);
+ static void colorize (TQImage&, const TQColor&, float);
%If ( KDE_3_4_0 - )
- static void toMonochrome (QImage&, const QColor&, const QColor&, float);
+ static void toMonochrome (TQImage&, const TQColor&, const TQColor&, 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&);
+ static void deSaturate (TQImage&, float);
+ static void toGamma (TQImage&, float);
+ static void semiTransparent (TQImage&);
+ static void semiTransparent (TQPixmap&);
+ static void overlay (TQImage&, TQImage&);
public:
diff --git a/sip/tdecore/kiconloader.sip b/sip/tdecore/kiconloader.sip
index a4fd24d..23f4fcc 100644
--- a/sip/tdecore/kiconloader.sip
+++ b/sip/tdecore/kiconloader.sip
@@ -32,36 +32,36 @@ class KIconLoader
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;
+ KIconLoader (const TQString& = TQString ::null , KStandardDirs* = 0);
+ void addAppDir (const TQString&);
+ TQPixmap loadIcon (const TQString&, KIcon::Group, int = 0, int = KIcon ::DefaultState , TQString* = 0, bool = 0) const;
%If ( KDE_3_5_0 - )
- QIconSet loadIconSet (const QString&, KIcon::Group, int, bool, bool);
+ TQIconSet loadIconSet (const TQString&, KIcon::Group, int, bool, bool);
%End
%If ( KDE_3_1_0 - )
- QIconSet loadIconSet (const QString&, KIcon::Group, int, bool);
+ TQIconSet loadIconSet (const TQString&, 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;
+ TQIconSet loadIconSet (const TQString&, KIcon::Group, int = 0);
+ TQString iconPath (const TQString&, int, bool = 0) const;
+ TQMovie loadMovie (const TQString&, KIcon::Group, int = 0) const;
+ TQString moviePath (const TQString&, KIcon::Group, int = 0) const;
+ TQStringList loadAnimated (const TQString&, KIcon::Group, int = 0) const;
+ TQStringList queryIcons (int, KIcon::Context = KIcon ::Any ) const;
+ TQStringList queryIconsByContext (int, KIcon::Context = KIcon ::Any ) const;
%If ( KDE_3_1_0 - )
- QStringList queryIconsByDir (const QString&) const;
+ TQStringList queryIconsByDir (const TQString&) const;
%End
int currentSize (KIcon::Group) const;
KIconTheme* theme ();
KIconEffect* iconEffect ();
- void reconfigure (const QString&, KStandardDirs*);
- static QPixmap unknown ();
+ void reconfigure (const TQString&, KStandardDirs*);
+ static TQPixmap unknown ();
bool alphaBlending (KIcon::Group) const;
%If ( KDE_3_1_0 - )
@@ -79,19 +79,19 @@ public:
#include <kiconloader.h>
%End
-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 ());
+TQPixmap DesktopIcon (const TQString&, int = 0, int = KIcon ::DefaultState , KInstance* = KGlobal ::instance ());
+TQPixmap DesktopIcon (const TQString&, KInstance*);
+TQIconSet DesktopIconSet (const TQString&, int = 0, KInstance* = KGlobal ::instance ());
+TQPixmap BarIcon (const TQString&, int = 0, int = KIcon ::DefaultState , KInstance* = KGlobal ::instance ());
+TQPixmap BarIcon (const TQString&, KInstance*);
+TQIconSet BarIconSet (const TQString&, int = 0, KInstance* = KGlobal ::instance ());
+TQPixmap SmallIcon (const TQString&, int = 0, int = KIcon ::DefaultState , KInstance* = KGlobal ::instance ());
+TQPixmap SmallIcon (const TQString&, KInstance*);
+TQIconSet SmallIconSet (const TQString&, int = 0, KInstance* = KGlobal ::instance ());
+TQPixmap MainBarIcon (const TQString&, int = 0, int = KIcon ::DefaultState , KInstance* = KGlobal ::instance ());
+TQPixmap MainBarIcon (const TQString&, KInstance*);
+TQIconSet MainBarIconSet (const TQString&, int = 0, KInstance* = KGlobal ::instance ());
+TQPixmap UserIcon (const TQString&, int = KIcon ::DefaultState , KInstance* = KGlobal ::instance ());
+TQPixmap UserIcon (const TQString&, KInstance*);
+TQIconSet UserIconSet (const TQString&, KInstance* = KGlobal ::instance ());
int IconSize (KIcon::Group, KInstance* = KGlobal ::instance ());
diff --git a/sip/tdecore/kicontheme.sip b/sip/tdecore/kicontheme.sip
index 269a8b0..c8f2f6a 100644
--- a/sip/tdecore/kicontheme.sip
+++ b/sip/tdecore/kicontheme.sip
@@ -121,7 +121,7 @@ public:
Context context;
Type type;
int threshold;
- QString path;
+ TQString path;
public:
@@ -209,21 +209,21 @@ class KIconTheme
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;
+ KIconTheme (const TQString&, const TQString& = TQString ::null );
+ TQString name () const;
+ TQString description () const;
+ TQString example () const;
+ TQString screenshot () const;
+ TQString linkOverlay () const;
+ TQString zipOverlay () const;
+ TQString lockOverlay () const;
%If ( KDE_3_1_0 - )
- QString shareOverlay () const;
+ TQString shareOverlay () const;
%End
- QString dir () const;
- QStringList inherits () const;
+ TQString dir () const;
+ TQStringList inherits () const;
bool isValid () const;
%If ( KDE_3_1_0 - )
@@ -232,16 +232,16 @@ public:
int depth () const;
int defaultSize (KIcon::Group) const;
- QValueList<int> 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 ();
+ TQValueList<int> querySizes (KIcon::Group) const;
+ TQStringList queryIcons (int, KIcon::Context = KIcon ::Any ) const;
+ TQStringList queryIconsByContext (int, KIcon::Context = KIcon ::Any ) const;
+ KIcon iconPath (const TQString&, int, KIcon::MatchType) const;
+ static TQStringList list ();
+ static TQString current ();
static void reconfigure ();
%If ( KDE_3_1_0 - )
- static QString defaultThemeName ();
+ static TQString defaultThemeName ();
%End
diff --git a/sip/tdecore/kidna.sip b/sip/tdecore/kidna.sip
index e3e0cd5..fb694f5 100644
--- a/sip/tdecore/kidna.sip
+++ b/sip/tdecore/kidna.sip
@@ -31,9 +31,9 @@
%If ( KDE_3_2_0 - )
namespace KIDNA
{
-QCString toAsciiCString (const QString&);
-QString toAscii (const QString&);
-QString toUnicode (const QString&);
+TQCString toAsciiCString (const TQString&);
+TQString toAscii (const TQString&);
+TQString toUnicode (const TQString&);
}; // namespace KIDNA
%End
diff --git a/sip/tdecore/kinstance.sip b/sip/tdecore/kinstance.sip
index 82df1be..5ee05ee 100644
--- a/sip/tdecore/kinstance.sip
+++ b/sip/tdecore/kinstance.sip
@@ -32,7 +32,7 @@ class KInstance
public:
- KInstance (const QCString&);
+ KInstance (const TQCString&);
KInstance (const KAboutData*);
KInstance (KInstance*);
KStandardDirs* dirs () const;
@@ -45,14 +45,14 @@ public:
KIconLoader* iconLoader () const;
void newIconLoader () const;
const KAboutData* aboutData () const;
- QCString instanceName () const;
+ TQCString instanceName () const;
KMimeSourceFactory* mimeSourceFactory () const;
protected:
//ig KInstance (const KInstance&);
%If ( KDE_3_1_0 - )
- void setConfigName (const QString&);
+ void setConfigName (const TQString&);
%End
diff --git a/sip/tdecore/kkeynative.sip b/sip/tdecore/kkeynative.sip
index 55af059..31686fb 100644
--- a/sip/tdecore/kkeynative.sip
+++ b/sip/tdecore/kkeynative.sip
@@ -41,7 +41,7 @@ public:
//ig bool init (const XEvent*);
bool init (const KKey&);
bool init (const KKeyNative&);
- int keyCodeQt () const;
+ int keyCodeTQt () const;
KKey key () const;
%If ( KDE_3_1_4 - )
diff --git a/sip/tdecore/kkeyserver_x11.sip b/sip/tdecore/kkeyserver_x11.sip
index a50ff80..55c5849 100644
--- a/sip/tdecore/kkeyserver_x11.sip
+++ b/sip/tdecore/kkeyserver_x11.sip
@@ -51,13 +51,13 @@ public:
uint m_sym;
Sym ();
Sym (uint);
- Sym (const QString&);
- bool initQt (int);
- bool init (const QString&);
+ Sym (const TQString&);
+ bool initTQt (int);
+ bool init (const TQString&);
int qt () const;
- QString toStringInternal () const;
- QString toString () const;
- uint getModsRequired () const;
+ TQString toStringInternal () const;
+ TQString toString () const;
+ uint getModsRetquired () const;
uint getSymVariation () const;
%If ( KDE_3_1_4 - )
@@ -90,8 +90,8 @@ public:
uint code () const;
uint mod () const;
uint sym () const;
- int keyCodeQt () const;
- void setKeycodeQt (int);
+ int keyCodeTQt () const;
+ void setKeycodeTQt (int);
int compare (const KKeyServer::Key&) const;
%If ( KDE_3_1_4 - )
@@ -143,28 +143,28 @@ 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 keyTQtToSym (int, uint&);
+//ig bool keyTQtToMod (int, uint&);
+//ig bool symToKeyTQt (uint, int&);
+//ig bool modToModTQt (uint, int&);
//ig bool modToModX (uint, uint&);
-//ig bool modXToModQt (uint, int&);
+//ig bool modXToModTQt (uint, int&);
%If ( KDE_3_4_2 - )
-//ig int qtButtonStateToMod (Qt::ButtonState);
+//ig int qtButtonStateToMod (TQt::ButtonState);
%End
//ig bool modXToMod (uint, uint&);
//ig bool codeXToSym (uchar, uint, uint&);
-//ig QString modToStringInternal (uint);
-//ig QString modToStringUser (uint);
+//ig TQString modToStringInternal (uint);
+//ig TQString modToStringUser (uint);
%If ( KDE_3_5_0 - )
-uint stringUserToMod (const QString&);
+uint stringUserToMod (const TQString&);
%End
-//ig bool stringToSymMod (const QString&, uint&, uint&);
-//ig void keyQtToKeyX (uint, uchar*, uint*, uint*);
+//ig bool stringToSymMod (const TQString&, uint&, uint&);
+//ig void keyTQtToKeyX (uint, uchar*, uint*, uint*);
%If ( - KDE_3_2_0 )
diff --git a/sip/tdecore/klibloader.sip b/sip/tdecore/klibloader.sip
index 80fa29f..27c8e72 100644
--- a/sip/tdecore/klibloader.sip
+++ b/sip/tdecore/klibloader.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KLibrary : QObject
+class KLibrary : TQObject
{
%TypeHeaderCode
#include <klibloader.h>
@@ -32,9 +32,9 @@ class KLibrary : QObject
public:
-//ig KLibrary (const QString&, const QString&, void*);
- QString name () const;
- QString fileName () const;
+//ig KLibrary (const TQString&, const TQString&, void*);
+ TQString name () const;
+ TQString fileName () const;
KLibFactory* factory ();
void* symbol (const char*);
@@ -47,13 +47,13 @@ public:
private:
~KLibrary ();
//force
- KLibrary (const QString&, const QString&, void*);
+ KLibrary (const TQString&, const TQString&, void*);
//end
}; // class KLibrary
-class KLibLoader : QObject
+class KLibLoader : TQObject
{
%TypeHeaderCode
#include <klibloader.h>
@@ -64,14 +64,14 @@ public:
KLibFactory* factory (const char*);
virtual KLibrary* library (const char*);
KLibrary* globalLibrary (const char*);
- QString lastErrorMessage () const;
+ TQString lastErrorMessage () const;
virtual void unloadLibrary (const char*);
static KLibLoader* self ();
static void cleanUp ();
- static QString findLibrary (const char*, const KInstance* = KGlobal ::instance ());
+ static TQString findLibrary (const char*, const KInstance* = KGlobal ::instance ());
protected:
- KLibLoader (QObject* /TransferThis/ = 0, const char* = 0);
+ KLibLoader (TQObject* /TransferThis/ = 0, const char* = 0);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -79,7 +79,7 @@ protected:
}; // class KLibLoader
-class KLibFactory : QObject
+class KLibFactory : TQObject
{
%TypeHeaderCode
#include <klibloader.h>
@@ -87,14 +87,14 @@ class KLibFactory : QObject
public:
- KLibFactory (QObject* /TransferThis/ = 0, const char* = 0);
- QObject* create (QObject* /Transfer/ = 0, const char* = 0, const char* = "QObject", const QStringList& = QStringList ());
+ KLibFactory (TQObject* /TransferThis/ = 0, const char* = 0);
+ TQObject* create (TQObject* /Transfer/ = 0, const char* = 0, const char* = "TQObject", const TQStringList& = TQStringList ());
signals:
- void objectCreated (QObject*);
+ void objectCreated (TQObject*);
protected:
- virtual QObject* createObject (QObject* /Transfer/ = 0, const char* = 0, const char* = "QObject", const QStringList& = QStringList ()) /Factory/;
+ virtual TQObject* createObject (TQObject* /Transfer/ = 0, const char* = 0, const char* = "TQObject", const TQStringList& = TQStringList ()) /Factory/;
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdecore/klocale.sip b/sip/tdecore/klocale.sip
index ffe12a0..238c9a7 100644
--- a/sip/tdecore/klocale.sip
+++ b/sip/tdecore/klocale.sip
@@ -32,15 +32,15 @@ class KLocale
public:
- KLocale (const QString&, KConfig* = 0);
+ KLocale (const TQString&, 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;
+ TQString translate (const char*) const;
+ TQString translate (const char*, const char*) const;
+ TQString translate (const char*, const char*, ulong) const;
bool setEncoding (int);
- bool setLanguage (const QString&);
- bool setLanguage (const QStringList&);
- bool setCountry (const QString&);
+ bool setLanguage (const TQString&);
+ bool setLanguage (const TQStringList&);
+ bool setCountry (const TQString&);
enum SignPosition
{
@@ -51,29 +51,29 @@ public:
AfterMoney
};
- QString decimalSymbol () const;
- QString thousandsSeparator () const;
- QString currencySymbol () const;
- QString monetaryDecimalSymbol () const;
- QString monetaryThousandsSeparator () const;
- QString positiveSign () const;
- QString negativeSign () const;
+ TQString decimalSymbol () const;
+ TQString thousandsSeparator () const;
+ TQString currencySymbol () const;
+ TQString monetaryDecimalSymbol () const;
+ TQString monetaryThousandsSeparator () const;
+ TQString positiveSign () const;
+ TQString 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;
+ TQString formatMoney (double, const TQString& = TQString ::null , int = -1) const;
+ TQString formatNumber (double, int = -1) const;
+ TQString formatNumber (const TQString&) const;
%If ( KDE_3_5_0 - )
- QString formatNumber (const QString&, bool, int) const;
+ TQString formatNumber (const TQString&, bool, int) const;
%End
%If ( KDE_3_2_0 - )
- QString formatLong (long) const;
+ TQString formatLong (long) const;
%End
@@ -81,18 +81,18 @@ public:
bool nounDeclension () const;
%End
- QString formatDate (const QDate&, bool = 0) const;
+ TQString formatDate (const TQDate&, bool = 0) const;
%If ( KDE_3_1_0 - )
bool dateMonthNamePossessive () const;
%If ( KDE_3_3_0 - )
- QString formatTime (const QTime&, bool, bool) const;
+ TQString formatTime (const TQTime&, bool, bool) const;
%End
%End
- QString formatTime (const QTime&, bool = 0) const;
+ TQString formatTime (const TQTime&, bool = 0) const;
bool use12Clock () const;
bool weekStartsMonday () const;
@@ -100,25 +100,25 @@ public:
int weekStartDay () const;
%End
- QString monthName (int, bool = 0) const;
+ TQString monthName (int, bool = 0) const;
%If ( KDE_3_1_0 - )
- QString monthNamePossessive (int, bool = 0) const;
+ TQString monthNamePossessive (int, bool = 0) const;
%End
- QString weekDayName (int, bool = 0) const;
+ TQString weekDayName (int, bool = 0) const;
%If ( KDE_3_2_0 - )
const KCalendarSystem* calendar () const;
- QString calendarType () const;
- void setCalendar (const QString&);
+ TQString calendarType () const;
+ void setCalendar (const TQString&);
%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;
+ TQString formatDateTime (const TQDateTime&, bool, bool = 0) const;
+ double readMoney (const TQString&, bool* = 0) const;
+ double readNumber (const TQString&, bool* = 0) const;
+ TQDate readDate (const TQString&, bool* = 0) const;
+ TQDate readDate (const TQString&, const TQString&, bool* = 0) const;
%If ( KDE_3_2_0 - )
@@ -128,10 +128,10 @@ public:
ShortFormat
};
- QDate readDate (const QString&, KLocale::ReadDateFlags, bool* = 0) const;
+ TQDate readDate (const TQString&, KLocale::ReadDateFlags, bool* = 0) const;
%End
- QTime readTime (const QString&, bool* = 0) const;
+ TQTime readTime (const TQString&, bool* = 0) const;
%If ( KDE_3_2_0 - )
@@ -141,50 +141,50 @@ public:
WithoutSeconds
};
- QTime readTime (const QString&, KLocale::ReadTimeFlags, bool* = 0) const;
+ TQTime readTime (const TQString&, KLocale::ReadTimeFlags, bool* = 0) const;
%End
- QString language () const;
- QString country () const;
- QStringList languagesTwoAlpha () const;
- QStringList languageList () const;
+ TQString language () const;
+ TQString country () const;
+ TQStringList languagesTwoAlpha () const;
+ TQStringList languageList () const;
const char* encoding () const;
int encodingMib () const;
- QTextCodec* codecForEncoding () const;
+ TQTextCodec* codecForEncoding () const;
%If ( KDE_3_2_0 - )
int fileEncodingMib () const;
%End
- void setDateFormat (const QString&);
- void setDateFormatShort (const QString&);
+ void setDateFormat (const TQString&);
+ void setDateFormatShort (const TQString&);
%If ( KDE_3_1_0 - )
void setDateMonthNamePossessive (bool);
%End
- void setTimeFormat (const QString&);
+ void setTimeFormat (const TQString&);
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&);
+ TQString dateFormat () const;
+ TQString dateFormatShort () const;
+ TQString timeFormat () const;
+ void setDecimalSymbol (const TQString&);
+ void setThousandsSeparator (const TQString&);
+ void setPositiveSign (const TQString&);
+ void setNegativeSign (const TQString&);
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&);
+ void setMonetaryThousandsSeparator (const TQString&);
+ void setMonetaryDecimalSymbol (const TQString&);
+ void setCurrencySymbol (const TQString&);
int pageSize () const;
void setPageSize (int);
@@ -196,32 +196,32 @@ public:
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;
+ void insertCatalogue (const TQString&);
+ void removeCatalogue (const TQString&);
+ void setActiveCatalogue (const TQString&);
+ TQString translateTQt (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;
+ TQStringList allLanguagesTwoAlpha () const;
+ TQString twoAlphaToLanguageName (const TQString&) const;
+ TQStringList allCountriesTwoAlpha () const;
+ TQString twoAlphaToCountryName (const TQString&) const;
%End
- static void splitLocale (const QString&, QString&, QString&, QString&);
+ static void splitLocale (const TQString&, TQString&, TQString&, TQString&);
static void setMainCatalogue (const char*);
- static QString langLookup (const QString&, const char* = "html");
- static QString defaultLanguage ();
- static QString defaultCountry ();
+ static TQString langLookup (const TQString&, const char* = "html");
+ static TQString defaultLanguage ();
+ static TQString defaultCountry ();
%If ( KDE_3_0_1 - )
- static QString _initLanguage (KConfigBase*);
+ static TQString _initLanguage (KConfigBase*);
%End
- QString formatMoney (const QString&) const;
- QString languages () const;
-//ig bool setCharset (const QString&);
-//ig QString charset () const;
+ TQString formatMoney (const TQString&) const;
+ TQString languages () const;
+//ig bool setCharset (const TQString&);
+//ig TQString charset () const;
protected:
//ig static void initInstance ();
@@ -238,6 +238,6 @@ private:
#include <klocale.h>
%End
-QString i18n (const char*);
-QString i18n (const char*, const char*);
-QString i18n (const char*, const char*, ulong);
+TQString i18n (const char*);
+TQString i18n (const char*, const char*);
+TQString i18n (const char*, const char*, ulong);
diff --git a/sip/tdecore/klockfile.sip b/sip/tdecore/klockfile.sip
index 0e1aeb5..984804c 100644
--- a/sip/tdecore/klockfile.sip
+++ b/sip/tdecore/klockfile.sip
@@ -35,7 +35,7 @@ class KLockFile : KShared
public:
typedef KSharedPtr<KLockFile> Ptr;
- KLockFile (const QString&);
+ KLockFile (const TQString&);
enum LockResult
{
@@ -57,7 +57,7 @@ public:
void unlock ();
int staleTime () const;
void setStaleTime (int);
- bool getLockInfo (int& /Out/, QString& /Out/, QString& /Out/);
+ bool getLockInfo (int& /Out/, TQString& /Out/, TQString& /Out/);
}; // class KLockFile
diff --git a/sip/tdecore/kmacroexpander.sip b/sip/tdecore/kmacroexpander.sip
index 6316a9d..b70d2df 100644
--- a/sip/tdecore/kmacroexpander.sip
+++ b/sip/tdecore/kmacroexpander.sip
@@ -38,16 +38,16 @@ class KMacroExpanderBase
public:
- KMacroExpanderBase (QChar = '%');
- void expandMacros (QString&);
- bool expandMacrosShellQuote (QString&, uint& /In, Out/);
- bool expandMacrosShellQuote (QString&);
- void setEscapeChar (QChar);
- QChar escapeChar () const;
+ KMacroExpanderBase (TQChar = '%');
+ void expandMacros (TQString&);
+ bool expandMacrosShellQuote (TQString&, uint& /In, Out/);
+ bool expandMacrosShellQuote (TQString&);
+ void setEscapeChar (TQChar);
+ TQChar escapeChar () const;
protected:
- virtual int expandPlainMacro (const QString&, uint, QStringList&);
- virtual int expandEscapedMacro (const QString&, uint, QStringList&);
+ virtual int expandPlainMacro (const TQString&, uint, TQStringList&);
+ virtual int expandEscapedMacro (const TQString&, uint, TQStringList&);
}; // class KMacroExpanderBase
@@ -64,12 +64,12 @@ class KWordMacroExpander : KMacroExpanderBase
public:
- KWordMacroExpander (QChar = '%');
+ KWordMacroExpander (TQChar = '%');
protected:
- virtual int expandPlainMacro (const QString&, uint, QStringList&);
- virtual int expandEscapedMacro (const QString&, uint, QStringList&);
- virtual bool expandMacro (const QString&, QStringList&) = 0;
+ virtual int expandPlainMacro (const TQString&, uint, TQStringList&);
+ virtual int expandEscapedMacro (const TQString&, uint, TQStringList&);
+ virtual bool expandMacro (const TQString&, TQStringList&) = 0;
}; // class KWordMacroExpander
@@ -86,12 +86,12 @@ class KCharMacroExpander : KMacroExpanderBase
public:
- KCharMacroExpander (QChar = '%');
+ KCharMacroExpander (TQChar = '%');
protected:
- virtual int expandPlainMacro (const QString&, uint, QStringList&);
- virtual int expandEscapedMacro (const QString&, uint, QStringList&);
- virtual bool expandMacro (QChar, QStringList&) = 0;
+ virtual int expandPlainMacro (const TQString&, uint, TQStringList&);
+ virtual int expandEscapedMacro (const TQString&, uint, TQStringList&);
+ virtual bool expandMacro (TQChar, TQStringList&) = 0;
}; // class KCharMacroExpander
@@ -101,22 +101,22 @@ protected:
%If ( KDE_3_2_0 - )
namespace KMacroExpander
{
-QString expandMacros (const QString&, const QMap<QChar,QString>&, QChar = '%');
-QString expandMacrosShellQuote (const QString&, const QMap<QChar,QString>&, QChar = '%');
-QString expandMacros (const QString&, const QMap<QString,QString>&, QChar = '%');
-QString expandMacrosShellQuote (const QString&, const QMap<QString,QString>&, QChar = '%');
-QString expandMacros (const QString&, const QMap<QChar,QStringList>&, QChar = '%');
-QString expandMacros (const QString&, const QMap<QString,QStringList>&, QChar = '%');
-QString expandMacrosShellQuote (const QString&, const QMap<QChar,QStringList>&, QChar = '%');
-QString expandMacrosShellQuote (const QString&, const QMap<QString,QStringList>&, QChar = '%');
+TQString expandMacros (const TQString&, const TQMap<TQChar,TQString>&, TQChar = '%');
+TQString expandMacrosShellQuote (const TQString&, const TQMap<TQChar,TQString>&, TQChar = '%');
+TQString expandMacros (const TQString&, const TQMap<TQString,TQString>&, TQChar = '%');
+TQString expandMacrosShellQuote (const TQString&, const TQMap<TQString,TQString>&, TQChar = '%');
+TQString expandMacros (const TQString&, const TQMap<TQChar,TQStringList>&, TQChar = '%');
+TQString expandMacros (const TQString&, const TQMap<TQString,TQStringList>&, TQChar = '%');
+TQString expandMacrosShellQuote (const TQString&, const TQMap<TQChar,TQStringList>&, TQChar = '%');
+TQString expandMacrosShellQuote (const TQString&, const TQMap<TQString,TQStringList>&, TQChar = '%');
}; // namespace KMacroExpander
%End
-%MappedType QMap<QChar,QString>
-//converts a Python dict of QChar:QString
+%MappedType TQMap<TQChar,TQString>
+//converts a Python dict of TQChar:TQString
{
%TypeHeaderCode
#include <qmap.h>
@@ -137,15 +137,15 @@ QString expandMacrosShellQuote (const QString&, const QMap<QString,
// Get it.
- const QMap<QChar,QString> map = *sipCpp;
- QMap<QChar,QString>::ConstIterator it;
+ const TQMap<TQChar,TQString> map = *sipCpp;
+ TQMap<TQChar,TQString>::ConstIterator it;
for (it = map.begin (); it != map.end (); ++it)
{
- QChar acpp = it.key ();
- PyObject *binst = PyString_FromString ((char *)((QString *)&it.data ()));
+ TQChar acpp = it.key ();
+ PyObject *binst = PyString_FromString ((char *)((TQString *)&it.data ()));
PyObject *ainst;
- if (((ainst = sipConvertFromNewType(new QChar(acpp), sipType_QChar, sipTransferObj)) == NULL)
+ if (((ainst = sipConvertFromNewType(new TQChar(acpp), sipType_QChar, sipTransferObj)) == NULL)
|| (binst == NULL)
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
@@ -161,24 +161,24 @@ QString expandMacrosShellQuote (const QString&, const QMap<QString,
%ConvertToTypeCode
-// Convert a Python dictionary to a QMap<QChar, QString>
+// Convert a Python dictionary to a TQMap<TQChar, TQString>
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QChar,QString> *map = new QMap<QChar,QString>;
+ TQMap<TQChar,TQString> *map = new TQMap<TQChar,TQString>;
PyObject *key, *value;
SIP_SSIZE_T pos = 0;
- QChar *cKey;
- QString *sData;
+ TQChar *cKey;
+ TQString *sData;
while (PyDict_Next(sipPy, &pos, &key, &value))
{
int iserr = 0, cKey_state, sData_state;
- cKey = (QChar *)sipForceConvertToType(key, sipType_QChar, sipTransferObj, SIP_NOT_NONE, &cKey_state, &iserr);
- sData = (QString *)sipForceConvertToType(value, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr);
+ cKey = (TQChar *)sipForceConvertToType(key, sipType_QChar, sipTransferObj, SIP_NOT_NONE, &cKey_state, &iserr);
+ sData = (TQString *)sipForceConvertToType(value, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr);
if (iserr)
{
@@ -203,8 +203,8 @@ QString expandMacrosShellQuote (const QString&, const QMap<QString,
};
-%MappedType QMap<QString,QStringList>
-//converts a Python dict of QString:QStringList
+%MappedType TQMap<TQString,TQStringList>
+//converts a Python dict of TQString:TQStringList
{
%TypeHeaderCode
#include <qmap.h>
@@ -226,15 +226,15 @@ QString expandMacrosShellQuote (const QString&, const QMap<QString,
// Get it.
- const QMap<QString, QStringList> map = *sipCpp;
- QMap<QString, QStringList>::ConstIterator it;
+ const TQMap<TQString, TQStringList> map = *sipCpp;
+ TQMap<TQString, TQStringList>::ConstIterator it;
for (it = map.begin (); it != map.end (); ++it)
{
- QStringList bcpp = it.data ();
- PyObject *ainst = PyString_FromString ((char *)((QString *)&it.key ()));
+ TQStringList bcpp = it.data ();
+ PyObject *ainst = PyString_FromString ((char *)((TQString *)&it.key ()));
PyObject *binst;
- if (((binst = sipConvertFromNewType(new QStringList(bcpp), sipType_QStringList, sipTransferObj)) == NULL)
+ if (((binst = sipConvertFromNewType(new TQStringList(bcpp), sipType_QStringList, sipTransferObj)) == NULL)
|| (ainst == NULL)
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
@@ -250,24 +250,24 @@ QString expandMacrosShellQuote (const QString&, const QMap<QString,
%ConvertToTypeCode
-// Convert a Python dictionary to a QMap<QString, QStringList> on the heap.
+// Convert a Python dictionary to a TQMap<TQString, TQStringList> on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QString, QStringList> *map = new QMap<QString, QStringList>;
+ TQMap<TQString, TQStringList> *map = new TQMap<TQString, TQStringList>;
PyObject *key, *value;
SIP_SSIZE_T pos = 0;
- QString *sKey;
- QStringList *slData;
+ TQString *sKey;
+ TQStringList *slData;
while (PyDict_Next(sipPy, &pos, &key, &value))
{
int iserr = 0, sKey_state, slData_state;
- sKey = (QString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sKey_state, &iserr);
- slData = (QStringList *)sipForceConvertToType(value, sipType_QStringList, sipTransferObj, SIP_NOT_NONE, &slData_state, &iserr);
+ sKey = (TQString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sKey_state, &iserr);
+ slData = (TQStringList *)sipForceConvertToType(value, sipType_QStringList, sipTransferObj, SIP_NOT_NONE, &slData_state, &iserr);
if (iserr)
{
@@ -292,8 +292,8 @@ QString expandMacrosShellQuote (const QString&, const QMap<QString,
};
-%MappedType QMap<QChar,QStringList>
-//converts a Python dict of QChar:QStringList
+%MappedType TQMap<TQChar,TQStringList>
+//converts a Python dict of TQChar:TQStringList
{
%TypeHeaderCode
#include <qmap.h>
@@ -315,17 +315,17 @@ QString expandMacrosShellQuote (const QString&, const QMap<QString,
// Get it.
- const QMap<QChar,QStringList> map = *sipCpp;
- QMap<QChar,QStringList>::ConstIterator it;
+ const TQMap<TQChar,TQStringList> map = *sipCpp;
+ TQMap<TQChar,TQStringList>::ConstIterator it;
for (it = map.begin (); it != map.end (); ++it)
{
- QChar acpp = it.key ();
- QStringList bcpp = it.data ();
+ TQChar acpp = it.key ();
+ TQStringList bcpp = it.data ();
PyObject *binst;
PyObject *ainst;
- if (((ainst = sipConvertFromNewType(new QChar(acpp), sipType_QChar, sipTransferObj)) == NULL)
- || (binst = sipConvertFromNewType(new QStringList(bcpp), sipType_QStringList, sipTransferObj))
+ if (((ainst = sipConvertFromNewType(new TQChar(acpp), sipType_QChar, sipTransferObj)) == NULL)
+ || (binst = sipConvertFromNewType(new TQStringList(bcpp), sipType_QStringList, sipTransferObj))
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
Py_XDECREF (ainst);
@@ -340,24 +340,24 @@ QString expandMacrosShellQuote (const QString&, const QMap<QString,
%ConvertToTypeCode
-// Convert a Python dictionary to a QMap<QChar, QStringList> on the heap.
+// Convert a Python dictionary to a TQMap<TQChar, TQStringList> on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QChar,QStringList> *map = new QMap<QChar,QStringList>;
+ TQMap<TQChar,TQStringList> *map = new TQMap<TQChar,TQStringList>;
PyObject *key, *value;
SIP_SSIZE_T pos = 0;
- QChar *cKey;
- QStringList *slData;
+ TQChar *cKey;
+ TQStringList *slData;
while (PyDict_Next(sipPy, &pos, &key, &value))
{
int iserr = 0, cKey_state, slData_state;
- cKey = (QChar *)sipForceConvertToType(key, sipType_QChar, sipTransferObj, SIP_NOT_NONE, &cKey_state, &iserr);
- slData = (QStringList *)sipForceConvertToType(value, sipType_QStringList, sipTransferObj, SIP_NOT_NONE, &slData_state, &iserr);
+ cKey = (TQChar *)sipForceConvertToType(key, sipType_QChar, sipTransferObj, SIP_NOT_NONE, &cKey_state, &iserr);
+ slData = (TQStringList *)sipForceConvertToType(value, sipType_QStringList, sipTransferObj, SIP_NOT_NONE, &slData_state, &iserr);
if (iserr)
{
diff --git a/sip/tdecore/kmanagerselection.sip b/sip/tdecore/kmanagerselection.sip
index a43fd2e..99e6ef1 100644
--- a/sip/tdecore/kmanagerselection.sip
+++ b/sip/tdecore/kmanagerselection.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_2_0 - )
-class KSelectionOwner : QObject
+class KSelectionOwner : TQObject
{
%TypeHeaderCode
#include <qdockwindow.h>
@@ -36,8 +36,8 @@ class KSelectionOwner : QObject
public:
- KSelectionOwner (Atom, int = -1, QObject* /TransferThis/ = 0);
- KSelectionOwner (const char*, int = -1, QObject* /TransferThis/ = 0);
+ KSelectionOwner (Atom, int = -1, TQObject* /TransferThis/ = 0);
+ KSelectionOwner (const char*, int = -1, TQObject* /TransferThis/ = 0);
bool claim (bool, bool = 1);
void release ();
Window ownerWindow () const;
@@ -63,7 +63,7 @@ protected:
%If ( KDE_3_2_0 - )
-class KSelectionWatcher : QObject
+class KSelectionWatcher : TQObject
{
%TypeHeaderCode
#include <qdockwindow.h>
@@ -73,8 +73,8 @@ class KSelectionWatcher : QObject
public:
- KSelectionWatcher (Atom, int = -1, QObject* /TransferThis/ = 0);
- KSelectionWatcher (const char*, int = -1, QObject* /TransferThis/ = 0);
+ KSelectionWatcher (Atom, int = -1, TQObject* /TransferThis/ = 0);
+ KSelectionWatcher (const char*, int = -1, TQObject* /TransferThis/ = 0);
Window owner ();
//ig void filterEvent (XEvent*);
diff --git a/sip/tdecore/kmdcodec.sip b/sip/tdecore/kmdcodec.sip
index e554fc5..f216c19 100644
--- a/sip/tdecore/kmdcodec.sip
+++ b/sip/tdecore/kmdcodec.sip
@@ -32,24 +32,24 @@ class KCodecs
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&);
+ static TQCString quotedPrintableEncode (const TQByteArray&, bool);
+ static TQCString quotedPrintableEncode (const TQCString&, bool = 1);
+ static void quotedPrintableEncode (const TQByteArray&, TQByteArray&, bool);
+ static TQCString quotedPrintableDecode (const TQByteArray&);
+ static TQCString quotedPrintableDecode (const TQCString&);
+ static void quotedPrintableDecode (const TQByteArray&, TQByteArray&);
+ static TQCString uuencode (const TQByteArray&);
+ static TQCString uuencode (const TQCString&);
+ static void uuencode (const TQByteArray&, TQByteArray&);
+ static TQCString uudecode (const TQByteArray&);
+ static TQCString uudecode (const TQCString&);
+ static void uudecode (const TQByteArray&, TQByteArray&);
+ static TQCString base64Encode (const TQByteArray&, bool);
+ static TQCString base64Encode (const TQCString&, bool);
+ static void base64Encode (const TQByteArray&, TQByteArray&, bool);
+ static TQCString base64Decode (const TQByteArray&);
+ static TQCString base64Decode (const TQCString&);
+ static void base64Decode (const TQByteArray&, TQByteArray&);
private:
KCodecs ();
@@ -68,21 +68,21 @@ public:
//ig typedef uchar Digest[16];
KMD5 ();
KMD5 (const char*, int = -1);
- KMD5 (const QByteArray&);
- KMD5 (const QCString&);
+ KMD5 (const TQByteArray&);
+ KMD5 (const TQCString&);
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 update (const TQByteArray&);
+ void update (const TQCString&);
+ bool update (TQIODevice&);
void reset ();
//ig const Digest& rawDigest ();
//ig void rawDigest (KMD5::Digest&);
- QCString hexDigest ();
- void hexDigest (QCString&);
- QCString base64Digest ();
+ TQCString hexDigest ();
+ void hexDigest (TQCString&);
+ TQCString base64Digest ();
//ig bool verify (const KMD5::Digest&);
- bool verify (const QCString&);
+ bool verify (const TQCString&);
protected:
@@ -127,21 +127,21 @@ public:
//ig typedef uchar Digest[16];
KMD4 ();
KMD4 (const char*, int = -1);
- KMD4 (const QByteArray&);
- KMD4 (const QCString&);
+ KMD4 (const TQByteArray&);
+ KMD4 (const TQCString&);
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 update (const TQByteArray&);
+ void update (const TQCString&);
+ bool update (TQIODevice&);
void reset ();
//ig const Digest& rawDigest ();
//ig void rawDigest (KMD4::Digest&);
- QCString hexDigest ();
- void hexDigest (QCString&);
- QCString base64Digest ();
+ TQCString hexDigest ();
+ void hexDigest (TQCString&);
+ TQCString base64Digest ();
//ig bool verify (const KMD4::Digest&);
- bool verify (const QCString&);
+ bool verify (const TQCString&);
protected:
//ig void transform (ulong, const ulong);
diff --git a/sip/tdecore/kmimesourcefactory.sip b/sip/tdecore/kmimesourcefactory.sip
index b15e8d3..77ff521 100644
--- a/sip/tdecore/kmimesourcefactory.sip
+++ b/sip/tdecore/kmimesourcefactory.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMimeSourceFactory : QMimeSourceFactory
+class KMimeSourceFactory : TQMimeSourceFactory
{
%TypeHeaderCode
#include <kmimesourcefactory.h>
@@ -33,7 +33,7 @@ class KMimeSourceFactory : QMimeSourceFactory
public:
KMimeSourceFactory (KIconLoader* = KGlobal ::iconLoader ());
- virtual QString makeAbsolute (const QString&, const QString&) const;
+ virtual TQString makeAbsolute (const TQString&, const TQString&) const;
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdecore/kmountpoint.sip b/sip/tdecore/kmountpoint.sip
index 13f22da..693186a 100644
--- a/sip/tdecore/kmountpoint.sip
+++ b/sip/tdecore/kmountpoint.sip
@@ -35,7 +35,7 @@ class KMountPoint : KShared
public:
//ig typedef KSharedPtr<KMountPoint> Ptr;
-//ig typedef QValueList<KMountPoint::Ptr> List;
+//ig typedef TQValueList<KMountPoint::Ptr> List;
public:
@@ -47,14 +47,14 @@ public:
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;
+ TQString mountedFrom () const;
+ TQString realDeviceName () const;
+ TQString mountPoint () const;
+ TQString mountType () const;
+ TQStringList mountOptions () const;
%If ( KDE_3_4_0 - )
- static QString devNameFromOptions (const QStringList&);
+ static TQString devNameFromOptions (const TQStringList&);
%End
diff --git a/sip/tdecore/kmultipledrag.sip b/sip/tdecore/kmultipledrag.sip
index b064d01..9889afb 100644
--- a/sip/tdecore/kmultipledrag.sip
+++ b/sip/tdecore/kmultipledrag.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMultipleDrag : QDragObject
+class KMultipleDrag : TQDragObject
{
%TypeHeaderCode
#include <kmultipledrag.h>
@@ -32,11 +32,11 @@ class KMultipleDrag : QDragObject
public:
- KMultipleDrag (QWidget* = 0, const char* = 0);
- void addDragObject (QDragObject*);
+ KMultipleDrag (TQWidget* = 0, const char* = 0);
+ void addDragObject (TQDragObject*);
%If ( KDE_3_5_0 - )
- virtual QByteArray encodedData (const char*) const;
+ virtual TQByteArray encodedData (const char*) const;
virtual const char* format (int) const;
%End
@@ -49,7 +49,7 @@ protected:
protected:
%If ( - KDE_3_5_0 )
- virtual QByteArray encodedData (const char*) const;
+ virtual TQByteArray encodedData (const char*) const;
virtual const char* format (int) const;
%End
diff --git a/sip/tdecore/knotifyclient.sip b/sip/tdecore/knotifyclient.sip
index a5a5adf..d0aeb62 100644
--- a/sip/tdecore/knotifyclient.sip
+++ b/sip/tdecore/knotifyclient.sip
@@ -85,23 +85,23 @@ enum StandardEvent
bool startDaemon ();
%If ( KDE_3_2_0 - )
-int event (const QString&, const QString& = QString ::null );
-int event (KNotifyClient::StandardEvent, const QString& = QString ::null );
+int event (const TQString&, const TQString& = TQString ::null );
+int event (KNotifyClient::StandardEvent, const TQString& = TQString ::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 );
+int userEvent (const TQString& = TQString ::null , int = KNotifyClient ::Default , int = KNotifyClient ::Default , const TQString& = TQString ::null , const TQString& = TQString ::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 );
+int event (int, const TQString&, const TQString& = TQString ::null );
+int event (int, KNotifyClient::StandardEvent, const TQString& = TQString ::null );
+int userEvent (int, const TQString& = TQString ::null , int = KNotifyClient ::Default , int = KNotifyClient ::Default , const TQString& = TQString ::null , const TQString& = TQString ::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);
+void beep (const TQString& = TQString ::null );
+int getPresentation (const TQString&);
+TQString getFile (const TQString&, int);
+int getDefaultPresentation (const TQString&);
+TQString getDefaultFile (const TQString&, int);
KInstance* instance ();
%If ( KDE_3_1_0 - KDE_3_2_0 )
diff --git a/sip/tdecore/kpalette.sip b/sip/tdecore/kpalette.sip
index 8989844..d2e177c 100644
--- a/sip/tdecore/kpalette.sip
+++ b/sip/tdecore/kpalette.sip
@@ -32,14 +32,14 @@ class KPalette
public:
- static QStringList getPaletteList ();
- KPalette (const QString& = QString ::null );
+ static TQStringList getPaletteList ();
+ KPalette (const TQString& = TQString ::null );
KPalette (const KPalette&);
bool save ();
- QString description ();
- void setDescription (const QString&);
- QString name ();
- void setName (const QString&);
+ TQString description ();
+ void setDescription (const TQString&);
+ TQString name ();
+ void setName (const TQString&);
enum Editable
{
@@ -51,13 +51,13 @@ public:
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 );
+ TQColor color (int);
+ int findColor (const TQColor&);
+ TQString colorName (int);
+ TQString colorName (const TQColor&);
+ int addColor (const TQColor&, const TQString& = TQString ::null );
+ int changeColor (int, const TQColor&, const TQString& = TQString ::null );
+ int changeColor (const TQColor&, const TQColor&, const TQString& = TQString ::null );
}; // class KPalette
diff --git a/sip/tdecore/kpixmapprovider.sip b/sip/tdecore/kpixmapprovider.sip
index 5909306..3b2cf8d 100644
--- a/sip/tdecore/kpixmapprovider.sip
+++ b/sip/tdecore/kpixmapprovider.sip
@@ -32,7 +32,7 @@ class KPixmapProvider
public:
- virtual QPixmap pixmapFor (const QString&, int = 0) = 0;
+ virtual TQPixmap pixmapFor (const TQString&, int = 0) = 0;
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdecore/kprocctrl.sip b/sip/tdecore/kprocctrl.sip
index c437dd8..11605ce 100644
--- a/sip/tdecore/kprocctrl.sip
+++ b/sip/tdecore/kprocctrl.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KProcessController : QObject
+class KProcessController : TQObject
{
%TypeHeaderCode
#include <kprocctrl.h>
diff --git a/sip/tdecore/kprocess.sip b/sip/tdecore/kprocess.sip
index 53ab178..c701423 100644
--- a/sip/tdecore/kprocess.sip
+++ b/sip/tdecore/kprocess.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KProcess : QObject
+class KProcess : TQObject
{
%TypeHeaderCode
#include <kprocess.h>
@@ -61,17 +61,17 @@ public:
OwnGroup
};
- KProcess (QObject* /TransferThis/, const char* = 0);
+ KProcess (TQObject* /TransferThis/, const char* = 0);
%End
KProcess ();
- bool setExecutable (const QString&);
+ bool setExecutable (const TQString&);
%If ( KDE_3_1_4 - )
- KProcess& operator << (const QString&);
+ KProcess& operator << (const TQString&);
KProcess& operator << (const char*);
- KProcess& operator << (const QCString&);
- KProcess& operator << (const QStringList&);
+ KProcess& operator << (const TQCString&);
+ KProcess& operator << (const TQStringList&);
%End
void clearArguments ();
@@ -110,15 +110,15 @@ public:
void closeAll ();
%End
- const QValueList<QCString>& args ();
+ const TQValueList<TQCString>& args ();
void setRunPrivileged (bool);
bool runPrivileged () const;
- void setEnvironment (const QString&, const QString&);
- void setWorkingDirectory (const QString&);
+ void setEnvironment (const TQString&, const TQString&);
+ void setWorkingDirectory (const TQString&);
%If ( KDE_3_1_0 - )
void setUseShell (bool, const char* = 0);
- static QString quote (const QString&);
+ static TQString quote (const TQString&);
%End
void detach ();
@@ -256,7 +256,7 @@ class KShellProcess : KProcess
public:
KShellProcess (const char* = 0);
virtual bool start (RunMode = NotifyOnExit , Communication = NoCommunication );
- static QString quote (const QString&);
+ static TQString quote (const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdecore/kprocio.sip b/sip/tdecore/kprocio.sip
index bb99e9a..1c15c2a 100644
--- a/sip/tdecore/kprocio.sip
+++ b/sip/tdecore/kprocio.sip
@@ -32,20 +32,20 @@ class KProcIO : KProcess
public:
- KProcIO (QTextCodec* = 0);
+ KProcIO (TQTextCodec* = 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);
+ bool writeStdin (const TQString&, bool = 1);
+ bool writeStdin (const TQCString&, bool);
+ bool writeStdin (const TQByteArray&);
+ bool fputs (const TQString&, bool = 1);
void closeWhenDone ();
- int readln (QString& /Out/, bool = 1, bool* = 0);
- int fgets (QString&, bool = 0);
+ int readln (TQString& /Out/, bool = 1, bool* = 0);
+ int fgets (TQString&, bool = 0);
void resetAll ();
void ackRead ();
void enableReadSignals (bool);
diff --git a/sip/tdecore/krandomsequence.sip b/sip/tdecore/krandomsequence.sip
index 34474f4..8145866 100644
--- a/sip/tdecore/krandomsequence.sip
+++ b/sip/tdecore/krandomsequence.sip
@@ -38,7 +38,7 @@ public:
double getDouble ();
ulong getLong (ulong);
bool getBool ();
-//ig void randomize (QGList*);
+//ig void randomize (TQGList*);
void modulate (int);
}; // class KRandomSequence
diff --git a/sip/tdecore/krfcdate.sip b/sip/tdecore/krfcdate.sip
index 7628e37..3a7a1ee 100644
--- a/sip/tdecore/krfcdate.sip
+++ b/sip/tdecore/krfcdate.sip
@@ -32,11 +32,11 @@ class KRFCDate
public:
- static time_t parseDate (const QString&);
- static time_t parseDateISO8601 (const QString&);
+ static time_t parseDate (const TQString&);
+ static time_t parseDateISO8601 (const TQString&);
static int localUTCOffset ();
- static QCString rfc2822DateString (time_t, int);
- static QCString rfc2822DateString (time_t);
+ static TQCString rfc2822DateString (time_t, int);
+ static TQCString rfc2822DateString (time_t);
}; // class KRFCDate
diff --git a/sip/tdecore/krootprop.sip b/sip/tdecore/krootprop.sip
index 66d3d72..4f5cd83 100644
--- a/sip/tdecore/krootprop.sip
+++ b/sip/tdecore/krootprop.sip
@@ -32,20 +32,20 @@ class KRootProp
public:
- KRootProp (const QString& = QString ::null );
- void setProp (const QString& = "");
- QString prop () const;
+ KRootProp (const TQString& = TQString ::null );
+ void setProp (const TQString& = "");
+ TQString 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;
+ TQString readEntry (const TQString&, const TQString& = TQString ::null ) const;
+ int readNumEntry (const TQString&, int = 0) const;
+ TQFont readFontEntry (const TQString&, const TQFont* = 0) const;
+ TQColor readColorEntry (const TQString&, const TQColor* = 0) const;
+ TQString writeEntry (const TQString&, const TQString&);
+ TQString writeEntry (const TQString&, int);
+ TQString writeEntry (const TQString&, const TQFont&);
+ TQString writeEntry (const TQString&, const TQColor&);
+ TQString removeEntry (const TQString&);
+ TQStringList listEntries () const;
void sync ();
}; // class KRootProp
diff --git a/sip/tdecore/ksavefile.sip b/sip/tdecore/ksavefile.sip
index 84975c9..f9e917b 100644
--- a/sip/tdecore/ksavefile.sip
+++ b/sip/tdecore/ksavefile.sip
@@ -32,19 +32,19 @@ class KSaveFile
public:
- KSaveFile (const QString&, int = 438);
+ KSaveFile (const TQString&, int = 438);
int status ();
- QString name ();
+ TQString name ();
int handle ();
//ig FILE* fstream ();
- QFile* file ();
- QTextStream* textStream ();
- QDataStream* dataStream ();
+ TQFile* file ();
+ TQTextStream* textStream ();
+ TQDataStream* dataStream ();
void abort ();
bool close ();
%If ( KDE_3_2_0 - )
- static bool backupFile (const QString&, const QString& = QString ::null , const QString& = QString ::fromLatin1 ("~" ));
+ static bool backupFile (const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::fromLatin1 ("~" ));
%End
diff --git a/sip/tdecore/kshell.sip b/sip/tdecore/kshell.sip
index 3285446..befb606 100644
--- a/sip/tdecore/kshell.sip
+++ b/sip/tdecore/kshell.sip
@@ -48,12 +48,12 @@ enum Errors
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)];
+TQStringList splitArgs (const TQString&, int = 0, int* = 0);
+TQString joinArgs (const TQStringList&);
+TQString joinArgsDQ (const TQStringList&);
+TQString joinArgs (SIP_PYLIST) [TQString (const char**, int = -1)];
%MethodCode
-//returns (QString)
+//returns (TQString)
//takes a0 | a Python list of strings
int argc;
char **argv;
@@ -64,13 +64,13 @@ QString joinArgs (SIP_PYLIST) [QString (const char**, int = -1)];
return NULL;
Py_BEGIN_ALLOW_THREADS
- sipRes = new QString (KShell::joinArgs (argv, argc));
+ sipRes = new TQString (KShell::joinArgs (argv, argc));
Py_END_ALLOW_THREADS
%End
-QString tildeExpand (const QString&);
-QString homeDir (const QString&);
+TQString tildeExpand (const TQString&);
+TQString homeDir (const TQString&);
}; // namespace KShell
%End
diff --git a/sip/tdecore/kshortcut.sip b/sip/tdecore/kshortcut.sip
index bfc03c9..9e7c745 100644
--- a/sip/tdecore/kshortcut.sip
+++ b/sip/tdecore/kshortcut.sip
@@ -43,7 +43,7 @@ public:
enum
{
- QtWIN
+ TQtWIN
};
%End
@@ -59,17 +59,17 @@ public:
KKey ();
KKey (int);
- KKey (const QKeySequence&);
- KKey (const QKeyEvent*);
+ KKey (const TQKeySequence&);
+ KKey (const TQKeyEvent*);
KKey (const KKey&);
- KKey (const QString&);
+ KKey (const TQString&);
KKey (uint, uint);
void clear ();
bool init (int);
- bool init (const QKeySequence&);
- bool init (const QKeyEvent*);
+ bool init (const TQKeySequence&);
+ bool init (const TQKeyEvent*);
bool init (const KKey&);
- bool init (const QString&);
+ bool init (const TQString&);
bool init (uint, uint);
bool isNull () const;
uint sym () const;
@@ -82,17 +82,17 @@ public:
bool operator < (const KKey&) const;
%End
- int keyCodeQt () const;
- QString toString () const;
- QString toStringInternal () const;
+ int keyCodeTQt () const;
+ TQString toString () const;
+ TQString toStringInternal () const;
void simplify ();
static KKey& null ();
- static QString modFlagLabel (KKey::ModFlag);
+ static TQString modFlagLabel (KKey::ModFlag);
public:
%If ( - KDE_3_2_0 )
-//ig bool isValidQt () const;
+//ig bool isValidTQt () const;
//ig bool isValidNative () const;
%End
@@ -103,7 +103,7 @@ public:
enum
{
- QtWIN
+ TQtWIN
};
%End
@@ -115,7 +115,7 @@ public:
enum
{
- QtWIN
+ TQtWIN
};
%End
@@ -139,17 +139,17 @@ public:
};
KKeySequence ();
- KKeySequence (const QKeySequence&);
+ KKeySequence (const TQKeySequence&);
KKeySequence (const KKey&);
//ig KKeySequence (const KKeyNative&);
KKeySequence (const KKeySequence&);
- KKeySequence (const QString&);
+ KKeySequence (const TQString&);
void clear ();
- bool init (const QKeySequence&);
+ bool init (const TQKeySequence&);
bool init (const KKey&);
//ig bool init (const KKeyNative&);
bool init (const KKeySequence&);
- bool init (const QString&);
+ bool init (const TQString&);
uint count () const;
const KKey& key (uint) const;
bool isTriggerOnRelease () const;
@@ -164,10 +164,10 @@ public:
bool operator < (const KKeySequence&) const;
%End
- QKeySequence qt () const;
- int keyCodeQt () const;
- QString toString () const;
- QString toStringInternal () const;
+ TQKeySequence qt () const;
+ int keyCodeTQt () const;
+ TQString toString () const;
+ TQString toStringInternal () const;
static KKeySequence& null ();
protected:
@@ -193,27 +193,27 @@ public:
enum
{
- MAX_SEQUENCES
+ MAX_SETQUENCES
};
KShortcut ();
KShortcut (int);
- KShortcut (const QKeySequence&);
+ KShortcut (const TQKeySequence&);
KShortcut (const KKey&);
KShortcut (const KKeySequence&);
KShortcut (const KShortcut&);
KShortcut (const char*);
- KShortcut (const QString&);
+ KShortcut (const TQString&);
void clear ();
bool init (int);
- bool init (const QKeySequence&);
+ bool init (const TQKeySequence&);
bool init (const KKey&);
bool init (const KKeySequence&);
bool init (const KShortcut&);
- bool init (const QString&);
+ bool init (const TQString&);
uint count () const;
const KKeySequence& seq (uint) const;
- int keyCodeQt () const;
+ int keyCodeTQt () const;
bool isNull () const;
int compare (const KShortcut&) const;
@@ -241,11 +241,11 @@ public:
%If ( KDE_3_1_4 - )
-//ig operator QKeySequence () const;
+//ig operator TQKeySequence () const;
%End
- QString toString () const;
- QString toStringInternal (const KShortcut* = 0) const;
+ TQString toString () const;
+ TQString toStringInternal (const KShortcut* = 0) const;
static KShortcut& null ();
protected:
diff --git a/sip/tdecore/kshortcutlist.sip b/sip/tdecore/kshortcutlist.sip
index cdf22c9..ee3c6fc 100644
--- a/sip/tdecore/kshortcutlist.sip
+++ b/sip/tdecore/kshortcutlist.sip
@@ -36,15 +36,15 @@ class KShortcutList
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 TQString name (uint) const = 0;
+ virtual TQString label (uint) const = 0;
+ virtual TQString 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 TQString&) const;
virtual int index (const KKeySequence&) const;
virtual const KInstance* instance () const;
@@ -53,11 +53,11 @@ public:
};
- virtual QVariant getOther (KShortcutList::Other, uint) const = 0;
- virtual bool setOther (KShortcutList::Other, uint, QVariant) = 0;
+ virtual TQVariant getOther (KShortcutList::Other, uint) const = 0;
+ virtual bool setOther (KShortcutList::Other, uint, TQVariant) = 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;
+ virtual bool readSettings (const TQString& = TQString ::null , KConfigBase* = 0);
+ virtual bool writeSettings (const TQString& = TQString ::null , KConfigBase* = 0, bool = 0, bool = 0) const;
protected:
//igx virtual void virtual_hook (int, void*);
@@ -79,16 +79,16 @@ public:
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 TQString name (uint) const;
+ virtual TQString label (uint) const;
+ virtual TQString 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 TQVariant getOther (KShortcutList::Other, uint) const;
+ virtual bool setOther (KShortcutList::Other, uint, TQVariant);
virtual bool save () const;
protected:
@@ -113,15 +113,15 @@ class ShortcutList : KShortcutList
public:
ShortcutList ();
virtual uint count () const;
- virtual QString name (uint) const;
- virtual QString label (uint) const;
- virtual QString whatsThis (uint) const;
+ virtual TQString name (uint) const;
+ virtual TQString label (uint) const;
+ virtual TQString 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 TQVariant getOther (KShortcutList::Other, uint) const;
+ virtual bool setOther (KShortcutList::Other, uint, TQVariant);
virtual bool save () const;
protected:
diff --git a/sip/tdecore/ksimpleconfig.sip b/sip/tdecore/ksimpleconfig.sip
index 17b70a3..20d17b9 100644
--- a/sip/tdecore/ksimpleconfig.sip
+++ b/sip/tdecore/ksimpleconfig.sip
@@ -32,7 +32,7 @@ class KSimpleConfig : KConfig
public:
- KSimpleConfig (const QString&, bool = 0);
+ KSimpleConfig (const TQString&, bool = 0);
%If ( KDE_3_2_0 - )
KSimpleConfig (KConfigBackEnd*, bool = 0);
diff --git a/sip/tdecore/ksock.sip b/sip/tdecore/ksock.sip
index 5cb653e..5178dec 100644
--- a/sip/tdecore/ksock.sip
+++ b/sip/tdecore/ksock.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KSocket : QObject
+class KSocket : TQObject
{
%TypeHeaderCode
#include <ksock.h>
@@ -49,7 +49,7 @@ public slots:
void slotRead (int);
protected:
- bool connect (const QString&, ushort, int = 0);
+ bool connect (const TQString&, ushort, int = 0);
bool connect (const char*);
private:
@@ -58,7 +58,7 @@ private:
}; // class KSocket
-class KServerSocket : QObject
+class KServerSocket : TQObject
{
%TypeHeaderCode
#include <ksock.h>
diff --git a/sip/tdecore/kstartupinfo.sip b/sip/tdecore/kstartupinfo.sip
index 319ee2d..b4e78cc 100644
--- a/sip/tdecore/kstartupinfo.sip
+++ b/sip/tdecore/kstartupinfo.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KStartupInfo : QObject
+class KStartupInfo : TQObject
{
%TypeHeaderCode
#include <kstartupinfo.h>
@@ -40,12 +40,12 @@ public:
static void appStarted ();
%If ( KDE_3_2_0 - )
- static void appStarted (const QCString&);
- static void setNewStartupId (QWidget*, const QCString&);
+ static void appStarted (const TQCString&);
+ static void setNewStartupId (TQWidget*, const TQCString&);
static void silenceStartup (bool);
%If ( KDE_3_3_0 - )
- static QCString createNewStartupId ();
+ static TQCString createNewStartupId ();
%End
%End
@@ -62,7 +62,7 @@ public:
%End
- KStartupInfo (bool, QObject* /TransferThis/ = 0, const char* = 0);
+ KStartupInfo (bool, TQObject* /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&);
@@ -86,8 +86,8 @@ public:
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);
+ static void setWindowStartupId (WId, const TQCString&);
+ static TQCString windowStartupId (WId);
%If ( KDE_3_2_0 - )
static void handleAutoAppStartedSending ();
@@ -100,7 +100,7 @@ signals:
void gotRemoveStartup (const KStartupInfoId&, const KStartupInfoData&);
protected:
- virtual void customEvent (QCustomEvent*);
+ virtual void customEvent (TQCustomEvent*);
}; // class KStartupInfo
@@ -120,8 +120,8 @@ public:
%End
bool none () const;
- void initId (const QCString& = "");
- const QCString& id () const;
+ void initId (const TQCString& = "");
+ const TQCString& id () const;
%If ( KDE_3_3_0 - )
ulong timestamp () const;
@@ -137,7 +137,7 @@ public:
private:
- KStartupInfoId (const QString&);
+ KStartupInfoId (const TQString&);
}; // class KStartupInfoId
@@ -150,31 +150,31 @@ class KStartupInfoData
public:
- void setBin (const QString&);
- const QString& bin () const;
- void setName (const QString&);
- const QString& findName () const;
- const QString& name () const;
+ void setBin (const TQString&);
+ const TQString& bin () const;
+ void setName (const TQString&);
+ const TQString& findName () const;
+ const TQString& name () const;
%If ( KDE_3_2_0 - )
- void setDescription (const QString&);
- const QString& findDescription () const;
- const QString& description () const;
+ void setDescription (const TQString&);
+ const TQString& findDescription () const;
+ const TQString& description () const;
%End
- void setIcon (const QString&);
- const QString& findIcon () const;
- const QString& icon () const;
+ void setIcon (const TQString&);
+ const TQString& findIcon () const;
+ const TQString& icon () const;
void setDesktop (int);
int desktop () const;
- void setWMClass (const QCString&);
- const QCString findWMClass () const;
- const QCString& WMClass () const;
+ void setWMClass (const TQCString&);
+ const TQCString findWMClass () const;
+ const TQCString& WMClass () const;
void addPid (pid_t);
- const QValueList<int>& pids () const;
+ const TQValueList<int>& pids () const;
bool is_pid (pid_t) const;
- void setHostname (const QCString& = QCString ());
- const QCString& hostname () const;
+ void setHostname (const TQCString& = TQCString ());
+ const TQCString& hostname () const;
%If ( KDE_3_1_1 - )
@@ -202,11 +202,11 @@ public:
KStartupInfoData (const KStartupInfoData&);
private:
- KStartupInfoData (const QString&);
+ KStartupInfoData (const TQString&);
}; // class KStartupInfoData
-/*%MappedType QValueList<pid_t>
+/*%MappedType TQValueList<pid_t>
//converts a Python list of long
{
%TypeHeaderCode
@@ -242,7 +242,7 @@ private:
%End
%ConvertToTypeCode
- // Convert a Python list of long to a QValueList<long> on the heap.
+ // Convert a Python list of long to a TQValueList<long> on the heap.
if (sipIsErr == NULL)
return PyList_Check(sipPy);
@@ -254,7 +254,7 @@ private:
return 0;
}
- QValueList<pid_t> *qvl = new QValueList<pid_t>;
+ TQValueList<pid_t> *qvl = new TQValueList<pid_t>;
PyErr_Clear();
diff --git a/sip/tdecore/kstdaccel.sip b/sip/tdecore/kstdaccel.sip
index f0ecb36..c32d1fb 100644
--- a/sip/tdecore/kstdaccel.sip
+++ b/sip/tdecore/kstdaccel.sip
@@ -90,9 +90,9 @@ enum StdAccel
%End
const KShortcut& shortcut (KStdAccel::StdAccel);
-QString name (KStdAccel::StdAccel);
-QString label (KStdAccel::StdAccel);
-QString whatsThis (KStdAccel::StdAccel);
+TQString name (KStdAccel::StdAccel);
+TQString label (KStdAccel::StdAccel);
+TQString whatsThis (KStdAccel::StdAccel);
KStdAccel::StdAccel findStdAccel (const KKeySequence&);
KShortcut shortcutDefault (KStdAccel::StdAccel);
KShortcut shortcutDefault3 (KStdAccel::StdAccel);
@@ -162,11 +162,11 @@ const KShortcut& forwardWord ();
%End
const KShortcut& showMenubar ();
-QString action (KStdAccel::StdAccel);
-QString description (KStdAccel::StdAccel);
+TQString action (KStdAccel::StdAccel);
+TQString description (KStdAccel::StdAccel);
int key (KStdAccel::StdAccel);
int defaultKey (KStdAccel::StdAccel);
-bool isEqual (const QKeyEvent*, int);
+bool isEqual (const TQKeyEvent*, int);
%If ( KDE_3_3_0 - KDE_3_4_0 )
diff --git a/sip/tdecore/kstddirs.sip b/sip/tdecore/kstddirs.sip
index c83819c..72046ec 100644
--- a/sip/tdecore/kstddirs.sip
+++ b/sip/tdecore/kstddirs.sip
@@ -33,27 +33,27 @@ class KStandardDirs
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 addPrefix (const TQString&);
+ bool addResourceType (const char*, const TQString&);
+ bool addResourceDir (const char*, const TQString&);
+ TQString findResource (const char*, const TQString&) const;
+ Q_UINT32 calcResourceHash (const char*, const TQString&, bool) const;
+ TQStringList findDirs (const char*, const TQString&) const;
+ TQString findResourceDir (const char*, const TQString&) const;
+ TQStringList findAllResources (const char*, const TQString& = TQString::null, bool = 0, bool = 0) const;
+ TQStringList findAllResources (const char*, const TQString&, bool, bool, TQStringList&) const;
+ static TQString findExe (const TQString&, const TQString& = TQString::null, bool = 0);
+ static int findAllExe (TQStringList&, const TQString&, const TQString& = TQString::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&);
+ TQStringList resourceDirs (const char*) const;
+ TQStringList allTypes () const;
+ TQString saveLocation (const char*, const TQString& = TQString::null, bool = 1) const;
+ static bool makeDir (const TQString&, int = 493);
+ static TQString kde_default (const char*);
+ TQString kfsstnd_prefixes ();
+ TQString localkdedir () const;
+ static bool exists (const TQString&);
private:
KStandardDirs (const KStandardDirs&);
@@ -65,5 +65,5 @@ private:
#include <kstddirs.h>
%End
-QString locate (const char*, const QString&, const KInstance* = KGlobal::instance());
-QString locateLocal (const char*, const QString&, const KInstance* = KGlobal::instance());
+TQString locate (const char*, const TQString&, const KInstance* = KGlobal::instance());
+TQString locateLocal (const char*, const TQString&, const KInstance* = KGlobal::instance());
diff --git a/sip/tdecore/kstringhandler.sip b/sip/tdecore/kstringhandler.sip
index 3084b52..90cfd11 100644
--- a/sip/tdecore/kstringhandler.sip
+++ b/sip/tdecore/kstringhandler.sip
@@ -32,58 +32,58 @@ class KStringHandler
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);
+ static TQString word (const TQString&, uint);
+ static TQString word (const TQString&, const char*);
+ static TQString insword (const TQString&, const TQString&, uint);
+ static TQString setword (const TQString&, const TQString&, uint);
+ static TQString remrange (const TQString&, const char*);
+ static TQString remword (const TQString&, uint);
+ static TQString remword (const TQString&, const TQString&);
+ static TQString capwords (const TQString&);
+ static TQStringList capwords (const TQStringList&);
+ static TQString reverse (const TQString&);
+ static TQStringList reverse (const TQStringList&);
+ static TQString ljust (const TQString&, uint);
+ static TQString rjust (const TQString&, uint);
+ static TQString center (const TQString&, uint);
+ static TQString lsqueeze (const TQString&, uint = 40);
%If ( KDE_3_2_0 - )
- static QString lEmSqueeze (const QString&, const QFontMetrics&, uint = 30);
- static QString lPixelSqueeze (const QString&, const QFontMetrics&, uint);
+ static TQString lEmSqueeze (const TQString&, const TQFontMetrics&, uint = 30);
+ static TQString lPixelSqueeze (const TQString&, const TQFontMetrics&, uint);
%End
- static QString csqueeze (const QString&, uint = 40);
+ static TQString csqueeze (const TQString&, uint = 40);
%If ( KDE_3_2_0 - )
- static QString cEmSqueeze (const QString&, const QFontMetrics&, uint = 30);
- static QString cPixelSqueeze (const QString&, const QFontMetrics&, uint);
+ static TQString cEmSqueeze (const TQString&, const TQFontMetrics&, uint = 30);
+ static TQString cPixelSqueeze (const TQString&, const TQFontMetrics&, uint);
%End
- static QString rsqueeze (const QString&, uint = 40);
+ static TQString rsqueeze (const TQString&, uint = 40);
%If ( KDE_3_2_0 - )
- static QString rEmSqueeze (const QString&, const QFontMetrics&, uint = 30);
- static QString rPixelSqueeze (const QString&, const QFontMetrics&, uint);
+ static TQString rEmSqueeze (const TQString&, const TQFontMetrics&, uint = 30);
+ static TQString rPixelSqueeze (const TQString&, const TQFontMetrics&, 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);
+ static bool matchFileName (const TQString&, const TQString&);
+//ig static TQStringList perlSplit (const TQString&, const TQString&, uint = 0);
+//ig static TQStringList perlSplit (const TQChar&, const TQString&, uint = 0);
+//ig static TQStringList perlSplit (const TQRegExp&, const TQString&, uint = 0);
%If ( KDE_3_1_0 - )
- static QString tagURLs (const QString&);
+ static TQString tagURLs (const TQString&);
%If ( KDE_3_2_0 - )
- static QString obscure (const QString&);
+ static TQString obscure (const TQString&);
static bool isUtf8 (const char*);
- static QString from8Bit (const char*);
+ static TQString from8Bit (const char*);
%End
%End
- static bool matchFilename (const QString&, const QString&);
+ static bool matchFilename (const TQString&, const TQString&);
}; // class KStringHandler
diff --git a/sip/tdecore/ktempdir.sip b/sip/tdecore/ktempdir.sip
index 26da116..c2cca3f 100644
--- a/sip/tdecore/ktempdir.sip
+++ b/sip/tdecore/ktempdir.sip
@@ -35,21 +35,21 @@ class KTempDir
public:
- KTempDir (QString = QString ::null , int = 448);
+ KTempDir (TQString = TQString ::null , int = 448);
void setAutoDelete (bool);
int status () const;
- QString name () const;
- QDir* qDir ();
+ TQString name () const;
+ TQDir* qDir ();
void unlink ();
bool existing () const;
%If ( KDE_3_5_2 - )
- static bool removeDir (const QString&);
+ static bool removeDir (const TQString&);
%End
protected:
- bool create (const QString&, int);
+ bool create (const TQString&, int);
void setError (int);
}; // class KTempDir
diff --git a/sip/tdecore/ktempfile.sip b/sip/tdecore/ktempfile.sip
index 108b292..93aba49 100644
--- a/sip/tdecore/ktempfile.sip
+++ b/sip/tdecore/ktempfile.sip
@@ -32,15 +32,15 @@ class KTempFile
public:
- KTempFile (QString = QString ::null , QString = QString ::null , int = 384);
+ KTempFile (TQString = TQString ::null , TQString = TQString ::null , int = 384);
void setAutoDelete (bool);
int status ();
- QString name ();
+ TQString name ();
int handle ();
//ig FILE* fstream ();
- QTextStream* textStream ();
- QDataStream* dataStream ();
- QFile* file ();
+ TQTextStream* textStream ();
+ TQDataStream* dataStream ();
+ TQFile* file ();
void unlink ();
%If ( KDE_3_3_0 - )
@@ -51,7 +51,7 @@ public:
protected:
KTempFile (bool);
- bool create (const QString&, const QString&, int);
+ bool create (const TQString&, const TQString&, int);
void setError (int);
}; // class KTempFile
diff --git a/sip/tdecore/ktimezones.sip b/sip/tdecore/ktimezones.sip
index dc31c4f..fb92fdb 100644
--- a/sip/tdecore/ktimezones.sip
+++ b/sip/tdecore/ktimezones.sip
@@ -34,9 +34,9 @@ class KTimezoneSource : KShared
public:
- KTimezoneSource (const QString&);
- virtual QString db ();
- virtual bool parse (const QString&, KTimezoneDetails&) const;
+ KTimezoneSource (const TQString&);
+ virtual TQString db ();
+ virtual bool parse (const TQString&, KTimezoneDetails&) const;
}; // class KTimezoneSource
@@ -56,15 +56,15 @@ public:
static const float UNKNOWN;
static bool isValidLatitude (float);
static bool isValidLongitude (float);
- KTimezone (KSharedPtr<KTimezoneSource>, const QString&, const QString& = QString (), float = KTimezone ::UNKNOWN , float = KTimezone ::UNKNOWN , const QString& = QString ());
- QString name () const;
- QString countryCode () const;
+ KTimezone (KSharedPtr<KTimezoneSource>, const TQString&, const TQString& = TQString (), float = KTimezone ::UNKNOWN , float = KTimezone ::UNKNOWN , const TQString& = TQString ());
+ TQString name () const;
+ TQString 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;
+ int offset (TQt::TimeSpec = TQt ::UTC ) const;
+ int offset (const TQDateTime&) const;
+ TQDateTime convert (const KTimezone*, const TQDateTime&) const;
+ TQString comment () const;
bool parse (KTimezoneDetails&) const;
private:
@@ -97,7 +97,7 @@ public:
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 gotAbbreviation (int, const TQString&);
virtual void gotLeapAdjustment (int, uint, uint);
virtual void gotIsStandard (int, bool);
virtual void gotIsUTC (int, bool);
@@ -119,8 +119,8 @@ class KTimezones
public:
KTimezones ();
const KTimezone* local ();
- const KTimezone* zone (const QString&);
- typedef QMap<QString,KTimezone*> ZoneMap;
+ const KTimezone* zone (const TQString&);
+ typedef TQMap<TQString,KTimezone*> ZoneMap;
const KTimezones::ZoneMap allZones ();
void add (KTimezone*);
@@ -180,7 +180,7 @@ private:
%If (KDE_3_5_0 - )
%MappedType KTimezones::ZoneMap
-//converts a Python dict of QString:KTimezone
+//converts a Python dict of TQString:KTimezone
{
%TypeHeaderCode
#include <qmap.h>
@@ -203,16 +203,16 @@ private:
// Get it.
- const QMap<QString, KTimezone*> cppmap = *sipCpp;
- QMap<QString, KTimezone*>::ConstIterator it;
+ const TQMap<TQString, KTimezone*> cppmap = *sipCpp;
+ TQMap<TQString, KTimezone*>::ConstIterator it;
for (it = cppmap.begin (); it != cppmap.end (); ++it)
{
- QString acpp = it.key ();
+ TQString acpp = it.key ();
KTimezone *bcpp = it.data ();
PyObject *ainst;
PyObject *binst = NULL;
- if (((ainst = sipConvertFromNewType(new QString(acpp), sipType_QString, sipTransferObj)) == NULL)
+ if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_QString, sipTransferObj)) == NULL)
|| ((binst = sipConvertFromType(bcpp, sipType_KTimezone, sipTransferObj)) == NULL)
|| (PyDict_SetItem (dict, ainst, binst) < 0))
{
@@ -228,23 +228,23 @@ private:
%ConvertToTypeCode
- // Convert a Python dictionary to a QMap on the heap.
+ // Convert a Python dictionary to a TQMap on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QMap<QString, KTimezone*> *cppmap = new QMap<QString, KTimezone*>;
+ TQMap<TQString, KTimezone*> *cppmap = new TQMap<TQString, KTimezone*>;
PyObject *aelem, *belem;
SIP_SSIZE_T pos = 0;
- QString *acpp;
+ TQString *acpp;
KTimezone *bcpp;
while (PyDict_Next(sipPy, &pos, &aelem, &belem))
{
int iserr = 0, acpp_state;
- acpp = (QString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
+ acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
bcpp = (KTimezone *)sipForceConvertToType(belem, sipType_KTimezone, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
diff --git a/sip/tdecore/kuniqueapplication.sip b/sip/tdecore/kuniqueapplication.sip
index a15e8ad..0bc5476 100644
--- a/sip/tdecore/kuniqueapplication.sip
+++ b/sip/tdecore/kuniqueapplication.sip
@@ -35,12 +35,12 @@ public:
KUniqueApplication (bool, bool, bool);
%If ( KDE_3_3_0 - )
-//ig KUniqueApplication (Display*, Qt::HANDLE = 0, Qt::HANDLE = 0, bool = 1, bool = 0);
+//ig KUniqueApplication (Display*, TQt::HANDLE = 0, TQt::HANDLE = 0, bool = 1, bool = 0);
%End
static void addCmdLineOptions ();
static bool start ();
- bool process (const QCString&, const QByteArray&, QCString&, QByteArray&);
+ bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
virtual int newInstance ();
%If ( KDE_3_3_0 - )
diff --git a/sip/tdecore/kurl.sip b/sip/tdecore/kurl.sip
index 7acf594..495f3f4 100644
--- a/sip/tdecore/kurl.sip
+++ b/sip/tdecore/kurl.sip
@@ -54,59 +54,59 @@ public:
%End
KURL ();
- KURL (const QString&, int = 0);
+ KURL (const TQString&, int = 0);
KURL (const char*, int = 0);
- KURL (const QCString&, int = 0);
+ KURL (const TQCString&, int = 0);
KURL (const KURL&);
- KURL (const QUrl&);
- KURL (const KURL&, const QString&, int = 0);
- QString protocol () const;
- void setProtocol (const QString&);
+ KURL (const TQUrl&);
+ KURL (const KURL&, const TQString&, int = 0);
+ TQString protocol () const;
+ void setProtocol (const TQString&);
%If ( KDE_3_2_0 - )
int uriMode () const;
%End
- QString user () const;
- void setUser (const QString&);
+ TQString user () const;
+ void setUser (const TQString&);
bool hasUser () const;
- QString pass () /PyName=pass_/;
- void setPass (const QString&);
+ TQString pass () /PyName=pass_/;
+ void setPass (const TQString&);
bool hasPass () const;
- QString host () const;
- void setHost (const QString&);
+ TQString host () const;
+ void setHost (const TQString&);
bool hasHost () const;
ushort port () const;
void setPort (ushort);
- QString path () const;
- QString path (int) const;
- void setPath (const QString&);
+ TQString path () const;
+ TQString path (int) const;
+ void setPath (const TQString&);
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&);
+ void setEncodedPathAndQuery (const TQString&, int = 0);
+ void setEncodedPath (const TQString&, int = 0);
+ TQString encodedPathAndQuery (int = 0, bool = 0, int = 0) const;
+ void setQuery (const TQString&, int = 0);
+ TQString query () const;
+ TQString ref () const;
+ void setRef (const TQString&);
bool hasRef () const;
- QString htmlRef () const;
- QString encodedHtmlRef () const;
- void setHTMLRef (const QString&);
+ TQString htmlRef () const;
+ TQString encodedHtmlRef () const;
+ void setHTMLRef (const TQString&);
bool hasHTMLRef () const;
bool isValid () const;
bool isMalformed () const;
bool isLocalFile () const;
- void setFileEncoding (const QString&);
- QString fileEncoding () const;
+ void setFileEncoding (const TQString&);
+ TQString fileEncoding () const;
bool hasSubURL () const;
- void addPath (const QString&);
- QString queryItem (const QString&) const;
+ void addPath (const TQString&);
+ TQString queryItem (const TQString&) const;
%If ( KDE_3_2_0 - )
- QString queryItem (const QString&, int) const;
+ TQString queryItem (const TQString&, int) const;
%End
@@ -117,36 +117,36 @@ public:
CaseInsensitiveKeys
};
- QMap<QString,QString> queryItems (int = 0) const;
+ TQMap<TQString,TQString> queryItems (int = 0) const;
%If ( KDE_3_2_0 - )
- QMap<QString,QString> queryItems (int, int) const;
+ TQMap<TQString,TQString> queryItems (int, int) const;
%End
- void addQueryItem (const QString&, const QString&, int = 0);
- void removeQueryItem (const QString&);
+ void addQueryItem (const TQString&, const TQString&, int = 0);
+ void removeQueryItem (const TQString&);
%End
- void setFileName (const QString&);
- QString fileName (bool = 1) const;
- QString directory (bool = 1, bool = 1) const;
+ void setFileName (const TQString&);
+ TQString fileName (bool = 1) const;
+ TQString directory (bool = 1, bool = 1) const;
%If ( KDE_3_2_0 - )
- void setDirectory (const QString&);
+ void setDirectory (const TQString&);
%End
- bool cd (const QString&);
- QString url (int = 0, int = 0) const;
- QString prettyURL (int = 0) const;
- QString prettyURL (int, KURL::AdjustementFlags) const;
+ bool cd (const TQString&);
+ TQString url (int = 0, int = 0) const;
+ TQString prettyURL (int = 0) const;
+ TQString prettyURL (int, KURL::AdjustementFlags) const;
%If ( KDE_3_4_0 - )
- QString pathOrURL () const;
+ TQString pathOrURL () const;
%End
%If ( KDE_3_0_1 - )
- QString htmlURL () const;
+ TQString htmlURL () const;
%End
bool isEmpty () const;
@@ -159,9 +159,9 @@ public:
%If ( KDE_3_1_4 - )
bool operator == (const KURL&) const;
- bool operator == (const QString&) const;
+ bool operator == (const TQString&) const;
bool operator != (const KURL&) const;
- bool operator != (const QString&) const;
+ bool operator != (const TQString&) const;
%End
bool cmp (const KURL&, bool = 0) const;
@@ -171,37 +171,37 @@ public:
%End
bool isParentOf (const KURL&) const;
- static KURL::List split (const QString&);
+ static KURL::List split (const TQString&);
static KURL::List split (const KURL&);
static KURL join (const KURL::List&);
%If ( KDE_3_1_0 - )
- static KURL fromPathOrURL (const QString&);
+ static KURL fromPathOrURL (const TQString&);
%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&);
+ static TQString encode_string (const TQString&, int = 0);
+ static TQString encode_string_no_slash (const TQString&, int = 0);
+ static TQString decode_string (const TQString&, int = 0);
+ static bool isRelativeURL (const TQString&);
%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&);
+ static TQString relativeURL (const KURL&, const KURL&, int = 0);
+ static TQString relativePath (const TQString&, const TQString&, bool* = 0);
+ static KURL::URIMode uriModeForProtocol (const TQString&);
%End
- QString filename (bool = 1) const;
+ TQString 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);
+ void parseURL (const TQString&, int = 0);
+ void parseRawURI (const TQString&, int = 0);
+ void parseMailto (const TQString&, int = 0);
%End
- void parse (const QString&, int = 0);
+ void parse (const TQString&, int = 0);
public:
//force
@@ -211,8 +211,8 @@ public:
public:
List ();
- List (const QStringList&);
- QStringList toStringList () const;
+ List (const TQStringList&);
+ TQStringList toStringList () const;
bool isEmpty () const;
void append (const KURL&);
void prepend (const KURL&);
@@ -382,7 +382,7 @@ public:
//returns (bool)
//takes a0 | (KURL)
- QString s = a0->url ();
+ TQString s = a0->url ();
sipRes = 0;
KURL::List::Iterator it;
for (it = sipCpp->begin (); (it != sipCpp->end ()) && (sipRes == 0); it++)
@@ -399,10 +399,10 @@ public:
}; // class KURL
-bool urlcmp (const QString&, const QString&);
-bool urlcmp (const QString&, const QString&, bool, bool);
+bool urlcmp (const TQString&, const TQString&);
+bool urlcmp (const TQString&, const TQString&, bool, bool);
%If ( KDE_3_1_4 - )
-//igx QDataStream& operator << (QDataStream&, const KURL&);
-//igx QDataStream& operator >> (QDataStream&, KURL&);
+//igx TQDataStream& operator << (TQDataStream&, const KURL&);
+//igx TQDataStream& operator >> (TQDataStream&, KURL&);
%End
diff --git a/sip/tdecore/kurldrag.sip b/sip/tdecore/kurldrag.sip
index 11b971e..8ff7897 100644
--- a/sip/tdecore/kurldrag.sip
+++ b/sip/tdecore/kurldrag.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_1_4 - )
-class KURLDrag : QUriDrag
+class KURLDrag : TQUriDrag
{
%TypeHeaderCode
#include <kurldrag.h>
@@ -34,39 +34,39 @@ class KURLDrag : QUriDrag
public:
- KURLDrag (const KURL::List&, QWidget*, const char*);
- KURLDrag (const KURL::List&, const QMap<QString,QString>&, QWidget*, const char*);
+ KURLDrag (const KURL::List&, TQWidget*, const char*);
+ KURLDrag (const KURL::List&, const TQMap<TQString,TQString>&, TQWidget*, 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<QString,QString>&, QWidget* = 0, const char* = 0);
- QMap<QString,QString>& metaData ();
- static bool decode (const QMimeSource*, KURL::List&);
- static bool decode (const QMimeSource*, KURL::List&, QMap<QString,QString>&);
+ static KURLDrag* newDrag (const KURL::List&, TQWidget* = 0, const char* = 0);
+ static KURLDrag* newDrag (const KURL::List&, const TQMap<TQString,TQString>&, TQWidget* = 0, const char* = 0);
+ TQMap<TQString,TQString>& metaData ();
+ static bool decode (const TQMimeSource*, KURL::List&);
+ static bool decode (const TQMimeSource*, KURL::List&, TQMap<TQString,TQString>&);
%If ( KDE_3_2_0 - )
- static QString urlToString (const KURL&);
- static KURL stringToUrl (const QCString&);
+ static TQString urlToString (const KURL&);
+ static KURL stringToUrl (const TQCString&);
%If ( KDE_3_5_0 - )
virtual const char* format (int) const;
- virtual QByteArray encodedData (const char*) const;
+ virtual TQByteArray encodedData (const char*) const;
%End
%End
protected:
- KURLDrag (const QStrList&, const QMap<QString,QString>&, QWidget*, const char*);
+ KURLDrag (const TQStrList&, const TQMap<TQString,TQString>&, TQWidget*, const char*);
protected:
%If ( - KDE_3_5_0 )
virtual const char* format (int) const;
- virtual QByteArray encodedData (const char*) const;
+ virtual TQByteArray encodedData (const char*) const;
%End
diff --git a/sip/tdecore/kuser.sip b/sip/tdecore/kuser.sip
index 1ff5db9..e16a93e 100644
--- a/sip/tdecore/kuser.sip
+++ b/sip/tdecore/kuser.sip
@@ -44,7 +44,7 @@ public:
KUser (KUser::UIDMode = UseEffectiveUID );
KUser (long);
- KUser (const QString&);
+ KUser (const TQString&);
KUser (const char*);
//ig KUser (passwd*);
bool operator == (const KUser&) const;
@@ -53,13 +53,13 @@ public:
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;
+ TQString loginName () const;
+ TQString fullName () const;
+ TQString roomNumber () const;
+ TQString workPhone () const;
+ TQString homePhone () const;
+ TQString homeDir () const;
+ TQString shell () const;
%If ( - KDE_3_2_1 )
diff --git a/sip/tdecore/kxmessages.sip b/sip/tdecore/kxmessages.sip
index 68fa9bf..1ab38e4 100644
--- a/sip/tdecore/kxmessages.sip
+++ b/sip/tdecore/kxmessages.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KXMessages : QWidget
+class KXMessages : TQWidget
{
%TypeHeaderCode
#include <qwidget.h>
@@ -32,14 +32,14 @@ class KXMessages : QWidget
%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&);
+ KXMessages (const char* = 0, TQWidget*/TransferThis/ = 0);
+ void sendMessage (WId, const char*, const TQString&);
+ void broadcastMessage (const char*, const TQString&);
+//ig static bool sendMessageX (Display*, WId, const char*, const TQString&);
+//ig static bool broadcastMessageX (Display*, const char*, const TQString&);
signals:
- void gotMessage (const QString&);
+ void gotMessage (const TQString&);
protected:
//ig virtual bool x11Event (XEvent*);
@@ -47,7 +47,7 @@ protected:
protected:
%If ( - KDE_3_0_1 )
-//ig static void send_message_internal (WId, const QString&, long, Display*, Atom, Window);
+//ig static void send_message_internal (WId, const TQString&, long, Display*, Atom, Window);
%End
diff --git a/sip/tdecore/twin.sip b/sip/tdecore/twin.sip
index 2e70b1e..45e6b54 100644
--- a/sip/tdecore/twin.sip
+++ b/sip/tdecore/twin.sip
@@ -73,26 +73,26 @@ public:
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;
+ TQString visibleName () const;
+ TQString visibleNameWithState () const;
+ TQString name () const;
+ TQString visibleIconName () const;
+ TQString visibleIconNameWithState () const;
+ TQString iconName () const;
bool isOnCurrentDesktop () const;
bool isOnDesktop (int) const;
bool onAllDesktops () const;
int desktop () const;
- QRect geometry () const;
- QRect frameGeometry () const;
+ TQRect geometry () const;
+ TQRect 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;
+ TQCString windowClassClass () const;
+ TQCString windowClassName () const;
+ TQCString windowRole () const;
+ TQCString clientMachine () const;
%End
bool actionSupported (NET::Action) const;
@@ -111,7 +111,7 @@ public:
static WId groupLeader (WId);
%End
- static QPixmap icon (WId, int = -1, int = -1, bool = 0);
+ static TQPixmap icon (WId, int = -1, int = -1, bool = 0);
%If ( KDE_3_2_0 - )
@@ -123,10 +123,10 @@ public:
XApp
};
- static QPixmap icon (WId, int, int, bool, int);
+ static TQPixmap icon (WId, int, int, bool, int);
%End
- static void setIcons (WId, const QPixmap&, const QPixmap&);
+ static void setIcons (WId, const TQPixmap&, const TQPixmap&);
static void setType (WId, NET::WindowType);
static void setState (WId, ulong);
static void clearState (WId, ulong);
@@ -149,7 +149,7 @@ public:
static void lowerWindow (WId);
static bool icccmCompliantMappingState ();
static bool allowedActionsSupported ();
- static QString readNameProperty (WId, ulong);
+ static TQString readNameProperty (WId, ulong);
%End
@@ -168,14 +168,14 @@ public:
NET::MappingState mappingState;
NETStrut strut;
NET::WindowType windowType;
- QString visibleName;
- QString name;
+ TQString visibleName;
+ TQString name;
int desktop;
bool onAllDesktops;
pid_t pid;
- QRect geometry;
- QRect frameGeometry;
- QString visibleNameWithState () const;
+ TQRect geometry;
+ TQRect frameGeometry;
+ TQString visibleNameWithState () const;
}; // class Info
diff --git a/sip/tdecore/twinmodule.sip b/sip/tdecore/twinmodule.sip
index 4bca087..ba80592 100644
--- a/sip/tdecore/twinmodule.sip
+++ b/sip/tdecore/twinmodule.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KWinModule : QObject
+class KWinModule : TQObject
{
%TypeHeaderCode
#include <twinmodule.h>
@@ -42,22 +42,22 @@ public:
INFO_ALL
};
- KWinModule (QObject* /TransferThis/, int);
+ KWinModule (TQObject* /TransferThis/, int);
%End
- KWinModule (QObject* /TransferThis/ = 0);
- const QValueList<WId>& windows () const;
- const QValueList<WId>& stackingOrder () const;
+ KWinModule (TQObject* /TransferThis/ = 0);
+ const TQValueList<WId>& windows () const;
+ const TQValueList<WId>& stackingOrder () const;
bool hasWId (WId) const;
- const QValueList<WId>& systemTrayWindows () const;
+ const TQValueList<WId>& systemTrayWindows () const;
int currentDesktop () const;
int numberOfDesktops () const;
WId activeWindow () const;
- QRect workArea (int = -1) const;
- QRect workArea (const QValueList<WId>&, int = -1) const;
- QString desktopName (int) const;
- void setDesktopName (int, const QString&);
- void doNotManage (const QString&);
+ TQRect workArea (int = -1) const;
+ TQRect workArea (const TQValueList<WId>&, int = -1) const;
+ TQString desktopName (int) const;
+ void setDesktopName (int, const TQString&);
+ void doNotManage (const TQString&);
signals:
void currentDesktopChanged (int);
@@ -90,7 +90,7 @@ protected:
-%MappedType QValueList<WId>
+%MappedType TQValueList<WId>
//converts a Python list of WId
{
%TypeHeaderCode
@@ -107,10 +107,10 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<WId> *cpplist = (QValueList<WId> *)sipCpp;
+ TQValueList<WId> *cpplist = (TQValueList<WId> *)sipCpp;
// Get it.
- QValueList<WId>::Iterator it;
+ TQValueList<WId>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
WId cpp = *it;
@@ -129,7 +129,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<WId> *cpplist = new QValueList<WId>;
+ TQValueList<WId> *cpplist = new TQValueList<WId>;
PyObject *elem;
WId cpp;
diff --git a/sip/tdefx/kdrawutil.sip b/sip/tdefx/kdrawutil.sip
index b6abad9..1751810 100644
--- a/sip/tdefx/kdrawutil.sip
+++ b/sip/tdefx/kdrawutil.sip
@@ -27,13 +27,13 @@
#include <kdrawutil.h>
%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);
+void kDrawNextButton (TQPainter*, const TQRect&, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+void kDrawNextButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+void kDrawBeButton (TQPainter*, TQRect&, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+void kDrawBeButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+void kDrawRoundButton (TQPainter*, const TQRect&, const TQColorGroup&, bool = 0);
+void kDrawRoundButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0);
+void kRoundMaskRegion (TQRegion&, int, int, int, int);
+void kDrawRoundMask (TQPainter*, int, int, int, int, bool = 0);
+void kColorBitmaps (TQPainter*, const TQColorGroup&, int, int, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0);
+void kColorBitmaps (TQPainter*, const TQColorGroup&, 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/sip/tdefx/kimageeffect.sip b/sip/tdefx/kimageeffect.sip
index 6e332f6..9585e8f 100644
--- a/sip/tdefx/kimageeffect.sip
+++ b/sip/tdefx/kimageeffect.sip
@@ -108,20 +108,20 @@ public:
%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&);
+ static TQImage gradient (const TQSize&, const TQColor&, const TQColor&, KImageEffect::GradientType, int = 3);
+ static TQImage unbalancedGradient (const TQSize&, const TQColor&, const TQColor&, KImageEffect::GradientType, int = 100, int = 100, int = 3);
+ static TQImage& blend (const TQColor&, TQImage&, float);
+ static TQImage& blend (TQImage&, TQImage&, float);
+ static TQImage& blend (TQImage&, float, const TQColor&, KImageEffect::GradientType, bool = 0);
+ static TQImage& blend (TQImage&, TQImage&, KImageEffect::GradientType, int = 100, int = 100);
+ static TQImage& blend (TQImage&, TQImage&, TQImage&, KImageEffect::RGBComponent);
+ static bool blend (const TQImage&, const TQImage&, TQImage&);
+ static bool blend (int& /In, Out/, int& /In, Out/, const TQImage&, const TQImage&, TQImage&);
+ static bool blendOnLower (int, int, const TQImage&, const TQImage&);
%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);
+ static void blendOnLower (const TQImage&, const TQPoint&, TQImage&, const TQRect&);
+ static void blendOnLower (const TQImage&, const TQPoint&, TQImage&, const TQRect&, float);
enum Disposition
{
@@ -135,69 +135,69 @@ public:
CenteredAutoFit
};
- static QRect computeDestinationRect (const QSize&, KImageEffect::Disposition, QImage&);
- static void blendOnLower (QImage&, QImage&, KImageEffect::Disposition, float);
+ static TQRect computeDestinationRect (const TQSize&, KImageEffect::Disposition, TQImage&);
+ static void blendOnLower (TQImage&, TQImage&, 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);
+ static TQImage& channelIntensity (TQImage&, float, KImageEffect::RGBComponent);
+ static TQImage& fade (TQImage&, float, const TQColor&);
+ static TQImage& flatten (TQImage&, const TQColor&, const TQColor&, int = 0);
+ static TQImage& hash (TQImage&, KImageEffect::Lighting = NorthLite , uint = 0);
+ static TQImage& intensity (TQImage&, float);
+ static TQImage& modulate (TQImage&, TQImage&, bool, KImageEffect::ModulationType, int, KImageEffect::RGBComponent);
+ static TQImage& toGray (TQImage&, bool = 0);
+ static TQImage& desaturate (TQImage&, float = 0.3);
+ static TQImage& contrast (TQImage&, int);
+//ig static TQImage& dither (TQImage&, const TQColor*, int);
+ static TQImage& selectedImage (TQImage&, const TQColor&);
+ static void contrastHSV (TQImage&, bool = 1);
+ static void normalize (TQImage&);
+ static void equalize (TQImage&);
+ static void threshold (TQImage&, uint = 128);
+ static void solarize (TQImage&, double = 50.0);
%If ( KDE_3_2_0 - )
- static QImage emboss (QImage&, double, double);
+ static TQImage emboss (TQImage&, double, double);
%End
- static QImage emboss (QImage&);
- static QImage despeckle (QImage&);
+ static TQImage emboss (TQImage&);
+ static TQImage despeckle (TQImage&);
%If ( KDE_3_2_0 - )
- static QImage charcoal (QImage&, double, double);
+ static TQImage charcoal (TQImage&, 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 );
+ static TQImage charcoal (TQImage&, double = 50.0);
+ static TQImage rotate (TQImage&, KImageEffect::RotateDirection);
+ static TQImage sample (TQImage&, int, int);
+ static TQImage addNoise (TQImage&, KImageEffect::NoiseType = GaussianNoise );
%If ( KDE_3_2_0 - )
- static QImage blur (QImage&, double, double);
+ static TQImage blur (TQImage&, 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);
+ static TQImage blur (TQImage&, double = 50.0);
+ static TQImage edge (TQImage&, double = 50.0);
+ static TQImage implode (TQImage&, double = 30.0, uint = -1);
%If ( KDE_3_2_0 - )
- static QImage oilPaintConvolve (QImage&, double);
+ static TQImage oilPaintConvolve (TQImage&, double);
%End
- static QImage oilPaint (QImage&, int = 3);
+ static TQImage oilPaint (TQImage&, int = 3);
%If ( KDE_3_2_0 - )
- static QImage sharpen (QImage&, double, double);
+ static TQImage sharpen (TQImage&, 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);
+ static TQImage sharpen (TQImage&, double = 30.0);
+ static TQImage spread (TQImage&, uint = 3);
+ static TQImage shade (TQImage&, bool = 1, double = 30.0, double = 30.0);
+ static TQImage swirl (TQImage&, double = 50.0, uint = -1);
+ static TQImage wave (TQImage&, 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);
+ static TQImage bumpmap (TQImage&, TQImage&, double, double, int, int, int, int, int, bool, bool, KImageEffect::BumpmapType, bool);
%End
diff --git a/sip/tdefx/kpixmap.sip b/sip/tdefx/kpixmap.sip
index efb93dd..968529a 100644
--- a/sip/tdefx/kpixmap.sip
+++ b/sip/tdefx/kpixmap.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPixmap : QPixmap
+class KPixmap : TQPixmap
{
%TypeHeaderCode
#include <qpaintdevice.h>
@@ -54,12 +54,12 @@ public:
};
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&);
+ KPixmap (const TQPixmap&);
+ bool convertFromImage (const TQImage&, int);
+ bool convertFromImage (const TQImage&, ColorMode = WebColor );
+ bool load (const TQString&, const char*, int);
+ bool load (const TQString&, const char* = 0, ColorMode = WebColor );
+ bool checkColorTable (const TQImage&);
}; // class KPixmap
diff --git a/sip/tdefx/kpixmapeffect.sip b/sip/tdefx/kpixmapeffect.sip
index 088e313..ace6719 100644
--- a/sip/tdefx/kpixmapeffect.sip
+++ b/sip/tdefx/kpixmapeffect.sip
@@ -66,20 +66,20 @@ public:
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& gradient (KPixmap&, const TQColor&, const TQColor&, KPixmapEffect::GradientType, int = 3);
+ static KPixmap& unbalancedGradient (KPixmap&, const TQColor&, const TQColor&, KPixmapEffect::GradientType, int = 100, int = 100, int = 3);
+ static KPixmap createTiled (const KPixmap&, TQSize);
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& blend (KPixmap&, float, const TQColor&, 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 pattern (const KPixmap&, TQSize, const TQColor&, const TQColor&, int = 8);
+ static KPixmap& fade (KPixmap&, double, const TQColor&);
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&);
+ static KPixmap& dither (KPixmap&, const TQColor*, int);
+ static KPixmap selectedPixmap (const KPixmap&, const TQColor&);
}; // class KPixmapEffect
diff --git a/sip/tdefx/kpixmapsplitter.sip b/sip/tdefx/kpixmapsplitter.sip
index 7ff49b3..1eb2bd0 100644
--- a/sip/tdefx/kpixmapsplitter.sip
+++ b/sip/tdefx/kpixmapsplitter.sip
@@ -33,14 +33,14 @@ class KPixmapSplitter
public:
KPixmapSplitter ();
- void setPixmap (const QPixmap&);
- const QPixmap& pixmap () const;
- void setItemSize (const QSize&);
- QSize itemSize () const;
+ void setPixmap (const TQPixmap&);
+ const TQPixmap& pixmap () const;
+ void setItemSize (const TQSize&);
+ TQSize itemSize () const;
void setVSpacing (int);
void setHSpacing (int);
- QRect coordinates (int);
- QRect coordinates (const QChar&);
+ TQRect coordinates (int);
+ TQRect coordinates (const TQChar&);
}; // class KPixmapSplitter
diff --git a/sip/tdefx/kstyle.sip b/sip/tdefx/kstyle.sip
index b559f6a..02e3fe3 100644
--- a/sip/tdefx/kstyle.sip
+++ b/sip/tdefx/kstyle.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KStyle : QCommonStyle
+class KStyle : TQCommonStyle
{
%TypeHeaderCode
#include <kstyle.h>
@@ -53,12 +53,12 @@ public:
KStyle (KStyle::KStyleFlags = KStyle ::Default , KStyle::KStyleScrollBarType = KStyle ::WindowsStyleScrollBar );
%If ( KDE_3_1_0 - )
- static QString defaultStyle ();
+ static TQString defaultStyle ();
%End
void setScrollBarType (KStyle::KStyleScrollBarType);
KStyle::KStyleFlags styleFlags () const;
- virtual void renderMenuBlendPixmap (KPixmap&, const QColorGroup&, const QPopupMenu*) const;
+ virtual void renderMenuBlendPixmap (KPixmap&, const TQColorGroup&, const TQPopupMenu*) const;
enum KStylePrimitive
{
@@ -71,7 +71,7 @@ public:
KPE_ListViewBranch
};
- virtual void drawKStylePrimitive (KStyle::KStylePrimitive, QPainter*, const QWidget*, const QRect&, const QColorGroup&, SFlags = Style_Default , const QStyleOption& = QStyleOption (QStyleOption ::Default )) const;
+ virtual void drawKStylePrimitive (KStyle::KStylePrimitive, TQPainter*, const TQWidget*, const TQRect&, const TQColorGroup&, SFlags = Style_Default , const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
enum KStylePixelMetric
{
@@ -86,22 +86,22 @@ public:
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;
+ int kPixelMetric (KStyle::KStylePixelMetric, const TQWidget* = 0) const;
+ void polish (TQWidget*);
+ void unPolish (TQWidget*);
+ void polishPopupMenu (TQPopupMenu*);
+ void drawPrimitive (PrimitiveElement, TQPainter*, const TQRect&, const TQColorGroup&, SFlags = Style_Default , const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ void drawControl (ControlElement, TQPainter*, const TQWidget*, const TQRect&, const TQColorGroup&, SFlags = Style_Default , const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ void drawComplexControl (ComplexControl, TQPainter*, const TQWidget*, const TQRect&, const TQColorGroup&, SFlags = Style_Default , SCFlags = SC_All , SCFlags = SC_None , const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ SubControl querySubControl (ComplexControl, const TQWidget*, const TQPoint&, const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ TQRect querySubControlMetrics (ComplexControl, const TQWidget*, SubControl, const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ int pixelMetric (PixelMetric, const TQWidget* = 0) const;
+ TQRect subRect (SubRect, const TQWidget*) const;
+ TQPixmap stylePixmap (StylePixmap, const TQWidget* = 0, const TQStyleOption& = TQStyleOption (TQStyleOption ::Default )) const;
+ int styleHint (StyleHint, const TQWidget* = 0, const TQStyleOption& = TQStyleOption (TQStyleOption ::Default ), TQStyleHintReturn* = 0) const;
protected:
- bool eventFilter (QObject*, QEvent*);
+ bool eventFilter (TQObject*, TQEvent*);
private:
KStyle (const KStyle&);
diff --git a/sip/tdeprint/driver.sip b/sip/tdeprint/driver.sip
index 6b89860..12a9135 100644
--- a/sip/tdeprint/driver.sip
+++ b/sip/tdeprint/driver.sip
@@ -51,19 +51,19 @@ public:
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&);
+ const TQString& get (const TQString&) const;
+ void set (const TQString&, const TQString&);
+ bool has (const TQString&) const;
+ const TQString& name () const;
+ void setName (const TQString&);
bool conflict () const;
void setConflict (bool);
- virtual QString valueText ();
- virtual QString prettyText ();
- virtual void setValueText (const QString&);
+ virtual TQString valueText ();
+ virtual TQString prettyText ();
+ virtual void setValueText (const TQString&);
//ig virtual DriverItem* createItem (DriverItem* /Transfer/, DriverItem* = 0);
- virtual void setOptions (const QMap<QString,QString>&);
- virtual void getOptions (QMap<QString,QString>&, bool = 0);
+ virtual void setOptions (const TQMap<TQString,TQString>&);
+ virtual void getOptions (TQMap<TQString,TQString>&, bool = 0);
virtual DrBase* clone ();
protected:
@@ -88,26 +88,26 @@ public:
void addGroup (DrGroup*);
void addObject (DrBase*);
void clearConflict ();
- void removeOption (const QString&);
+ void removeOption (const TQString&);
void removeGroup (DrGroup*);
bool isEmpty ();
//ig virtual DriverItem* createItem (DriverItem* /Transfer/, DriverItem* = 0);
-//ig DrBase* findOption (const QString&, DrGroup** = 0);
+//ig DrBase* findOption (const TQString&, DrGroup** = 0);
//ig DrGroup* findGroup (DrGroup*, DrGroup** = 0);
- void setOptions (const QMap<QString,QString>&);
- void getOptions (QMap<QString,QString>&, bool = 0);
+ void setOptions (const TQMap<TQString,TQString>&);
+ void getOptions (TQMap<TQString,TQString>&, bool = 0);
DrBase* clone ();
-//ig const QPtrList<DrGroup>& groups ();
-//ig const QPtrList<DrBase>& options ();
+//ig const TQPtrList<DrGroup>& groups ();
+//ig const TQPtrList<DrBase>& options ();
%If ( KDE_3_2_0 - )
- static QString groupForOption (const QString&);
+ static TQString groupForOption (const TQString&);
%End
protected:
//ig void createTree (DriverItem* /Transfer/);
-//ig void flattenGroup (QMap<QString,DrBase*>&, int&);
+//ig void flattenGroup (TQMap<TQString,DrBase*>&, int&);
protected:
@@ -127,14 +127,14 @@ class DrMain : DrGroup
public:
DrMain ();
-//ig DriverItem* createTreeView (QListView* /Transfer/);
+//ig DriverItem* createTreeView (TQListView* /Transfer/);
void addConstraint (DrConstraint*);
int checkConstraints ();
- DrPageSize* findPageSize (const QString&);
+ DrPageSize* findPageSize (const TQString&);
void addPageSize (DrPageSize*);
- void removeOptionGlobally (const QString&);
+ void removeOptionGlobally (const TQString&);
void removeGroupGlobally (DrGroup*);
-//ig QMap<QString,DrBase*> flatten ();
+//ig TQMap<TQString,DrBase*> flatten ();
DrMain* cloneDriver ();
protected:
@@ -173,8 +173,8 @@ class DrStringOption : DrBase
public:
DrStringOption ();
- virtual QString valueText ();
- virtual void setValueText (const QString&);
+ virtual TQString valueText ();
+ virtual void setValueText (const TQString&);
protected:
@@ -194,9 +194,9 @@ class DrIntegerOption : DrBase
public:
DrIntegerOption ();
- virtual QString valueText ();
- virtual void setValueText (const QString&);
- QString fixedVal ();
+ virtual TQString valueText ();
+ virtual void setValueText (const TQString&);
+ TQString fixedVal ();
protected:
@@ -216,9 +216,9 @@ class DrFloatOption : DrBase
public:
DrFloatOption ();
- virtual QString valueText ();
- virtual void setValueText (const QString&);
- QString fixedVal ();
+ virtual TQString valueText ();
+ virtual void setValueText (const TQString&);
+ TQString fixedVal ();
protected:
@@ -239,15 +239,15 @@ class DrListOption : DrBase
public:
DrListOption ();
void addChoice (DrBase*);
-//ig QPtrList<DrBase>* choices ();
+//ig TQPtrList<DrBase>* choices ();
DrBase* currentChoice () const;
- DrBase* findChoice (const QString&);
+ DrBase* findChoice (const TQString&);
void setChoice (int);
- virtual QString valueText ();
- virtual QString prettyText ();
- virtual void setValueText (const QString&);
- void setOptions (const QMap<QString,QString>&);
- void getOptions (QMap<QString,QString>&, bool = 0);
+ virtual TQString valueText ();
+ virtual TQString prettyText ();
+ virtual void setValueText (const TQString&);
+ void setOptions (const TQMap<TQString,TQString>&);
+ void getOptions (TQMap<TQString,TQString>&, bool = 0);
//ig DriverItem* createItem (DriverItem* /Transfer/, DriverItem* = 0);
DrBase* clone ();
@@ -285,7 +285,7 @@ class DrConstraint
public:
- DrConstraint (const QString&, const QString&, const QString& = QString ::null , const QString& = QString ::null );
+ DrConstraint (const TQString&, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null );
DrConstraint (const DrConstraint&);
bool check (DrMain*);
@@ -306,7 +306,7 @@ class DrPageSize
public:
- DrPageSize (const QString&, int, int, int, int, int, int);
+ DrPageSize (const TQString&, int, int, int, int, int, int);
DrPageSize (const DrPageSize&);
%If ( KDE_3_2_0 - )
@@ -316,19 +316,19 @@ public:
float rightMargin () const;
float topMargin () const;
float bottomMargin () const;
- QString pageName () const;
+ TQString pageName () const;
%End
- QSize pageSize () const;
- QRect pageRect () const;
- QSize margins () const;
+ TQSize pageSize () const;
+ TQRect pageRect () const;
+ TQSize margins () const;
protected:
public:
%If ( - KDE_3_2_0 )
- QString name () const;
+ TQString name () const;
%End
diff --git a/sip/tdeprint/kmjob.sip b/sip/tdeprint/kmjob.sip
index e691caf..8394d5e 100644
--- a/sip/tdeprint/kmjob.sip
+++ b/sip/tdeprint/kmjob.sip
@@ -69,24 +69,24 @@ public:
KMJob ();
KMJob (const KMJob&);
void copy (const KMJob&);
- QString pixmap ();
- QString stateString ();
+ TQString pixmap ();
+ TQString 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&);
+ const TQString& name () const;
+ void setName (const TQString&);
+ const TQString& printer () const;
+ void setPrinter (const TQString&);
+ const TQString& owner () const;
+ void setOwner (const TQString&);
int state () const;
void setState (int);
int size () const;
void setSize (int);
- const QString& uri () const;
- void setUri (const QString&);
+ const TQString& uri () const;
+ void setUri (const TQString&);
int type () const;
void setType (int);
int pages () const;
@@ -97,8 +97,8 @@ public:
void setProcessedSize (int);
bool isRemote () const;
void setRemote (bool);
- QString attribute (int) const;
- void setAttribute (int, const QString&);
+ TQString attribute (int) const;
+ void setAttribute (int, const TQString&);
int attributeCount () const;
void setAttributeCount (int);
diff --git a/sip/tdeprint/kmjobmanager.sip b/sip/tdeprint/kmjobmanager.sip
index 2bbaad5..0094059 100644
--- a/sip/tdeprint/kmjobmanager.sip
+++ b/sip/tdeprint/kmjobmanager.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_1_0 - )
-class KMJobManager : QObject
+class KMJobManager : TQObject
{
%TypeHeaderCode
#include <kmjobmanager.h>
@@ -58,44 +58,44 @@ public:
public:
- KMJobManager (QObject* /TransferThis/ = 0, const char* = 0);
+ KMJobManager (TQObject* /TransferThis/ = 0, const char* = 0);
static KMJobManager* self ();
%If ( KDE_3_2_2 - )
- void addPrinter (const QString&, KMJobManager::JobType = ActiveJobs , bool = 0);
+ void addPrinter (const TQString&, KMJobManager::JobType = ActiveJobs , bool = 0);
%End
- void removePrinter (const QString&, KMJobManager::JobType = ActiveJobs );
+ void removePrinter (const TQString&, KMJobManager::JobType = ActiveJobs );
void clearFilter ();
-//ig QDict<KMJobManager::JobFilter>* filter ();
+//ig TQDict<KMJobManager::JobFilter>* filter ();
int limit ();
void setLimit (int);
- KMJob* findJob (const QString&);
- bool sendCommand (const QString&, int, const QString& = QString ::null );
- bool sendCommand (const QPtrList<KMJob>&, int, const QString& = QString ::null );
- const QPtrList<KMJob>& jobList (bool = 1);
+ KMJob* findJob (const TQString&);
+ bool sendCommand (const TQString&, int, const TQString& = TQString ::null );
+ bool sendCommand (const TQPtrList<KMJob>&, int, const TQString& = TQString ::null );
+ const TQPtrList<KMJob>& jobList (bool = 1);
void addJob (KMJob*);
//ig KMThreadJob* threadJob ();
virtual int actions ();
- virtual QValueList<KAction*> createPluginActions (KActionCollection*);
- virtual void validatePluginActions (KActionCollection*, const QPtrList<KMJob>&);
- virtual bool doPluginAction (int, const QPtrList<KMJob>&);
+ virtual TQValueList<KAction*> createPluginActions (KActionCollection*);
+ virtual void validatePluginActions (KActionCollection*, const TQPtrList<KMJob>&);
+ virtual bool doPluginAction (int, const TQPtrList<KMJob>&);
protected:
void discardAllJobs ();
void removeDiscardedJobs ();
protected:
- virtual bool listJobs (const QString&, KMJobManager::JobType, int = 0);
- virtual bool sendCommandSystemJob (const QPtrList<KMJob>&, int, const QString& = QString ::null );
- bool sendCommandThreadJob (const QPtrList<KMJob>&, int, const QString& = QString ::null );
+ virtual bool listJobs (const TQString&, KMJobManager::JobType, int = 0);
+ virtual bool sendCommandSystemJob (const TQPtrList<KMJob>&, int, const TQString& = TQString ::null );
+ bool sendCommandThreadJob (const TQPtrList<KMJob>&, int, const TQString& = TQString ::null );
protected:
public:
%If ( - KDE_3_2_2 )
- void addPrinter (const QString&, KMJobManager::JobType = ActiveJobs );
+ void addPrinter (const TQString&, KMJobManager::JobType = ActiveJobs );
//force
%ConvertToSubClassCode
@@ -122,13 +122,13 @@ public:
%If (KDE_3_1_0 - )
-%MappedType QPtrList<KMJob>
+%MappedType TQPtrList<KMJob>
//converts a Python list of KMJob
{
%TypeHeaderCode
#include <qptrlist.h>
#include <kmjob.h>
-typedef QPtrList<KMJob> KMJobList;
+typedef TQPtrList<KMJob> KMJobList;
%End
%ConvertFromTypeCode
@@ -144,7 +144,7 @@ typedef QPtrList<KMJob> KMJobList;
// Get it.
- QPtrList<KMJob> *cpplist = (QPtrList<KMJob> *)sipCpp;
+ TQPtrList<KMJob> *cpplist = (TQPtrList<KMJob> *)sipCpp;
KMJob *cpp;
PyObject *inst;
@@ -166,7 +166,7 @@ typedef QPtrList<KMJob> KMJobList;
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KMJob> *cpplist = new QPtrList<KMJob>;
+ TQPtrList<KMJob> *cpplist = new TQPtrList<KMJob>;
PyObject *elem;
KMJob *cpp;
diff --git a/sip/tdeprint/kmmanager.sip b/sip/tdeprint/kmmanager.sip
index 541c91f..b0aee89 100644
--- a/sip/tdeprint/kmmanager.sip
+++ b/sip/tdeprint/kmmanager.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMManager : QObject
+class KMManager : TQObject
{
%TypeHeaderCode
#include <kmmanager.h>
@@ -52,10 +52,10 @@ public:
ServerAll
};
- KMManager (QObject* /TransferThis/ = 0, const char* = 0);
+ KMManager (TQObject* /TransferThis/ = 0, const char* = 0);
static KMManager* self ();
- QString errorMsg () const;
- void setErrorMsg (const QString&);
+ TQString errorMsg () const;
+ void setErrorMsg (const TQString&);
bool hasManagement () const;
virtual bool createPrinter (KMPrinter*);
virtual bool removePrinter (KMPrinter*);
@@ -67,39 +67,39 @@ public:
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&);
+ bool removePrinter (const TQString&);
+ bool enablePrinter (const TQString&, bool);
+ bool startPrinter (const TQString&, bool);
+ bool completePrinter (const TQString&);
+ bool setDefaultPrinter (const TQString&);
int printerOperationMask () const;
- int addPrinterWizard (QWidget* /Transfer/ = 0);
+ int addPrinterWizard (TQWidget* /Transfer/ = 0);
bool createSpecialPrinter (KMPrinter*);
bool removeSpecialPrinter (KMPrinter*);
- KMPrinter* findPrinter (const QString&);
- QPtrList<KMPrinter>* printerList (bool = 1);
- QPtrList<KMPrinter>* printerListComplete (bool = 1);
+ KMPrinter* findPrinter (const TQString&);
+ TQPtrList<KMPrinter>* printerList (bool = 1);
+ TQPtrList<KMPrinter>* printerListComplete (bool = 1);
KMPrinter* defaultPrinter ();
void enableFilter (bool);
bool isFilterEnabled () const;
- virtual QString driverDbCreationProgram ();
- virtual QString driverDirectory ();
+ virtual TQString driverDbCreationProgram ();
+ virtual TQString driverDirectory ();
//ig virtual DrMain* loadPrinterDriver (KMPrinter*, bool = 0);
//ig virtual DrMain* loadDbDriver (KMDBEntry*);
-//ig virtual DrMain* loadFileDriver (const QString&);
+//ig virtual DrMain* loadFileDriver (const TQString&);
//ig DrMain* loadDriver (KMPrinter*, bool = 0);
//ig virtual bool savePrinterDriver (KMPrinter*, DrMain*);
//ig virtual bool validateDbDriver (KMDBEntry*);
- bool invokeOptionsDialog (QWidget* /Transfer/ = 0);
+ bool invokeOptionsDialog (TQWidget* /Transfer/ = 0);
%If ( KDE_3_1_0 - )
- virtual QString stateInformation ();
+ virtual TQString stateInformation ();
%End
int serverOperationMask () const;
virtual bool restartServer ();
- virtual bool configureServer (QWidget* /Transfer/ = 0);
- virtual QStringList detectLocalPrinters ();
+ virtual bool configureServer (TQWidget* /Transfer/ = 0);
+ virtual TQStringList detectLocalPrinters ();
virtual void createPluginActions (KActionCollection*);
virtual void validatePluginActions (KActionCollection*, KMPrinter*);
@@ -122,12 +122,12 @@ protected:
void setSoftDefault (KMPrinter*);
KMPrinter* softDefault () const;
KMPrinter* hardDefault () const;
- bool uncompressFile (const QString&, QString&);
+ bool uncompressFile (const TQString&, TQString&);
bool notImplemented ();
void setHasManagement (bool);
void setPrinterOperationMask (int);
void setServerOperationMask (int);
- QString testPage ();
+ TQString testPage ();
void discardAllPrinters (bool);
%If ( KDE_3_1_0 - )
@@ -142,7 +142,7 @@ protected:
-%MappedType QPtrList<KMPrinter>
+%MappedType TQPtrList<KMPrinter>
//converts a Python list of KMPrinter
{
%TypeHeaderCode
@@ -166,7 +166,7 @@ protected:
// Get it.
- QPtrList<KMPrinter> *kpList = (QPtrList<KMPrinter> *)sipCpp;
+ TQPtrList<KMPrinter> *kpList = (TQPtrList<KMPrinter> *)sipCpp;
PyObject *inst;
KMPrinter *p;
@@ -185,12 +185,12 @@ protected:
%End
%ConvertToTypeCode
- // Convert a Python list to QPtrList<KMPrinter> on the heap.
+ // Convert a Python list to TQPtrList<KMPrinter> on the heap.
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KMPrinter> *kpList = new QPtrList<KMPrinter>;
+ TQPtrList<KMPrinter> *kpList = new TQPtrList<KMPrinter>;
PyObject *elem;
KMPrinter *p;
diff --git a/sip/tdeprint/kmprinter.sip b/sip/tdeprint/kmprinter.sip
index 46135bf..4bae2d5 100644
--- a/sip/tdeprint/kmprinter.sip
+++ b/sip/tdeprint/kmprinter.sip
@@ -81,42 +81,42 @@ public:
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&);
+ const TQString& name () const;
+ void setName (const TQString&);
+ const TQString& printerName () const;
+ void setPrinterName (const TQString&);
+ const TQString& instanceName () const;
+ void setInstanceName (const TQString&);
int type () const;
void setType (int);
void addType (int);
KMPrinter::PrinterState state (bool = 0) const;
- QString stateString () const;
+ TQString 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&);
+ const TQString& device () const;
+ TQString deviceProtocol () const;
+ void setDevice (const TQString&);
%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 TQStringList& members () const;
+ void setMembers (const TQStringList&);
+ void addMember (const TQString&);
+ const TQString& description () const;
+ void setDescription (const TQString&);
+ const TQString& location () const;
+ void setLocation (const TQString&);
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&);
+ const TQString& manufacturer () const;
+ void setManufacturer (const TQString&);
+ const TQString& model () const;
+ void setModel (const TQString&);
+ const TQString& driverInfo () const;
+ void setDriverInfo (const TQString&);
%If ( KDE_3_2_0 - )
int printerCap () const;
@@ -134,8 +134,8 @@ public:
bool isSpecial () const;
//ig KMDBEntry* dbEntry () const;
//ig void setDbEntry (KMDBEntry*);
- QString pixmap ();
- void setPixmap (const QString&);
+ TQString pixmap ();
+ void setPixmap (const TQString&);
bool isHardDefault () const;
void setHardDefault (bool);
bool isSoftDefault () const;
@@ -143,24 +143,24 @@ public:
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<QString,QString> options () const;
- void setOptions (const QMap<QString,QString>&);
+ const TQString& option (const TQString&) const;
+ bool hasOption (const TQString&) const;
+ void setOption (const TQString&, const TQString&);
+ void removeOption (const TQString&);
+ TQMap<TQString,TQString> options () const;
+ void setOptions (const TQMap<TQString,TQString>&);
//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<QString,QString> defaultOptions () const;
- void setDefaultOptions (const QMap<QString,QString>&);
- const QString& editedOption (const QString&) const;
- void setEditedOption (const QString&, const QString&);
- QMap<QString,QString> editedOptions () const;
- void setEditedOptions (const QMap<QString,QString>&);
+ bool autoConfigure (KPrinter*, TQWidget* /Transfer/ = 0);
+ const TQString& defaultOption (const TQString&) const;
+ void setDefaultOption (const TQString&, const TQString&);
+ TQMap<TQString,TQString> defaultOptions () const;
+ void setDefaultOptions (const TQMap<TQString,TQString>&);
+ const TQString& editedOption (const TQString&) const;
+ void setEditedOption (const TQString&, const TQString&);
+ TQMap<TQString,TQString> editedOptions () const;
+ void setEditedOptions (const TQMap<TQString,TQString>&);
bool isEdited () const;
void setEdited (bool);
diff --git a/sip/tdeprint/kprintaction.sip b/sip/tdeprint/kprintaction.sip
index fc1f929..851f4e7 100644
--- a/sip/tdeprint/kprintaction.sip
+++ b/sip/tdeprint/kprintaction.sip
@@ -40,12 +40,12 @@ public:
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);
+ KPrintAction (const TQString&, KPrintAction::PrinterType = All , TQWidget* = 0, TQObject* /TransferThis/ = 0, const char* = 0);
+ KPrintAction (const TQString&, const TQIconSet&, KPrintAction::PrinterType = All , TQWidget* = 0, TQObject* /TransferThis/ = 0, const char* = 0);
+ KPrintAction (const TQString&, const TQString&, KPrintAction::PrinterType = All , TQWidget* = 0, TQObject* /TransferThis/ = 0, const char* = 0);
+ static KPrintAction* exportAll (TQWidget* = 0, TQObject* /Transfer/ = 0, const char* = 0);
+ static KPrintAction* exportRegular (TQWidget* = 0, TQObject* /Transfer/ = 0, const char* = 0);
+ static KPrintAction* exportSpecial (TQWidget* = 0, TQObject* /Transfer/ = 0, const char* = 0);
signals:
void print (KPrinter*) /PyName=print_/;
@@ -55,7 +55,7 @@ protected slots:
void slotActivated (int);
protected:
- void initialize (KPrintAction::PrinterType, QWidget*);
+ void initialize (KPrintAction::PrinterType, TQWidget*);
}; // class KPrintAction
diff --git a/sip/tdeprint/kprintdialog.sip b/sip/tdeprint/kprintdialog.sip
index 8e93dc8..082c3e9 100644
--- a/sip/tdeprint/kprintdialog.sip
+++ b/sip/tdeprint/kprintdialog.sip
@@ -32,16 +32,16 @@ class KPrintDialog : KDialog, KPReloadObject
public:
- KPrintDialog (QWidget* /TransferThis/ = 0, const char* = 0);
+ KPrintDialog (TQWidget* /TransferThis/ = 0, const char* = 0);
void setFlags (int);
- void setDialogPages (QPtrList<KPrintDialogPage>*);
+ void setDialogPages (TQPtrList<KPrintDialogPage>*);
%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);
+ static KPrintDialog* printerDialog (KPrinter*, TQWidget*, const TQString& = TQString ::null , bool = 0);
signals:
void printRequested (KPrinter*);
@@ -58,7 +58,7 @@ protected slots:
%If ( KDE_3_1_0 - )
void slotHelp ();
- void slotOutputFileSelected (const QString&);
+ void slotOutputFileSelected (const TQString&);
void slotUpdatePossible (bool);
void slotOpenFileDialog ();
%End
@@ -68,7 +68,7 @@ protected:
bool checkOutputFile ();
void enableSpecial (bool);
void enableOutputFile (bool);
- void setOutputFileExtension (const QString&);
+ void setOutputFileExtension (const TQString&);
void reload ();
void configChanged ();
void expandDialog (bool = 1);
@@ -92,7 +92,7 @@ public:
-%MappedType QPtrList<KPrintDialogPage>
+%MappedType TQPtrList<KPrintDialogPage>
//converts a Python list of KPrintDialogPage
{
%TypeHeaderCode
@@ -115,7 +115,7 @@ public:
// Get it.
- QPtrList<KPrintDialogPage> *kpList = (QPtrList<KPrintDialogPage> *)sipCpp;
+ TQPtrList<KPrintDialogPage> *kpList = (TQPtrList<KPrintDialogPage> *)sipCpp;
PyObject *inst;
KPrintDialogPage *p;
@@ -134,12 +134,12 @@ public:
%End
%ConvertToTypeCode
- // Convert a Python list to QPtrList<KPrintDialogPage> on the heap.
+ // Convert a Python list to TQPtrList<KPrintDialogPage> on the heap.
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KPrintDialogPage> *kpList = new QPtrList<KPrintDialogPage>;
+ TQPtrList<KPrintDialogPage> *kpList = new TQPtrList<KPrintDialogPage>;
PyObject *elem;
KPrintDialogPage *p;
diff --git a/sip/tdeprint/kprintdialogpage.sip b/sip/tdeprint/kprintdialogpage.sip
index 3b1c1a9..a10b6d4 100644
--- a/sip/tdeprint/kprintdialogpage.sip
+++ b/sip/tdeprint/kprintdialogpage.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPrintDialogPage : QWidget
+class KPrintDialogPage : TQWidget
{
%TypeHeaderCode
#include <kprintdialogpage.h>
@@ -32,15 +32,15 @@ class KPrintDialogPage : QWidget
public:
- KPrintDialogPage (QWidget* /TransferThis/ = 0, const char* = 0);
-//ig KPrintDialogPage (KMPrinter*, DrMain* = 0, QWidget* /TransferThis/ = 0, const char* = 0);
- virtual void getOptions (QMap<QString,QString>&, bool = 0);
- virtual void setOptions (const QMap<QString,QString>&);
- virtual bool isValid (QString&);
+ KPrintDialogPage (TQWidget* /TransferThis/ = 0, const char* = 0);
+//ig KPrintDialogPage (KMPrinter*, DrMain* = 0, TQWidget* /TransferThis/ = 0, const char* = 0);
+ virtual void getOptions (TQMap<TQString,TQString>&, bool = 0);
+ virtual void setOptions (const TQMap<TQString,TQString>&);
+ virtual bool isValid (TQString&);
int id () const;
void setId (int);
- QString title () const;
- void setTitle (const QString&);
+ TQString title () const;
+ void setTitle (const TQString&);
bool onlyRealPrinters () const;
void setOnlyRealPrinters (bool = 1);
//ig DrMain* driver ();
diff --git a/sip/tdeprint/kprinter.sip b/sip/tdeprint/kprinter.sip
index 2229b9f..7de8f97 100644
--- a/sip/tdeprint/kprinter.sip
+++ b/sip/tdeprint/kprinter.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPrinter : QPaintDevice, KPReloadObject
+class KPrinter : TQPaintDevice, KPReloadObject
{
%TypeHeaderCode
#include <kprinter.h>
@@ -127,18 +127,18 @@ public:
NPageSize
};
- KPrinter (bool = 1, QPrinter::PrinterMode = QPrinter ::ScreenResolution );
+ KPrinter (bool = 1, TQPrinter::PrinterMode = TQPrinter ::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&);
+ TQString outputFileName () const;
+ void setOutputFileName (const TQString&);
+ TQString docName () const;
+ void setDocName (const TQString&);
+ TQString creator () const;
+ void setCreator (const TQString&);
bool fullPage () const;
void setFullPage (bool);
KPrinter::ColorMode colorMode () const;
@@ -159,24 +159,24 @@ public:
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&);
+ TQString printerName () const;
+ void setPrinterName (const TQString&);
+ TQString printProgram () const;
+ void setPrintProgram (const TQString&);
+ TQString printerSelectionOption () const;
+ void setPrinterSelectionOption (const TQString&);
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);
+ bool setup (TQWidget* /Transfer/ = 0, const TQString& = TQString ::null , bool = 0);
+ TQSize margins () const;
+ void setMargins (TQSize);
+ TQSize realPageSize () const;
+ void setRealPageSize (TQSize);
%If ( KDE_3_1_0 - )
- void setRealDrawableArea (const QRect&);
- QRect realDrawableArea () const;
+ void setRealDrawableArea (const TQRect&);
+ TQRect realDrawableArea () const;
void margins (uint*, uint*, uint*, uint*) const /PyName=marginsAsInts/;
%If ( KDE_3_2_0 - )
@@ -185,7 +185,7 @@ public:
%End
- QValueList<int> pageList () const;
+ TQValueList<int> pageList () const;
void setPreviewOnly (bool);
bool previewOnly () const;
@@ -200,7 +200,7 @@ public:
%End
//ig KPrinterImpl* implementation () const;
- bool printFiles (const QStringList&, bool = 0, bool = 1);
+ bool printFiles (const TQStringList&, bool = 0, bool = 1);
static void addDialogPage (KPrintDialogPage*);
static void setPageSelection (KPrinter::PageSelectionType);
static KPrinter::PageSelectionType pageSelection ();
@@ -208,42 +208,42 @@ public:
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<QString,QString>& options () const;
- void setOptions (const QMap<QString,QString>&);
- void initOptions (const QMap<QString,QString>&);
- 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;
+ const TQString& option (const TQString&) const;
+ void setOption (const TQString&, const TQString&);
+ const TQMap<TQString,TQString>& options () const;
+ void setOptions (const TQMap<TQString,TQString>&);
+ void initOptions (const TQMap<TQString,TQString>&);
+ TQString searchName () const;
+ void setSearchName (const TQString&);
+ TQString errorMessage () const;
+ void setErrorMessage (const TQString&);
+ bool autoConfigure (const TQString& = TQString ::null , TQWidget* /Transfer/ = 0);
+ void setDocFileName (const TQString&);
+ TQString docFileName () const;
%If ( KDE_3_1_0 - )
- void setDocDirectory (const QString&);
- QString docDirectory () const;
+ void setDocDirectory (const TQString&);
+ TQString docDirectory () const;
%End
protected:
-//ig virtual bool cmd (int, QPainter*, QPDevCmdParam*);
+//ig virtual bool cmd (int, TQPainter*, TQPDevCmdParam*);
virtual int metric (int) const;
- void translateQtOptions ();
+ void translateTQtOptions ();
void loadSettings ();
void saveSettings ();
void preparePrinting ();
void finishPrinting ();
void reload ();
- void init (bool = 1, QPrinter::PrinterMode = QPrinter ::ScreenResolution );
+ void init (bool = 1, TQPrinter::PrinterMode = TQPrinter ::ScreenResolution );
%If ( KDE_3_1_0 - )
- bool doPreview (const QString&);
+ bool doPreview (const TQString&);
%If ( KDE_3_2_0 - )
//ig void setRealPageSize (DrPageSize*);
- void setOption (const QString&, const QString&, bool);
+ void setOption (const TQString&, const TQString&, bool);
%End
%End
@@ -253,6 +253,6 @@ protected:
}; // class KPrinter
-KPrinter::PageSize pageNameToPageSize (const QString&);
+KPrinter::PageSize pageNameToPageSize (const TQString&);
const char* pageSizeToPageName (KPrinter::PageSize);
-//ig QSize rangeToSize (const QString&);
+//ig TQSize rangeToSize (const TQString&);
diff --git a/sip/tdeui/kaboutapplication.sip b/sip/tdeui/kaboutapplication.sip
index c7dfb8d..3d7d5ef 100644
--- a/sip/tdeui/kaboutapplication.sip
+++ b/sip/tdeui/kaboutapplication.sip
@@ -32,8 +32,8 @@ class KAboutApplication : KAboutDialog
public:
- KAboutApplication (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
- KAboutApplication (const KAboutData*, QWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ KAboutApplication (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ KAboutApplication (const KAboutData*, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
protected:
void buildDialog (const KAboutData*);
diff --git a/sip/tdeui/kaboutdialog.sip b/sip/tdeui/kaboutdialog.sip
index e1dd76b..cc07e28 100644
--- a/sip/tdeui/kaboutdialog.sip
+++ b/sip/tdeui/kaboutdialog.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAboutContainer : QFrame
+class KAboutContainer : TQFrame
{
%TypeHeaderCode
#include <kaboutdialog.h>
@@ -32,25 +32,25 @@ class KAboutContainer : QFrame
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;
+ KAboutContainer (TQWidget* /TransferThis/ = 0, const char* = 0, int = 0, int = 0, int = AlignCenter , int = AlignCenter );
+ void addWidget (TQWidget*);
+ void addPerson (const TQString&, const TQString&, const TQString&, const TQString&, bool = 0, bool = 0, bool = 0);
+ void addTitle (const TQString&, int = AlignLeft , bool = 0, bool = 0);
+ void addImage (const TQString&, int = AlignLeft );
+ virtual TQSize sizeHint () const;
+ virtual TQSize minimumSizeHint () const;
protected:
- virtual void childEvent (QChildEvent*);
+ virtual void childEvent (TQChildEvent*);
signals:
- void urlClick (const QString&);
- void mailClick (const QString&, const QString&);
+ void urlClick (const TQString&);
+ void mailClick (const TQString&, const TQString&);
}; // class KAboutContainer
-class KAboutContributor : QFrame
+class KAboutContributor : TQFrame
{
%TypeHeaderCode
#include <kaboutdialog.h>
@@ -58,32 +58,32 @@ class KAboutContributor : QFrame
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;
+ KAboutContributor (TQWidget* /TransferThis/ = 0, const char* = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , bool = 0, bool = 1, bool = 0);
+ void setName (const TQString&, const TQString& = TQString ::null , bool = 1);
+ void setEmail (const TQString&, const TQString& = TQString ::null , bool = 1);
+ void setURL (const TQString&, const TQString& = TQString ::null , bool = 1);
+ void setWork (const TQString&, const TQString& = TQString ::null , bool = 1);
+ TQString getName ();
+ TQString getEmail ();
+ TQString getURL ();
+ TQString getWork ();
+ virtual TQSize sizeHint () const;
protected:
- virtual void fontChange (const QFont&);
+ virtual void fontChange (const TQFont&);
protected slots:
- void urlClickedSlot (const QString&);
- void emailClickedSlot (const QString&);
+ void urlClickedSlot (const TQString&);
+ void emailClickedSlot (const TQString&);
signals:
- void sendEmail (const QString&, const QString&);
- void openURL (const QString&);
+ void sendEmail (const TQString&, const TQString&);
+ void openURL (const TQString&);
}; // class KAboutContributor
-class KAboutWidget : QWidget
+class KAboutWidget : TQWidget
{
%TypeHeaderCode
#include <kaboutdialog.h>
@@ -91,24 +91,24 @@ class KAboutWidget : QWidget
public:
- KAboutWidget (QWidget* /TransferThis/ = 0, const char* = 0);
+ KAboutWidget (TQWidget* /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&);
+ void setLogo (const TQPixmap&);
+ void setAuthor (const TQString&, const TQString&, const TQString&, const TQString&);
+ void setMaintainer (const TQString&, const TQString&, const TQString&, const TQString&);
+ void addContributor (const TQString&, const TQString&, const TQString&, const TQString&);
+ void setVersion (const TQString&);
protected slots:
- void sendEmailSlot (const QString&, const QString&);
- void openURLSlot (const QString&);
+ void sendEmailSlot (const TQString&, const TQString&);
+ void openURLSlot (const TQString&);
signals:
- void sendEmail (const QString&, const QString&);
- void openURL (const QString&);
+ void sendEmail (const TQString&, const TQString&);
+ void openURL (const TQString&);
protected:
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
}; // class KAboutWidget
@@ -138,50 +138,50 @@ public:
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 );
+ KAboutDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ KAboutDialog (int, const TQString&, int, ButtonCode, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
void adjust ();
virtual void show ();
- virtual void show (QWidget*);
- void setTitle (const QString&);
- void setImage (const QString&);
+ virtual void show (TQWidget*);
+ void setTitle (const TQString&);
+ void setImage (const TQString&);
%If ( KDE_3_3_0 - )
- void setIcon (const QString&);
+ void setIcon (const TQString&);
%If ( KDE_3_4_0 - )
- void setProgramLogo (const QString&);
- void setProgramLogo (const QPixmap&);
+ void setProgramLogo (const TQString&);
+ void setProgramLogo (const TQPixmap&);
%End
%End
- void setImageBackgroundColor (const QColor&);
+ void setImageBackgroundColor (const TQColor&);
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 );
+ void setProduct (const TQString&, const TQString&, const TQString&, const TQString&);
+ TQFrame* addTextPage (const TQString&, const TQString&, bool = 0, int = 10);
+ TQFrame* addLicensePage (const TQString&, const TQString&, int = 10);
+ KAboutContainer* addContainerPage (const TQString&, int = AlignCenter , int = AlignCenter );
+ KAboutContainer* addScrolledContainerPage (const TQString&, 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&);
+ TQFrame* addPage (const TQString&);
+ void setLogo (const TQPixmap&);
+ void setAuthor (const TQString&, const TQString&, const TQString&, const TQString&);
+ void setMaintainer (const TQString&, const TQString&, const TQString&, const TQString&);
+ void addContributor (const TQString&, const TQString&, const TQString&, const TQString&);
+ void setVersion (const TQString&);
+ static void imageURL (TQWidget* /Transfer/, const TQString&, const TQString&, const TQColor&, const TQString&);
signals:
- void sendEmail (const QString&, const QString&);
- void openURL (const QString&);
+ void sendEmail (const TQString&, const TQString&);
+ void openURL (const TQString&);
protected:
protected slots:
- void sendEmailSlot (const QString&, const QString&);
- void openURLSlot (const QString&);
- virtual void mouseTrackSlot (int, const QMouseEvent*);
+ void sendEmailSlot (const TQString&, const TQString&);
+ void openURLSlot (const TQString&);
+ virtual void mouseTrackSlot (int, const TQMouseEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kaboutkde.sip b/sip/tdeui/kaboutkde.sip
index 0351960..10f615f 100644
--- a/sip/tdeui/kaboutkde.sip
+++ b/sip/tdeui/kaboutkde.sip
@@ -32,7 +32,7 @@ class KAboutKDE : KAboutDialog
public:
- KAboutKDE (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ KAboutKDE (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
}; // class KAboutKDE
diff --git a/sip/tdeui/kaccelmanager.sip b/sip/tdeui/kaccelmanager.sip
index e260488..ce6c496 100644
--- a/sip/tdeui/kaccelmanager.sip
+++ b/sip/tdeui/kaccelmanager.sip
@@ -34,8 +34,8 @@ class KAcceleratorManager
public:
- static void manage (QWidget*);
- static void manage (QWidget*, bool);
+ static void manage (TQWidget*);
+ static void manage (TQWidget*, bool);
}; // class KAcceleratorManager
diff --git a/sip/tdeui/kaccelmenu.sip b/sip/tdeui/kaccelmenu.sip
index 4b9dc17..110632c 100644
--- a/sip/tdeui/kaccelmenu.sip
+++ b/sip/tdeui/kaccelmenu.sip
@@ -34,15 +34,15 @@ class KAccelMenu : KPopupMenu
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);
+ KAccelMenu (KAccel*, TQWidget*/TransferThis/ = 0, const char* = 0);
+ int insItem (const TQPixmap&, 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 TQPixmap&, 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 keyPressEvent (TQKeyEvent*);
void popMsg ();
protected slots:
diff --git a/sip/tdeui/kaction.sip b/sip/tdeui/kaction.sip
index 3c0ab83..e264615 100644
--- a/sip/tdeui/kaction.sip
+++ b/sip/tdeui/kaction.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAction : QObject
+class KAction : TQObject
{
%TypeHeaderCode
#include <kaction.h>
@@ -32,32 +32,32 @@ class KAction : QObject
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 TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*);
+ KAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*);
+ KAction (const TQString&, const TQString&, 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);
+ KAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KAction (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual int plug (TQWidget*, int = -1);
virtual void plugAccel (KAccel*, bool = 1);
- virtual void unplug (QWidget*);
+ virtual void unplug (TQWidget*);
virtual void unplugAccel ();
virtual bool isPlugged () const;
%If ( KDE_3_1_0 - )
- bool isPlugged (const QWidget*) const;
+ bool isPlugged (const TQWidget*) const;
%End
- virtual bool isPlugged (const QWidget*, int) const;
- virtual bool isPlugged (const QWidget*, const QWidget*) const;
- QWidget* container (int) const;
+ virtual bool isPlugged (const TQWidget*, int) const;
+ virtual bool isPlugged (const TQWidget*, const TQWidget*) const;
+ TQWidget* container (int) const;
int itemId (int) const;
- QWidget* representative (int) const;
+ TQWidget* representative (int) const;
int containerCount () const;
%If ( KDE_3_1_0 - )
@@ -66,20 +66,20 @@ public:
virtual bool hasIcon () const;
bool hasIconSet () const;
- virtual QString plainText () const;
- virtual QString text () const;
+ virtual TQString plainText () const;
+ virtual TQString text () const;
virtual const KShortcut& shortcut () const;
virtual const KShortcut& shortcutDefault () const;
- QString shortcutText () const;
- void setShortcutText (const QString&);
+ TQString shortcutText () const;
+ void setShortcutText (const TQString&);
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;
+ virtual TQString group () const;
+ virtual TQString whatsThis () const;
+ virtual TQString toolTip () const;
+ virtual TQIconSet iconSet (KIcon::Group, int = 0) const;
+ TQIconSet iconSet () const;
+ virtual TQString icon () const;
KActionCollection* parentCollection () const;
static int getToolButtonID ();
void unplugAll ();
@@ -99,13 +99,13 @@ public:
public slots:
- virtual void setText (const QString&);
+ virtual void setText (const TQString&);
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 setGroup (const TQString&);
+ virtual void setWhatsThis (const TQString&);
+ virtual void setToolTip (const TQString&);
+ virtual void setIconSet (const TQIconSet&);
+ virtual void setIcon (const TQString&);
virtual void setEnabled (bool);
%If ( KDE_3_5_0 - )
@@ -122,25 +122,25 @@ protected slots:
%If ( KDE_3_4_0 - )
void slotPopupActivated ();
- void slotButtonClicked (int, Qt::ButtonState);
+ void slotButtonClicked (int, TQt::ButtonState);
%End
protected:
KToolBar* toolBar (int) const;
- QPopupMenu* popupMenu (int) const;
+ TQPopupMenu* popupMenu (int) const;
void removeContainer (int);
- int findContainer (const QWidget*) const;
+ int findContainer (const TQWidget*) const;
%If ( KDE_3_4_0 - )
int findContainer (int) const;
%End
- void plugMainWindowAccel (QWidget*);
- void addContainer (QWidget* /Transfer/, int);
- void addContainer (QWidget* /Transfer/, QWidget*);
+ void plugMainWindowAccel (TQWidget*);
+ void addContainer (TQWidget* /Transfer/, int);
+ void addContainer (TQWidget* /Transfer/, TQWidget*);
virtual void updateShortcut (int);
- virtual void updateShortcut (QPopupMenu*, int);
+ virtual void updateShortcut (TQPopupMenu*, int);
virtual void updateGroup (int);
virtual void updateText (int);
virtual void updateEnabled (int);
@@ -150,7 +150,7 @@ protected:
virtual void updateWhatsThis (int);
%If ( KDE_3_1_0 - )
- QString whatsThisWithIcon () const;
+ TQString whatsThisWithIcon () const;
%If ( KDE_3_3_0 - )
const KGuiItem& guiItem () const;
@@ -163,16 +163,16 @@ signals:
void activated ();
%If ( KDE_3_4_0 - )
- void activated (KAction::ActivationReason, Qt::ButtonState);
+ void activated (KAction::ActivationReason, TQt::ButtonState);
%End
void enabled (bool);
public:
int accel () const;
- QString statusText () const;
+ TQString statusText () const;
void setAccel (int);
- void setStatusText (const QString&);
+ void setStatusText (const TQString&);
int menuId (int);
protected:
@@ -191,17 +191,17 @@ class KToggleAction : KAction
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);
+ KToggleAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KToggleAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KToggleAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KToggleAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KToggleAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KToggleAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KToggleAction (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual int plug (TQWidget*, int = -1);
bool isChecked () const;
- QString exclusiveGroup () const;
- virtual void setExclusiveGroup (const QString&);
+ TQString exclusiveGroup () const;
+ virtual void setExclusiveGroup (const TQString&);
public slots:
virtual void setChecked (bool);
@@ -233,13 +233,13 @@ class KRadioAction : KToggleAction
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);
+ KRadioAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KRadioAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KRadioAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KRadioAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KRadioAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KRadioAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KRadioAction (TQObject* /TransferThis/ = 0, const char* = 0);
protected:
virtual void slotActivated ();
@@ -262,21 +262,21 @@ class KSelectAction : KAction
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);
+ KSelectAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KSelectAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KSelectAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KSelectAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KSelectAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KSelectAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KSelectAction (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual int plug (TQWidget*, int = -1);
virtual bool isEditable () const;
- virtual QStringList items () const;
- virtual void changeItem (int, const QString&);
- virtual QString currentText () const;
+ virtual TQStringList items () const;
+ virtual void changeItem (int, const TQString&);
+ virtual TQString currentText () const;
virtual int currentItem () const;
virtual int comboWidth () const;
- QPopupMenu* popupMenu ();
+ TQPopupMenu* popupMenu ();
%If ( KDE_3_1_0 - )
void setRemoveAmpersandsInCombo (bool);
@@ -288,27 +288,27 @@ public:
public slots:
virtual void setCurrentItem (int);
- virtual void setItems (const QStringList&);
+ virtual void setItems (const TQStringList&);
virtual void clear ();
virtual void setEditable (bool);
virtual void setComboWidth (int);
protected:
- virtual void changeItem (int, int, const QString&);
+ virtual void changeItem (int, int, const TQString&);
%If ( KDE_3_1_0 - )
- QStringList comboItems () const;
+ TQStringList comboItems () const;
%End
protected slots:
virtual void slotActivated (int);
- virtual void slotActivated (const QString&);
+ virtual void slotActivated (const TQString&);
virtual void slotActivated ();
signals:
void activated (int);
- void activated (const QString&);
+ void activated (const TQString&);
protected:
virtual void updateCurrentItem (int);
@@ -334,14 +334,14 @@ class KListAction : KSelectAction
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;
+ KListAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KListAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KListAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KListAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KListAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KListAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KListAction (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual TQString currentText () const;
virtual int currentItem () const;
public slots:
@@ -365,19 +365,19 @@ class KRecentFilesAction : KListAction
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);
+ KRecentFilesAction (const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (TQObject* /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 );
+ void loadEntries (KConfig*, TQString = TQString ::null );
+ void saveEntries (KConfig*, TQString = TQString ::null );
public slots:
void addURL (const KURL&);
@@ -388,7 +388,7 @@ signals:
void urlSelected (const KURL&);
protected slots:
- void itemSelected (const QString&);
+ void itemSelected (const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -408,18 +408,18 @@ class KFontAction : KSelectAction
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);
+ KFontAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KFontAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KFontAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KFontAction (TQObject* /TransferThis/ = 0, const char* = 0);
+ TQString font () const;
+ int plug (TQWidget*, int = -1);
public slots:
- void setFont (const QString&);
+ void setFont (const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -439,13 +439,13 @@ class KFontSizeAction : KSelectAction
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);
+ KFontSizeAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontSizeAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontSizeAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KFontSizeAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KFontSizeAction (TQObject* /TransferThis/ = 0, const char* = 0);
virtual int fontSize () const;
public slots:
@@ -453,7 +453,7 @@ public slots:
protected slots:
virtual void slotActivated (int);
- virtual void slotActivated (const QString&);
+ virtual void slotActivated (const TQString&);
virtual void slotActivated ();
signals:
@@ -477,19 +477,19 @@ class KActionMenu : KAction
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);
+ KActionMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0);
+ KActionMenu (const TQString&, const TQIconSet&, TQObject* /TransferThis/ = 0, const char* = 0);
+ KActionMenu (const TQString&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0);
+ KActionMenu (TQObject* /TransferThis/ = 0, const char* = 0);
virtual void insert (KAction*, int = -1);
virtual void remove (KAction*);
KPopupMenu* popupMenu ();
- void popup (const QPoint&);
+ void popup (const TQPoint&);
bool delayed () const;
void setDelayed (bool);
bool stickyMenu () const;
void setStickyMenu (bool);
- virtual int plug (QWidget*, int = -1);
+ virtual int plug (TQWidget*, int = -1);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -509,10 +509,10 @@ class KToolBarPopupAction : KAction
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 TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KToolBarPopupAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /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);
+ virtual int plug (TQWidget*, int = -1);
KPopupMenu* popupMenu ();
bool delayed () const;
void setDelayed (bool);
@@ -537,9 +537,9 @@ class KToggleToolBarAction : KToggleAction
public:
- KToggleToolBarAction (const char*, const QString&, KActionCollection* /TransferThis/, const char*);
- KToggleToolBarAction (KToolBar*, const QString&, KActionCollection* /TransferThis/, const char*);
- virtual int plug (QWidget*, int = -1);
+ KToggleToolBarAction (const char*, const TQString&, KActionCollection* /TransferThis/, const char*);
+ KToggleToolBarAction (KToolBar*, const TQString&, KActionCollection* /TransferThis/, const char*);
+ virtual int plug (TQWidget*, int = -1);
KToolBar* toolBar ();
public slots:
@@ -563,11 +563,11 @@ class KWidgetAction : KAction
public:
- KWidgetAction (QWidget*, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*);
- QWidget* widget ();
+ KWidgetAction (TQWidget*, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*);
+ TQWidget* widget ();
void setAutoSized (bool);
- virtual int plug (QWidget*, int = -1);
- virtual void unplug (QWidget*);
+ virtual int plug (TQWidget*, int = -1);
+ virtual void unplug (TQWidget*);
protected slots:
void slotToolbarDestroyed ();
@@ -590,8 +590,8 @@ class KActionSeparator : KAction
public:
- KActionSeparator (QObject* /TransferThis/ = 0, const char* = 0);
- virtual int plug (QWidget*, int = -1);
+ KActionSeparator (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual int plug (TQWidget*, int = -1);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -603,7 +603,7 @@ protected:
%If ( - KDE_3_2_0 )
-class KActionCollection : QObject
+class KActionCollection : TQObject
{
%TypeHeaderCode
#include <kaction.h>
@@ -611,10 +611,10 @@ class KActionCollection : QObject
public:
- KActionCollection (QWidget* /TransferThis/, const char* = 0, KInstance* = 0);
- KActionCollection (QWidget*, QObject* /TransferThis/, const char* = 0, KInstance* = 0);
+ KActionCollection (TQWidget* /TransferThis/, const char* = 0, KInstance* = 0);
+ KActionCollection (TQWidget*, TQObject* /TransferThis/, const char* = 0, KInstance* = 0);
KActionCollection (const KActionCollection&);
- virtual void setWidget (QWidget*);
+ virtual void setWidget (TQWidget*);
%If ( KDE_3_1_0 - )
void setAutoConnectShortcuts (bool);
@@ -633,34 +633,34 @@ public:
bool isEmpty () const;
virtual KAction* action (int) const;
virtual KAction* action (const char*, const char* = 0) const;
- virtual QStringList groups () const;
+ virtual TQStringList groups () const;
%If ( KDE_3_1_5 - )
- virtual QValueList<KAction*> actions (const QString&) const;
- virtual QValueList<KAction*> actions () const;
+ virtual TQValueList<KAction*> actions (const TQString&) const;
+ virtual TQValueList<KAction*> actions () const;
%End
- bool readShortcutSettings (const QString& = QString ::null , KConfigBase* = 0);
- bool writeShortcutSettings (const QString& = QString ::null , KConfigBase* = 0) const;
+ bool readShortcutSettings (const TQString& = TQString ::null , KConfigBase* = 0);
+ bool writeShortcutSettings (const TQString& = TQString ::null , KConfigBase* = 0) const;
void setInstance (KInstance*);
KInstance* instance () const;
- void setXMLFile (const QString&);
- const QString& xmlFile () const;
+ void setXMLFile (const TQString&);
+ const TQString& xmlFile () const;
void setHighlightingEnabled (bool);
bool highlightingEnabled () const;
- void connectHighlight (QWidget*, KAction*);
- void disconnectHighlight (QWidget*, KAction*);
+ void connectHighlight (TQWidget*, KAction*);
+ void disconnectHighlight (TQWidget*, KAction*);
signals:
void inserted (KAction*);
void removed (KAction*);
void actionHighlighted (KAction*);
void actionHighlighted (KAction*, bool);
- void actionStatusText (const QString&);
+ void actionStatusText (const TQString&);
void clearStatusText ();
public:
- KActionCollection (QObject* /TransferThis/ = 0, const char* = 0, KInstance* = 0);
+ KActionCollection (TQObject* /TransferThis/ = 0, const char* = 0, KInstance* = 0);
void insert (KAction*);
void remove (KAction*);
KAction* take (KAction*);
@@ -683,17 +683,17 @@ protected:
%If ( - KDE_3_2_0 )
-//ig typedef QValueList<KAction*> KActionPtrList;
+//ig typedef TQValueList<KAction*> KActionPtrList;
%End
-%MappedType QValueList<KAction*>
+%MappedType TQValueList<KAction*>
//converts a Python list of KAction
{
%TypeHeaderCode
#include <qvaluelist.h>
#include <kaction.h>
-//typedef QValueList<KAction*> KActionPtrList;
+//typedef TQValueList<KAction*> KActionPtrList;
%End
%ConvertFromTypeCode
@@ -705,11 +705,11 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<KAction*> *cpplist = (QValueList<KAction*> *)sipCpp;
+ TQValueList<KAction*> *cpplist = (TQValueList<KAction*> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<KAction*>::Iterator it;
+ TQValueList<KAction*>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
if (((inst = sipConvertFromInstance (*it, sipClass_KAction, sipTransferObj)) == NULL)
@@ -728,7 +728,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<KAction*> *cpplist = new QValueList<KAction*>;
+ TQValueList<KAction*> *cpplist = new TQValueList<KAction*>;
PyObject *elem;
KAction* cpp;
diff --git a/sip/tdeui/kactionclasses.sip b/sip/tdeui/kactionclasses.sip
index 05d1eeb..5ae95a1 100644
--- a/sip/tdeui/kactionclasses.sip
+++ b/sip/tdeui/kactionclasses.sip
@@ -34,21 +34,21 @@ class KToggleAction : KAction
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);
+ KToggleAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KToggleAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KToggleAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KToggleAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KToggleAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KToggleAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KToggleAction (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual int plug (TQWidget*, int = -1);
bool isChecked () const;
- QString exclusiveGroup () const;
- virtual void setExclusiveGroup (const QString&);
+ TQString exclusiveGroup () const;
+ virtual void setExclusiveGroup (const TQString&);
%If ( KDE_3_3_0 - )
void setCheckedState (const KGuiItem&);
- virtual QString toolTip () const;
+ virtual TQString toolTip () const;
%End
@@ -82,13 +82,13 @@ class KRadioAction : KToggleAction
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);
+ KRadioAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KRadioAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KRadioAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KRadioAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KRadioAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KRadioAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KRadioAction (TQObject* /TransferThis/ = 0, const char* = 0);
protected:
virtual void slotActivated ();
@@ -111,18 +111,18 @@ class KSelectAction : KAction
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);
+ KSelectAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KSelectAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KSelectAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KSelectAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KSelectAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KSelectAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KSelectAction (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual int plug (TQWidget*, int = -1);
virtual bool isEditable () const;
- virtual QStringList items () const;
- virtual void changeItem (int, const QString&);
- virtual QString currentText () const;
+ virtual TQStringList items () const;
+ virtual void changeItem (int, const TQString&);
+ virtual TQString currentText () const;
virtual int currentItem () const;
virtual int comboWidth () const;
@@ -130,7 +130,7 @@ public:
void setMaxComboViewCount (int);
%End
- QPopupMenu* popupMenu () const;
+ TQPopupMenu* popupMenu () const;
void setRemoveAmpersandsInCombo (bool);
bool removeAmpersandsInCombo () const;
void setMenuAccelsEnabled (bool);
@@ -143,23 +143,23 @@ public:
public slots:
virtual void setCurrentItem (int);
- virtual void setItems (const QStringList&);
+ virtual void setItems (const TQStringList&);
virtual void clear ();
virtual void setEditable (bool);
virtual void setComboWidth (int);
protected:
- virtual void changeItem (int, int, const QString&);
- QStringList comboItems () const;
+ virtual void changeItem (int, int, const TQString&);
+ TQStringList comboItems () const;
protected slots:
virtual void slotActivated (int);
- virtual void slotActivated (const QString&);
+ virtual void slotActivated (const TQString&);
virtual void slotActivated ();
signals:
void activated (int);
- void activated (const QString&);
+ void activated (const TQString&);
protected:
virtual void updateCurrentItem (int);
@@ -185,14 +185,14 @@ class KListAction : KSelectAction
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;
+ KListAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KListAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KListAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KListAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KListAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KListAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KListAction (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual TQString currentText () const;
virtual int currentItem () const;
public slots:
@@ -216,30 +216,30 @@ class KRecentFilesAction : KListAction
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);
+ KRecentFilesAction (const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10);
+ KRecentFilesAction (TQObject* /TransferThis/ = 0, const char* = 0, uint = 10);
+ virtual int plug (TQWidget*, int = -1);
uint maxItems () const;
%If ( KDE_3_5_0 - )
- virtual QStringList items () const;
- QStringList completeItems () const;
+ virtual TQStringList items () const;
+ TQStringList completeItems () const;
%End
public slots:
void setMaxItems (uint);
- void loadEntries (KConfig*, QString = QString ::null );
- void saveEntries (KConfig*, QString = QString ::null );
+ void loadEntries (KConfig*, TQString = TQString ::null );
+ void saveEntries (KConfig*, TQString = TQString ::null );
void addURL (const KURL&);
%If ( KDE_3_5_0 - )
- void addURL (const KURL&, const QString&);
+ void addURL (const KURL&, const TQString&);
%End
void removeURL (const KURL&);
@@ -249,12 +249,12 @@ signals:
void urlSelected (const KURL&);
protected slots:
- void itemSelected (const QString&);
+ void itemSelected (const TQString&);
void menuAboutToShow ();
void menuItemActivated (int);
void slotClicked ();
virtual void slotActivated (int);
- virtual void slotActivated (const QString&);
+ virtual void slotActivated (const TQString&);
virtual void slotActivated ();
protected:
@@ -275,24 +275,24 @@ class KFontAction : KSelectAction
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 (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KFontAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KFontAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /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);
+ KFontAction (uint, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontAction (uint, const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
%End
- KFontAction (QObject* /TransferThis/ = 0, const char* = 0);
- QString font () const;
- int plug (QWidget*, int = -1);
+ KFontAction (TQObject* /TransferThis/ = 0, const char* = 0);
+ TQString font () const;
+ int plug (TQWidget*, int = -1);
public slots:
- void setFont (const QString&);
+ void setFont (const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -312,13 +312,13 @@ class KFontSizeAction : KSelectAction
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);
+ KFontSizeAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontSizeAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontSizeAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KFontSizeAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0);
+ KFontSizeAction (TQObject* /TransferThis/ = 0, const char* = 0);
virtual int fontSize () const;
public slots:
@@ -326,7 +326,7 @@ public slots:
protected slots:
virtual void slotActivated (int);
- virtual void slotActivated (const QString&);
+ virtual void slotActivated (const TQString&);
virtual void slotActivated ();
signals:
@@ -350,19 +350,19 @@ class KActionMenu : KAction
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);
+ KActionMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0);
+ KActionMenu (const TQString&, const TQIconSet&, TQObject* /TransferThis/ = 0, const char* = 0);
+ KActionMenu (const TQString&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0);
+ KActionMenu (TQObject* /TransferThis/ = 0, const char* = 0);
virtual void insert (KAction*, int = -1);
virtual void remove (KAction*);
KPopupMenu* popupMenu () const;
- void popup (const QPoint&);
+ void popup (const TQPoint&);
bool delayed () const;
void setDelayed (bool);
bool stickyMenu () const;
void setStickyMenu (bool);
- virtual int plug (QWidget*, int = -1);
+ virtual int plug (TQWidget*, int = -1);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -382,10 +382,10 @@ class KToolBarPopupAction : KAction
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 TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0);
+ KToolBarPopupAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /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);
+ virtual int plug (TQWidget*, int = -1);
KPopupMenu* popupMenu () const;
bool delayed () const;
void setDelayed (bool);
@@ -410,9 +410,9 @@ class KToggleToolBarAction : KToggleAction
public:
- KToggleToolBarAction (const char*, const QString&, KActionCollection* /TransferThis/, const char*);
- KToggleToolBarAction (KToolBar*, const QString&, KActionCollection* /TransferThis/, const char*);
- virtual int plug (QWidget*, int = -1);
+ KToggleToolBarAction (const char*, const TQString&, KActionCollection* /TransferThis/, const char*);
+ KToggleToolBarAction (KToolBar*, const TQString&, KActionCollection* /TransferThis/, const char*);
+ virtual int plug (TQWidget*, int = -1);
KToolBar* toolBar ();
public slots:
@@ -436,14 +436,14 @@ class KToggleFullScreenAction : KToggleAction
public:
- KToggleFullScreenAction (const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/, QWidget*, const char*);
- void setWindow (QWidget*);
+ KToggleFullScreenAction (const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, TQWidget*, const char*);
+ void setWindow (TQWidget*);
public slots:
virtual void setChecked (bool);
protected:
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -463,11 +463,11 @@ class KWidgetAction : KAction
public:
- KWidgetAction (QWidget*, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*);
- QWidget* widget ();
+ KWidgetAction (TQWidget*, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*);
+ TQWidget* widget ();
void setAutoSized (bool);
- virtual int plug (QWidget*, int = -1);
- virtual void unplug (QWidget*);
+ virtual int plug (TQWidget*, int = -1);
+ virtual void unplug (TQWidget*);
protected slots:
void slotToolbarDestroyed ();
@@ -490,8 +490,8 @@ class KActionSeparator : KAction
public:
- KActionSeparator (QObject* /TransferThis/ = 0, const char* = 0);
- virtual int plug (QWidget*, int = -1);
+ KActionSeparator (TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual int plug (TQWidget*, int = -1);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -511,9 +511,9 @@ class KPasteTextAction : KAction
public:
- KPasteTextAction (const QString&, const QString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), QObject* /TransferThis/ = 0, const char* = 0);
+ KPasteTextAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0);
void setMixedMode (bool);
- virtual int plug (QWidget*, int = -1);
+ virtual int plug (TQWidget*, int = -1);
protected slots:
void menuAboutToShow ();
diff --git a/sip/tdeui/kactioncollection.sip b/sip/tdeui/kactioncollection.sip
index 2ba8bea..3bd6859 100644
--- a/sip/tdeui/kactioncollection.sip
+++ b/sip/tdeui/kactioncollection.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_2_0 - )
-class KActionCollection : QObject
+class KActionCollection : TQObject
{
%TypeHeaderCode
#include <kactioncollection.h>
@@ -34,10 +34,10 @@ class KActionCollection : QObject
public:
- KActionCollection (QWidget* /TransferThis/, const char* = 0, KInstance* = 0);
- KActionCollection (QWidget*, QObject* /TransferThis/, const char* = 0, KInstance* = 0);
+ KActionCollection (TQWidget* /TransferThis/, const char* = 0, KInstance* = 0);
+ KActionCollection (TQWidget*, TQObject* /TransferThis/, const char* = 0, KInstance* = 0);
KActionCollection (const KActionCollection&);
- virtual void setWidget (QWidget*);
+ virtual void setWidget (TQWidget*);
void setAutoConnectShortcuts (bool);
bool isAutoConnectShortcuts ();
bool addDocCollection (KActionCollection*);
@@ -48,19 +48,19 @@ public:
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 TQStringList groups () const;
+ virtual KActionPtrList actions (const TQString&) const;
virtual KActionPtrList actions () const;
- bool readShortcutSettings (const QString& = QString ::null , KConfigBase* = 0);
- bool writeShortcutSettings (const QString& = QString ::null , KConfigBase* = 0) const;
+ bool readShortcutSettings (const TQString& = TQString ::null , KConfigBase* = 0);
+ bool writeShortcutSettings (const TQString& = TQString ::null , KConfigBase* = 0) const;
void setInstance (KInstance*);
KInstance* instance () const;
- void setXMLFile (const QString&);
- const QString& xmlFile () const;
+ void setXMLFile (const TQString&);
+ const TQString& xmlFile () const;
void setHighlightingEnabled (bool);
bool highlightingEnabled () const;
- void connectHighlight (QWidget*, KAction*);
- void disconnectHighlight (QWidget*, KAction*);
+ void connectHighlight (TQWidget*, KAction*);
+ void disconnectHighlight (TQWidget*, KAction*);
%If ( KDE_3_3_0 - )
const KXMLGUIClient* parentGUIClient () const;
@@ -72,11 +72,11 @@ signals:
void removed (KAction*);
void actionHighlighted (KAction*);
void actionHighlighted (KAction*, bool);
- void actionStatusText (const QString&);
+ void actionStatusText (const TQString&);
void clearStatusText ();
public:
- KActionCollection (QObject* /TransferThis/, const char* = 0, KInstance* = 0);
+ KActionCollection (TQObject* /TransferThis/, const char* = 0, KInstance* = 0);
public:
void insert (KAction*);
@@ -103,8 +103,8 @@ public:
%If ( - KDE_3_2_2 )
%If ( D_MANDRAKE )
- virtual QValueList<KAction*> actions (const QString&) const;
- virtual QValueList<KAction*> actions () const;
+ virtual TQValueList<KAction*> actions (const TQString&) const;
+ virtual TQValueList<KAction*> actions () const;
%End
%End
@@ -116,10 +116,10 @@ public:
%If ( KDE_3_2_0 - )
-typedef QValueList<KAction*> KActionPtrList;
+typedef TQValueList<KAction*> KActionPtrList;
%End
%If ( - KDE_3_2_2 )
-//ig typedef QValueList<KAction*> KActionPtrList;
+//ig typedef TQValueList<KAction*> KActionPtrList;
%End
diff --git a/sip/tdeui/kactionselector.sip b/sip/tdeui/kactionselector.sip
index 9e04f3d..87aa45a 100644
--- a/sip/tdeui/kactionselector.sip
+++ b/sip/tdeui/kactionselector.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_3_0 - )
-class KActionSelector : QWidget
+class KActionSelector : TQWidget
{
%TypeHeaderCode
#include <kactionselector.h>
@@ -34,9 +34,9 @@ class KActionSelector : QWidget
public:
- KActionSelector (QWidget* /TransferThis/ = 0, const char* = 0);
- QListBox* availableListBox () const;
- QListBox* selectedListBox () const;
+ KActionSelector (TQWidget* /TransferThis/ = 0, const char* = 0);
+ TQListBox* availableListBox () const;
+ TQListBox* selectedListBox () const;
enum MoveButton
{
@@ -69,10 +69,10 @@ public:
void setMoveOnDoubleClick (bool);
bool keyboardEnabled () const;
void setKeyboardEnabled (bool);
- QString availableLabel () const;
- void setAvailableLabel (const QString&);
- QString selectedLabel () const;
- void setSelectedLabel (const QString&);
+ TQString availableLabel () const;
+ void setAvailableLabel (const TQString&);
+ TQString selectedLabel () const;
+ void setSelectedLabel (const TQString&);
KActionSelector::ButtonIconSize buttonIconSize () const;
void setButtonIconSize (KActionSelector::ButtonIconSize);
KActionSelector::InsertionPolicy availableInsertionPolicy () const;
@@ -81,24 +81,24 @@ public:
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 setButtonIcon (const TQString&, KActionSelector::MoveButton);
+ void setButtonIconSet (const TQIconSet&, KActionSelector::MoveButton);
+ void setButtonTooltip (const TQString&, KActionSelector::MoveButton);
+ void setButtonWhatsThis (const TQString&, KActionSelector::MoveButton);
void setButtonsEnabled ();
signals:
- void added (QListBoxItem*);
- void removed (QListBoxItem*);
- void movedUp (QListBoxItem*);
- void movedDown (QListBoxItem*);
+ void added (TQListBoxItem*);
+ void removed (TQListBoxItem*);
+ void movedUp (TQListBoxItem*);
+ void movedDown (TQListBoxItem*);
public slots:
void polish ();
protected:
- void keyPressEvent (QKeyEvent*);
- bool eventFilter (QObject*, QEvent*);
+ void keyPressEvent (TQKeyEvent*);
+ bool eventFilter (TQObject*, TQEvent*);
}; // class KActionSelector
diff --git a/sip/tdeui/kactionshortcutlist.sip b/sip/tdeui/kactionshortcutlist.sip
index e26b0cf..319db0c 100644
--- a/sip/tdeui/kactionshortcutlist.sip
+++ b/sip/tdeui/kactionshortcutlist.sip
@@ -37,16 +37,16 @@ class KActionShortcutList : KShortcutList
public:
KActionShortcutList (KActionCollection*);
virtual uint count () const;
- virtual QString name (uint) const;
- virtual QString label (uint) const;
- virtual QString whatsThis (uint) const;
+ virtual TQString name (uint) const;
+ virtual TQString label (uint) const;
+ virtual TQString 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 TQVariant getOther (Other, uint) const;
+ virtual bool setOther (Other, uint, TQVariant);
virtual bool save () const;
%If ( KDE_3_3_0 - )
@@ -79,15 +79,15 @@ public:
%End
virtual uint count () const;
- virtual QString name (uint) const;
- virtual QString label (uint) const;
- virtual QString whatsThis (uint) const;
+ virtual TQString name (uint) const;
+ virtual TQString label (uint) const;
+ virtual TQString 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 TQVariant getOther (Other, uint) const;
+ virtual bool setOther (Other, uint, TQVariant);
virtual bool save () const;
protected:
@@ -98,7 +98,7 @@ protected:
public:
%If ( - KDE_3_2_0 )
- KActionPtrShortcutList (QValueList<KAction*>&);
+ KActionPtrShortcutList (TQValueList<KAction*>&);
%End
diff --git a/sip/tdeui/kactivelabel.sip b/sip/tdeui/kactivelabel.sip
index fa38bc5..1a6db51 100644
--- a/sip/tdeui/kactivelabel.sip
+++ b/sip/tdeui/kactivelabel.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KActiveLabel : QTextBrowser
+class KActiveLabel : TQTextBrowser
{
%TypeHeaderCode
#include <kactivelabel.h>
@@ -32,25 +32,25 @@ class KActiveLabel : QTextBrowser
public:
- KActiveLabel (QWidget* /TransferThis/, const char* = 0);
- KActiveLabel (const QString&, QWidget* /TransferThis/, const char* = 0);
+ KActiveLabel (TQWidget* /TransferThis/, const char* = 0);
+ KActiveLabel (const TQString&, TQWidget* /TransferThis/, const char* = 0);
%If ( KDE_3_1_0 - )
- QSize minimumSizeHint () const;
- QSize sizeHint () const;
+ TQSize minimumSizeHint () const;
+ TQSize sizeHint () const;
%End
public slots:
- virtual void openLink (const QString&);
+ virtual void openLink (const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);
- virtual void focusInEvent (QFocusEvent*);
- virtual void focusOutEvent (QFocusEvent*);
+ virtual void focusInEvent (TQFocusEvent*);
+ virtual void focusOutEvent (TQFocusEvent*);
%If ( KDE_3_4_0 - )
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
%End
diff --git a/sip/tdeui/kalphapainter.sip b/sip/tdeui/kalphapainter.sip
index 881e3c3..0917c20 100644
--- a/sip/tdeui/kalphapainter.sip
+++ b/sip/tdeui/kalphapainter.sip
@@ -32,10 +32,10 @@ class KAlphaPainter
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);
+ static bool draw (TQPainter*, const TQImage&, TQImage&, int, int, bool = 0, int = 0, int = 0);
+ static bool draw (TQPainter*, const TQImage&, const TQPixmap&, int, int, bool = 0, int = 0, int = 0);
+ static bool draw (TQPainter*, const TQPixmap&, TQImage&, int, int, bool = 0, int = 0, int = 0);
+ static bool draw (TQPainter*, const TQPixmap&, const TQPixmap&, int, int, int = 0, int = 0);
}; // class KAlphaPainter
diff --git a/sip/tdeui/kanimwidget.sip b/sip/tdeui/kanimwidget.sip
index 21f439f..3e59c57 100644
--- a/sip/tdeui/kanimwidget.sip
+++ b/sip/tdeui/kanimwidget.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAnimWidget : QFrame
+class KAnimWidget : TQFrame
{
%TypeHeaderCode
#include <kanimwidget.h>
@@ -32,15 +32,15 @@ class KAnimWidget : QFrame
public:
- KAnimWidget (const QString&, int = 0, QWidget* /TransferThis/ = 0, const char* = 0);
+ KAnimWidget (const TQString&, int = 0, TQWidget* /TransferThis/ = 0, const char* = 0);
void setSize (int);
%If ( KDE_3_4_0 - )
int size () const;
- QString icons () const;
+ TQString icons () const;
%End
- void setIcons (const QString&);
+ void setIcons (const TQString&);
public slots:
@@ -54,15 +54,15 @@ 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*);
+ virtual void drawContents (TQPainter*);
+ virtual void leaveEvent (TQEvent*);
+ virtual void enterEvent (TQEvent*);
+ virtual void hideEvent (TQHideEvent*);
+ virtual void showEvent (TQShowEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
%If ( KDE_3_1_0 - )
- virtual void mouseReleaseEvent (QMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
%End
@@ -84,7 +84,7 @@ public:
public:
%If ( - KDE_3_2_0 )
-//ig KAnimWidget (QWidget* /TransferThis/ = 0, const char* = 0);
+//ig KAnimWidget (TQWidget* /TransferThis/ = 0, const char* = 0);
%End
diff --git a/sip/tdeui/karrowbutton.sip b/sip/tdeui/karrowbutton.sip
index 3d94594..dcf37b0 100644
--- a/sip/tdeui/karrowbutton.sip
+++ b/sip/tdeui/karrowbutton.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KArrowButton : QPushButton
+class KArrowButton : TQPushButton
{
%TypeHeaderCode
#include <karrowbutton.h>
@@ -32,21 +32,21 @@ class KArrowButton : QPushButton
public:
- KArrowButton (QWidget* /TransferThis/ = 0, Qt::ArrowType = Qt ::UpArrow , const char* = 0);
- virtual QSize sizeHint () const;
+ KArrowButton (TQWidget* /TransferThis/ = 0, TQt::ArrowType = TQt ::UpArrow , const char* = 0);
+ virtual TQSize sizeHint () const;
%If ( KDE_3_4_0 - )
- Qt::ArrowType arrowType () const;
+ TQt::ArrowType arrowType () const;
int arrowTp () const;
void setArrowTp (int);
%End
public slots:
- void setArrowType (Qt::ArrowType);
+ void setArrowType (TQt::ArrowType);
protected:
- virtual void drawButton (QPainter*);
+ virtual void drawButton (TQPainter*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kauthicon.sip b/sip/tdeui/kauthicon.sip
index 2ff31fe..b5c1bbc 100644
--- a/sip/tdeui/kauthicon.sip
+++ b/sip/tdeui/kauthicon.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KAuthIcon : QWidget
+class KAuthIcon : TQWidget
{
%TypeHeaderCode
#include <kauthicon.h>
@@ -32,8 +32,8 @@ class KAuthIcon : QWidget
public:
- KAuthIcon (QWidget* /TransferThis/ = 0, const char* = 0);
- virtual QSize sizeHint () const;
+ KAuthIcon (TQWidget* /TransferThis/ = 0, const char* = 0);
+ virtual TQSize sizeHint () const;
virtual bool status () const = 0;
public slots:
@@ -58,7 +58,7 @@ class KRootPermsIcon : KAuthIcon
public:
- KRootPermsIcon (QWidget* /TransferThis/ = 0, const char* = 0);
+ KRootPermsIcon (TQWidget* /TransferThis/ = 0, const char* = 0);
bool status () const;
public slots:
@@ -80,12 +80,12 @@ class KWritePermsIcon : KAuthIcon
public:
- KWritePermsIcon (const QString&, QWidget* /TransferThis/ = 0, const char* = 0);
+ KWritePermsIcon (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0);
bool status () const;
- void setFileName (const QString&);
+ void setFileName (const TQString&);
%If ( KDE_3_4_0 - )
- QString fileName () const;
+ TQString fileName () const;
%End
diff --git a/sip/tdeui/kbugreport.sip b/sip/tdeui/kbugreport.sip
index 558f767..8454063 100644
--- a/sip/tdeui/kbugreport.sip
+++ b/sip/tdeui/kbugreport.sip
@@ -32,19 +32,19 @@ class KBugReport : KDialogBase
public:
- KBugReport (QWidget* /TransferThis/ = 0, bool = 1, const KAboutData* = 0);
+ KBugReport (TQWidget* /TransferThis/ = 0, bool = 1, const KAboutData* = 0);
protected slots:
virtual void slotConfigureEmail ();
virtual void slotSetFrom ();
- virtual void slotUrlClicked (const QString&);
+ virtual void slotUrlClicked (const TQString&);
virtual void slotOk ();
virtual void slotCancel ();
void appChanged (int);
void updateURL ();
protected:
- QString text ();
+ TQString text ();
bool sendBugReport ();
protected:
diff --git a/sip/tdeui/kbuttonbox.sip b/sip/tdeui/kbuttonbox.sip
index 4a62fec..6f764ea 100644
--- a/sip/tdeui/kbuttonbox.sip
+++ b/sip/tdeui/kbuttonbox.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KButtonBox : QWidget
+class KButtonBox : TQWidget
{
%TypeHeaderCode
#include <kbuttonbox.h>
@@ -32,25 +32,25 @@ class KButtonBox : QWidget
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);
+ KButtonBox (TQWidget* /TransferThis/, Orientation = Horizontal , int = 0, int = 6);
+ virtual TQSize sizeHint () const;
+ virtual TQSizePolicy sizePolicy () const;
+ virtual void resizeEvent (TQResizeEvent*);
+ TQPushButton* addButton (const TQString&, bool = 0);
+ TQPushButton* addButton (const TQString&, 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);
+ TQPushButton* addButton (const KGuiItem&, bool = 0);
+ TQPushButton* addButton (const KGuiItem&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 0);
%End
void addStretch (int = 1);
void layout ();
protected:
- QSize bestButtonSize () const;
+ TQSize bestButtonSize () const;
void placeButtons ();
- QSize buttonSizeHint (QPushButton*) const;
+ TQSize buttonSizeHint (TQPushButton*) const;
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kcharselect.sip b/sip/tdeui/kcharselect.sip
index d2f24d3..e6d8373 100644
--- a/sip/tdeui/kcharselect.sip
+++ b/sip/tdeui/kcharselect.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KCharSelectTable : QGridView
+class KCharSelectTable : TQGridView
{
%TypeHeaderCode
#include <kcharselect.h>
@@ -32,33 +32,33 @@ class KCharSelectTable : QGridView
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&);
+ KCharSelectTable (TQWidget* /TransferThis/, const char*, const TQString&, const TQChar&, int);
+ virtual TQSize sizeHint () const;
+ virtual void resizeEvent (TQResizeEvent*);
+ virtual void setFont (const TQString&);
+ virtual void setChar (const TQChar&);
virtual void setTableNum (int);
- virtual QChar chr ();
+ virtual TQChar 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*);
+ virtual void paintCell (TQPainter*, int, int);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseDoubleClickEvent (TQMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
void gotoLeft ();
void gotoRight ();
void gotoUp ();
void gotoDown ();
signals:
- void highlighted (const QChar&);
+ void highlighted (const TQChar&);
void highlighted ();
- void activated (const QChar&);
+ void activated (const TQChar&);
void activated ();
void focusItemChanged ();
- void focusItemChanged (const QChar&);
+ void focusItemChanged (const TQChar&);
void tableUp ();
void tableDown ();
void doubleClicked ();
@@ -69,7 +69,7 @@ protected:
}; // class KCharSelectTable
-class KCharSelect : QVBox
+class KCharSelect : TQVBox
{
%TypeHeaderCode
#include <kcharselect.h>
@@ -77,13 +77,13 @@ class KCharSelect : QVBox
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&);
+ KCharSelect (TQWidget* /TransferThis/, const char*, const TQString& = TQString ::null , const TQChar& = ' ', int = 0);
+ virtual TQSize sizeHint () const;
+ virtual void setFont (const TQString&);
+ virtual void setChar (const TQChar&);
virtual void setTableNum (int);
- virtual QChar chr () const;
- virtual QString font () const;
+ virtual TQChar chr () const;
+ virtual TQString font () const;
virtual int tableNum () const;
virtual void enableFontCombo (bool);
virtual void enableTableSpinBox (bool);
@@ -95,32 +95,32 @@ protected:
static void cleanupFontDatabase ();
protected slots:
- void fontSelected (const QString&);
+ void fontSelected (const TQString&);
void tableChanged (int);
- void charHighlighted (const QChar&);
+ void charHighlighted (const TQChar&);
void charHighlighted ();
- void charActivated (const QChar&);
+ void charActivated (const TQChar&);
void charActivated ();
void charFocusItemChanged ();
- void charFocusItemChanged (const QChar&);
+ void charFocusItemChanged (const TQChar&);
void charTableUp ();
void charTableDown ();
void slotDoubleClicked ();
%If ( KDE_3_3_0 - )
void slotUnicodeEntered ();
- void slotUpdateUnicode (const QChar&);
+ void slotUpdateUnicode (const TQChar&);
%End
signals:
- void highlighted (const QChar&);
+ void highlighted (const TQChar&);
void highlighted ();
- void activated (const QChar&);
+ void activated (const TQChar&);
void activated ();
- void fontChanged (const QString&);
+ void fontChanged (const TQString&);
void focusItemChanged ();
- void focusItemChanged (const QChar&);
+ void focusItemChanged (const TQChar&);
void doubleClicked ();
protected:
diff --git a/sip/tdeui/kcmenumngr.sip b/sip/tdeui/kcmenumngr.sip
index d3f89c3..65a1c13 100644
--- a/sip/tdeui/kcmenumngr.sip
+++ b/sip/tdeui/kcmenumngr.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KContextMenuManager : QObject
+class KContextMenuManager : TQObject
{
%TypeHeaderCode
#include <kcmenumngr.h>
@@ -32,11 +32,11 @@ class KContextMenuManager : QObject
public:
- static void insert (QWidget*, QPopupMenu*);
+ static void insert (TQWidget*, TQPopupMenu*);
static bool showOnButtonPress ();
private:
- KContextMenuManager (QObject* /TransferThis/ = 0, const char* = 0);
+ KContextMenuManager (TQObject* /TransferThis/ = 0, const char* = 0);
~KContextMenuManager ();
}; // class KContextMenuManager
diff --git a/sip/tdeui/kcmodule.sip b/sip/tdeui/kcmodule.sip
index 8e37799..c381987 100644
--- a/sip/tdeui/kcmodule.sip
+++ b/sip/tdeui/kcmodule.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KCModule : QWidget
+class KCModule : TQWidget
{
%TypeHeaderCode
#include <kcmodule.h>
@@ -44,13 +44,13 @@ public:
SysDefault
};
- KCModule (QWidget* /TransferThis/ = 0, const char* = 0, const QStringList& = QStringList ());
- KCModule (KInstance*, QWidget* /TransferThis/ = 0, const QStringList& = QStringList ());
+ KCModule (TQWidget* /TransferThis/ = 0, const char* = 0, const TQStringList& = TQStringList ());
+ KCModule (KInstance*, TQWidget* /TransferThis/ = 0, const TQStringList& = TQStringList ());
virtual void load ();
virtual void save ();
virtual void defaults ();
virtual void sysdefaults ();
- virtual QString quickHelp () const;
+ virtual TQString tquickHelp () const;
virtual const KAboutData* aboutData () const;
%If ( KDE_3_3_0 - )
@@ -58,26 +58,26 @@ public:
%End
int buttons ();
- QString rootOnlyMsg () const;
+ TQString rootOnlyMsg () const;
bool useRootOnlyMsg () const;
KInstance* instance () const;
%If ( KDE_3_4_0 - )
- const QPtrList<KConfigDialogManager>& configs () const;
+ const TQPtrList<KConfigDialogManager>& configs () const;
%End
protected:
%If ( KDE_3_3_0 - )
- KConfigDialogManager* addConfig (KConfigSkeleton*, QWidget*);
- void setQuickHelp (const QString&);
+ KConfigDialogManager* addConfig (KConfigSkeleton*, TQWidget*);
+ void setQuickHelp (const TQString&);
%End
signals:
void changed (bool);
- void quickHelpChanged ();
+ void tquickHelpChanged ();
protected slots:
@@ -93,7 +93,7 @@ protected slots:
protected:
void setButtons (int);
- void setRootOnlyMsg (const QString&);
+ void setRootOnlyMsg (const TQString&);
void setUseRootOnlyMsg (bool);
%If ( KDE_3_5_0 - )
@@ -110,7 +110,7 @@ protected:
%If (KDE_3_3_0 - )
-%MappedType QPtrList<KConfigDialogManager>
+%MappedType TQPtrList<KConfigDialogManager>
//converts a Python list of KConfigDialogManager
{
%TypeHeaderCode
@@ -130,7 +130,7 @@ protected:
// Get it.
- QPtrList<KConfigDialogManager> *cpplist = (QPtrList<KConfigDialogManager> *)sipCpp;
+ TQPtrList<KConfigDialogManager> *cpplist = (TQPtrList<KConfigDialogManager> *)sipCpp;
KConfigDialogManager *cpp;
PyObject *inst;
@@ -152,7 +152,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KConfigDialogManager> *cpplist = new QPtrList<KConfigDialogManager>;
+ TQPtrList<KConfigDialogManager> *cpplist = new TQPtrList<KConfigDialogManager>;
PyObject *elem;
KConfigDialogManager *cpp;
diff --git a/sip/tdeui/kcolorbtn.sip b/sip/tdeui/kcolorbtn.sip
index 8ca3db3..b072293 100644
--- a/sip/tdeui/kcolorbtn.sip
+++ b/sip/tdeui/kcolorbtn.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KColorButton : QPushButton
+class KColorButton : TQPushButton
{
%TypeHeaderCode
#include <kcolorbtn.h>
@@ -32,23 +32,23 @@ class KColorButton : QPushButton
public:
- KColorButton (QWidget*/TransferThis/, const char* = 0);
- KColorButton (const QColor&, QWidget*/TransferThis/, const char* = 0);
- QColor color () const;
- void setColor (const QColor&);
+ KColorButton (TQWidget*/TransferThis/, const char* = 0);
+ KColorButton (const TQColor&, TQWidget*/TransferThis/, const char* = 0);
+ TQColor color () const;
+ void setColor (const TQColor&);
signals:
- void changed (const QColor&);
+ void changed (const TQColor&);
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*);
+ virtual void drawButtonLabel (TQPainter*);
+ virtual void dragEnterEvent (TQDragEnterEvent*);
+ virtual void dropEvent (TQDropEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
}; // class KColorButton
diff --git a/sip/tdeui/kcolorcombo.sip b/sip/tdeui/kcolorcombo.sip
index 21fa8e4..358455b 100644
--- a/sip/tdeui/kcolorcombo.sip
+++ b/sip/tdeui/kcolorcombo.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KColorCombo : QComboBox
+class KColorCombo : TQComboBox
{
%TypeHeaderCode
#include <kcolorcombo.h>
@@ -32,17 +32,17 @@ class KColorCombo : QComboBox
public:
- KColorCombo (QWidget* /TransferThis/, const char* = 0);
- void setColor (const QColor&);
- QColor color ();
+ KColorCombo (TQWidget* /TransferThis/, const char* = 0);
+ void setColor (const TQColor&);
+ TQColor color ();
void showEmptyList ();
signals:
- void activated (const QColor&);
- void highlighted (const QColor&);
+ void activated (const TQColor&);
+ void highlighted (const TQColor&);
protected:
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kcolordialog.sip b/sip/tdeui/kcolordialog.sip
index a1e8bd7..803d03f 100644
--- a/sip/tdeui/kcolordialog.sip
+++ b/sip/tdeui/kcolordialog.sip
@@ -32,12 +32,12 @@ class KHSSelector : KXYSelector
public:
- KHSSelector (QWidget* /TransferThis/ = 0, const char* = 0);
+ KHSSelector (TQWidget* /TransferThis/ = 0, const char* = 0);
protected:
- virtual void drawPalette (QPixmap*);
- virtual void resizeEvent (QResizeEvent*);
- virtual void drawContents (QPainter*);
+ virtual void drawPalette (TQPixmap*);
+ virtual void resizeEvent (TQResizeEvent*);
+ virtual void drawContents (TQPainter*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -53,8 +53,8 @@ class KValueSelector : KSelector
public:
- KValueSelector (QWidget* /TransferThis/ = 0, const char* = 0);
- KValueSelector (Orientation, QWidget* /TransferThis/ = 0, const char* = 0);
+ KValueSelector (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KValueSelector (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0);
int hue () const;
void setHue (int);
int saturation () const;
@@ -62,9 +62,9 @@ public:
void updateContents ();
protected:
- virtual void drawPalette (QPixmap*);
- virtual void resizeEvent (QResizeEvent*);
- virtual void drawContents (QPainter*);
+ virtual void drawPalette (TQPixmap*);
+ virtual void resizeEvent (TQResizeEvent*);
+ virtual void drawContents (TQPainter*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -72,7 +72,7 @@ protected:
}; // class KValueSelector
-class KColor : QColor
+class KColor : TQColor
{
%TypeHeaderCode
#include <kcolordialog.h>
@@ -82,7 +82,7 @@ class KColor : QColor
public:
KColor ();
KColor (const KColor&);
- KColor (const QColor&);
+ KColor (const TQColor&);
%If ( KDE_3_1_4 - )
bool operator == (const KColor&) const;
@@ -98,7 +98,7 @@ protected:
}; // class KColor
-class KPaletteTable : QWidget
+class KPaletteTable : TQWidget
{
%TypeHeaderCode
#include <kcolordialog.h>
@@ -106,23 +106,23 @@ class KPaletteTable : QWidget
public:
- KPaletteTable (QWidget* /TransferThis/, int = 210, int = 16);
- void addToCustomColors (const QColor&);
- void addToRecentColors (const QColor&);
- QString palette ();
+ KPaletteTable (TQWidget* /TransferThis/, int = 210, int = 16);
+ void addToCustomColors (const TQColor&);
+ void addToRecentColors (const TQColor&);
+ TQString palette ();
public slots:
- void setPalette (const QString&);
+ void setPalette (const TQString&);
signals:
- void colorSelected (const QColor&, const QString&);
- void colorDoubleClicked (const QColor&, const QString&);
+ void colorSelected (const TQColor&, const TQString&);
+ void colorDoubleClicked (const TQColor&, const TQString&);
protected slots:
void slotColorCellSelected (int);
void slotColorCellDoubleClicked (int);
- void slotColorTextSelected (const QString&);
- void slotSetPalette (const QString&);
+ void slotColorTextSelected (const TQString&);
+ void slotSetPalette (const TQString&);
void slotShowNamedColorReadError ();
protected:
@@ -136,7 +136,7 @@ protected:
}; // class KPaletteTable
-class KColorCells : QGridView
+class KColorCells : TQGridView
{
%TypeHeaderCode
#include <kcolordialog.h>
@@ -144,9 +144,9 @@ class KColorCells : QGridView
public:
- KColorCells (QWidget* /TransferThis/, int, int);
- void setColor (int, const QColor&);
- QColor color (int) const;
+ KColorCells (TQWidget* /TransferThis/, int, int);
+ void setColor (int, const TQColor&);
+ TQColor color (int) const;
int numCells () const;
void setShading (bool);
void setAcceptDrags (bool);
@@ -157,15 +157,15 @@ signals:
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);
+ virtual void paintCell (TQPainter*, int, int);
+ virtual void resizeEvent (TQResizeEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
+ virtual void dragEnterEvent (TQDragEnterEvent*);
+ virtual void dropEvent (TQDropEvent*);
+ virtual void mouseDoubleClickEvent (TQMouseEvent*);
+ int posToCell (const TQPoint&, bool = 0);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -173,7 +173,7 @@ protected:
}; // class KColorCells
-class KColorPatch : QFrame
+class KColorPatch : TQFrame
{
%TypeHeaderCode
#include <kcolordialog.h>
@@ -181,17 +181,17 @@ class KColorPatch : QFrame
public:
- KColorPatch (QWidget* /TransferThis/);
- void setColor (const QColor&);
+ KColorPatch (TQWidget* /TransferThis/);
+ void setColor (const TQColor&);
signals:
- void colorChanged (const QColor&);
+ void colorChanged (const TQColor&);
protected:
- virtual void drawContents (QPainter*);
- virtual void mouseMoveEvent (QMouseEvent*);
- virtual void dragEnterEvent (QDragEnterEvent*);
- virtual void dropEvent (QDropEvent*);
+ virtual void drawContents (TQPainter*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
+ virtual void dragEnterEvent (TQDragEnterEvent*);
+ virtual void dropEvent (TQDropEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -207,26 +207,26 @@ class KColorDialog : KDialogBase
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;
+ KColorDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
+ TQColor color ();
+ static int getColor (TQColor&, TQWidget* /Transfer/ = 0);
+ static int getColor (TQColor&, const TQColor&, TQWidget* /Transfer/ = 0);
+ static TQColor grabColor (const TQPoint&);
+ void setDefaultColor (const TQColor&);
+ TQColor defaultColor () const;
public slots:
- void setColor (const QColor&);
+ void setColor (const TQColor&);
signals:
- void colorSelected (const QColor&);
+ void colorSelected (const TQColor&);
protected:
- virtual void mouseReleaseEvent (QMouseEvent*);
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
%If ( KDE_3_2_0 - )
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
%End
diff --git a/sip/tdeui/kcolordrag.sip b/sip/tdeui/kcolordrag.sip
index 8ef7347..804aa75 100644
--- a/sip/tdeui/kcolordrag.sip
+++ b/sip/tdeui/kcolordrag.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KColorDrag : QStoredDrag
+class KColorDrag : TQStoredDrag
{
%TypeHeaderCode
#include <kcolordrag.h>
@@ -32,18 +32,18 @@ class KColorDrag : QStoredDrag
public:
- KColorDrag (QWidget* = 0, const char* = 0);
- KColorDrag (const QColor&, QWidget* = 0, const char* = 0);
+ KColorDrag (TQWidget* = 0, const char* = 0);
+ KColorDrag (const TQColor&, TQWidget* = 0, const char* = 0);
%If ( KDE_3_2_0 - )
virtual const char* format (int) const;
- virtual QByteArray encodedData (const char*) const;
+ virtual TQByteArray encodedData (const char*) const;
%End
- void setColor (const QColor&);
- static bool canDecode (QMimeSource*);
- static bool decode (QMimeSource*, QColor&);
- static KColorDrag* makeDrag (const QColor&, QWidget*);
+ void setColor (const TQColor&);
+ static bool canDecode (TQMimeSource*);
+ static bool decode (TQMimeSource*, TQColor&);
+ static KColorDrag* makeDrag (const TQColor&, TQWidget*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kcombobox.sip b/sip/tdeui/kcombobox.sip
index 956c0a8..0873a04 100644
--- a/sip/tdeui/kcombobox.sip
+++ b/sip/tdeui/kcombobox.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KComboBox : QComboBox, KCompletionBase
+class KComboBox : TQComboBox, KCompletionBase
{
%TypeHeaderCode
#include <kcombobox.h>
@@ -32,13 +32,13 @@ class KComboBox : QComboBox, KCompletionBase
public:
- KComboBox (QWidget* /TransferThis/ = 0, const char* = 0);
- KComboBox (bool, QWidget* /TransferThis/ = 0, const char* = 0);
+ KComboBox (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KComboBox (bool, TQWidget* /TransferThis/ = 0, const char* = 0);
void setEditURL (const KURL&);
void insertURL (const KURL&, int = -1);
- void insertURL (const QPixmap&, const KURL&, int = -1);
+ void insertURL (const TQPixmap&, const KURL&, int = -1);
void changeURL (const KURL&, int);
- void changeURL (const QPixmap&, const KURL&, int);
+ void changeURL (const TQPixmap&, const KURL&, int);
int cursorPosition () const;
virtual void setAutoCompletion (bool);
bool autoCompletion () const;
@@ -46,39 +46,39 @@ public:
bool isContextMenuEnabled () const;
void setURLDropsEnabled (bool);
bool isURLDropsEnabled () const;
- bool contains (const QString&) const;
+ bool contains (const TQString&) const;
void setTrapReturnKey (bool);
bool trapReturnKey () const;
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
KCompletionBox* completionBox (bool);
- virtual void setLineEdit (QLineEdit*);
+ virtual void setLineEdit (TQLineEdit*);
signals:
void returnPressed ();
- void returnPressed (const QString&);
- void completion (const QString&);
- void substringCompletion (const QString&);
+ void returnPressed (const TQString&);
+ void completion (const TQString&);
+ void substringCompletion (const TQString&);
void textRotation (KCompletionBase::KeyBindingType);
void completionModeChanged (KGlobalSettings::Completion);
- void aboutToShowContextMenu (QPopupMenu*);
+ void aboutToShowContextMenu (TQPopupMenu*);
public slots:
void rotateText (KCompletionBase::KeyBindingType);
- virtual void setCompletedText (const QString&);
- void setCompletedItems (const QStringList&);
- void setCurrentItem (const QString&, bool = 0, int = -1);
+ virtual void setCompletedText (const TQString&);
+ void setCompletedItems (const TQStringList&);
+ void setCurrentItem (const TQString&, bool = 0, int = -1);
void setCurrentItem (int);
protected slots:
- virtual void itemSelected (QListBoxItem*);
- virtual void makeCompletion (const QString&);
+ virtual void itemSelected (TQListBoxItem*);
+ virtual void makeCompletion (const TQString&);
protected:
- virtual void setCompletedText (const QString&, bool);
+ virtual void setCompletedText (const TQString&, bool);
virtual void create (WId = 0, bool = 1, bool = 1);
%If ( KDE_3_1_0 - )
- virtual void wheelEvent (QWheelEvent*);
+ virtual void wheelEvent (TQWheelEvent*);
%End
@@ -96,31 +96,31 @@ class KHistoryCombo : KComboBox
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&);
+ KHistoryCombo (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KHistoryCombo (bool, TQWidget* /TransferThis/ = 0, const char* = 0);
+ void setHistoryItems (TQStringList);
+ void setHistoryItems (TQStringList, bool);
+ TQStringList historyItems () const;
+ bool removeFromHistory (const TQString&);
void setPixmapProvider (KPixmapProvider*);
KPixmapProvider* pixmapProvider () const;
void reset ();
public slots:
- void addToHistory (const QString&);
+ void addToHistory (const TQString&);
void clearHistory ();
signals:
void cleared ();
protected:
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
%If ( KDE_3_1_0 - )
- virtual void wheelEvent (QWheelEvent*);
+ virtual void wheelEvent (TQWheelEvent*);
%End
- void insertItems (const QStringList&);
+ void insertItems (const TQStringList&);
bool useCompletion ();
protected:
diff --git a/sip/tdeui/kcommand.sip b/sip/tdeui/kcommand.sip
index 09f5aeb..4a9d206 100644
--- a/sip/tdeui/kcommand.sip
+++ b/sip/tdeui/kcommand.sip
@@ -37,7 +37,7 @@ protected:
public:
virtual void execute () = 0;
virtual void unexecute () = 0;
- virtual QString name () const = 0;
+ virtual TQString name () const = 0;
protected:
//igx virtual void virtual_hook (int, void*);
@@ -53,11 +53,11 @@ class KNamedCommand : KCommand
protected:
- KNamedCommand (const QString&);
+ KNamedCommand (const TQString&);
public:
- virtual QString name () const;
- void setName (const QString&);
+ virtual TQString name () const;
+ void setName (const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -73,7 +73,7 @@ class KMacroCommand : KNamedCommand
public:
- KMacroCommand (const QString&);
+ KMacroCommand (const TQString&);
void addCommand (KCommand*);
virtual void execute ();
virtual void unexecute ();
@@ -86,7 +86,7 @@ protected:
}; // class KMacroCommand
-class KCommandHistory : QObject
+class KCommandHistory : TQObject
{
%TypeHeaderCode
#include <kcommand.h>
diff --git a/sip/tdeui/kcompletionbox.sip b/sip/tdeui/kcompletionbox.sip
index f6cec4a..ba1fd9c 100644
--- a/sip/tdeui/kcompletionbox.sip
+++ b/sip/tdeui/kcompletionbox.sip
@@ -32,8 +32,8 @@ class KCompletionBox : KListBox
public:
- KCompletionBox (QWidget* /TransferThis/, const char* = 0);
- virtual QSize sizeHint () const;
+ KCompletionBox (TQWidget* /TransferThis/, const char* = 0);
+ virtual TQSize sizeHint () const;
%If ( KDE_3_4_3 - )
bool activateOnSelect () const;
@@ -41,14 +41,14 @@ public:
public slots:
- QStringList items () const;
- void insertItems (const QStringList&, int = -1);
- void setItems (const QStringList&);
+ TQStringList items () const;
+ void insertItems (const TQStringList&, int = -1);
+ void setItems (const TQStringList&);
virtual void popup ();
void setTabHandling (bool);
bool isTabHandling () const;
- void setCancelledText (const QString&);
- QString cancelledText () const;
+ void setCancelledText (const TQString&);
+ TQString cancelledText () const;
%If ( KDE_3_4_3 - )
void setActivateOnSelect (bool);
@@ -64,20 +64,20 @@ public slots:
virtual void hide ();
signals:
- void activated (const QString&);
- void userCancelled (const QString&);
+ void activated (const TQString&);
+ void userCancelled (const TQString&);
protected:
%If ( KDE_3_2_0 - )
- QRect calculateGeometry () const;
+ TQRect calculateGeometry () const;
void sizeAndPosition ();
%End
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
protected slots:
- virtual void slotActivated (QListBoxItem*);
+ virtual void slotActivated (TQListBoxItem*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kconfigdialog.sip b/sip/tdeui/kconfigdialog.sip
index f6db24f..ad12eaa 100644
--- a/sip/tdeui/kconfigdialog.sip
+++ b/sip/tdeui/kconfigdialog.sip
@@ -39,11 +39,11 @@ signals:
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);
+ KConfigDialog (TQWidget* /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 (TQWidget*, const TQString&, const TQString&, const TQString& = TQString ::null , bool = 1);
%If ( KDE_3_3_0 - )
- void addPage (QWidget*, KConfigSkeleton*, const QString&, const QString&, const QString& = QString ::null );
+ void addPage (TQWidget*, KConfigSkeleton*, const TQString&, const TQString&, const TQString& = TQString ::null );
%End
static KConfigDialog* exists (const char*);
diff --git a/sip/tdeui/kcontainer.sip b/sip/tdeui/kcontainer.sip
index 6b57a6a..862bd4d 100644
--- a/sip/tdeui/kcontainer.sip
+++ b/sip/tdeui/kcontainer.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KContainerLayout : QFrame
+class KContainerLayout : TQFrame
{
%TypeHeaderCode
#include <kcontainer.h>
@@ -39,10 +39,10 @@ public:
Vertical
};
- KContainerLayout (QWidget*/TransferThis/ = 0, const char* = 0, int = KContainerLayout::Horizontal, bool = 0, int = 5, WFlags = 0, bool = 1);
+ KContainerLayout (TQWidget*/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);
+ int packStart (TQWidget*, bool = 0, bool = 0, int = 1);
+ int packEnd (TQWidget*, bool = 0, bool = 0, int = 1);
void setOrientation (int);
void setHomogeneos (bool);
void setSpacing (int);
@@ -60,16 +60,16 @@ protected:
//ig class KContainerLayoutItem;
void recalcLayout ();
-//ig QSize widgetSize (KContainerLayout::KContainerLayoutItem*);
+//ig TQSize widgetSize (KContainerLayout::KContainerLayoutItem*);
void repositionWidgets ();
int numberOfWidgetsWithExpand ();
void calculateSizeHint ();
- QSize sizeOfLargerWidget ();
-//ig QSize idealSizeOfWidget (KContainerLayout::KContainerLayoutItem*);
+ TQSize sizeOfLargerWidget ();
+//ig TQSize idealSizeOfWidget (KContainerLayout::KContainerLayoutItem*);
bool horizontal () const;
- virtual void resizeEvent (QResizeEvent*);
- virtual bool eventFilter (QObject*, QEvent*);
- virtual QSize sizeHint () const;
+ virtual void resizeEvent (TQResizeEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
+ virtual TQSize sizeHint () const;
}; // class KContainerLayout
diff --git a/sip/tdeui/kcursor.sip b/sip/tdeui/kcursor.sip
index 2ad3e34..13ade50 100644
--- a/sip/tdeui/kcursor.sip
+++ b/sip/tdeui/kcursor.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KCursor : Qt
+class KCursor : TQt
{
%TypeHeaderCode
#include <kcursor.h>
@@ -33,25 +33,25 @@ class KCursor : Qt
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 TQCursor handCursor ();
+ static TQCursor workingCursor ();
+ static TQCursor arrowCursor ();
+ static TQCursor upArrowCursor ();
+ static TQCursor crossCursor ();
+ static TQCursor waitCursor ();
+ static TQCursor ibeamCursor ();
+ static TQCursor sizeVerCursor ();
+ static TQCursor sizeHorCursor ();
+ static TQCursor sizeBDiagCursor ();
+ static TQCursor sizeFDiagCursor ();
+ static TQCursor sizeAllCursor ();
+ static TQCursor blankCursor ();
+ static TQCursor whatsThisCursor ();
+ static void setAutoHideCursor (TQWidget*, bool);
+ static void setAutoHideCursor (TQWidget*, bool, bool);
static void setHideCursorDelay (int);
static int hideCursorDelay ();
- static void autoHideEventFilter (QObject*, QEvent*);
+ static void autoHideEventFilter (TQObject*, TQEvent*);
}; // class KCursor
diff --git a/sip/tdeui/kdatepicker.sip b/sip/tdeui/kdatepicker.sip
index ebd697e..5d0862e 100644
--- a/sip/tdeui/kdatepicker.sip
+++ b/sip/tdeui/kdatepicker.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDatePicker : QFrame
+class KDatePicker : TQFrame
{
%TypeHeaderCode
#include <kdatepicker.h>
@@ -32,17 +32,17 @@ class KDatePicker : QFrame
public:
- KDatePicker (QWidget* /TransferThis/ = 0, QDate = QDate ::currentDate (), const char* = 0);
+ KDatePicker (TQWidget* /TransferThis/ = 0, TQDate = TQDate ::currentDate (), const char* = 0);
%If ( KDE_3_1_0 - )
- KDatePicker (QWidget* /TransferThis/, QDate, const char*, WFlags);
- KDatePicker (QWidget* /TransferThis/, const char*);
+ KDatePicker (TQWidget* /TransferThis/, TQDate, const char*, WFlags);
+ KDatePicker (TQWidget* /TransferThis/, const char*);
%End
- QSize sizeHint () const;
- bool setDate (const QDate&);
- const QDate& getDate () const;
- const QDate& date () const;
+ TQSize sizeHint () const;
+ bool setDate (const TQDate&);
+ const TQDate& getDate () const;
+ const TQDate& date () const;
void setEnabled (bool);
%If ( KDE_3_2_0 - )
@@ -61,13 +61,13 @@ public:
protected:
%If ( KDE_3_1_0 - )
- virtual bool eventFilter (QObject*, QEvent*);
- virtual void resizeEvent (QResizeEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
%End
protected slots:
- void dateChangedSlot (QDate);
+ void dateChangedSlot (TQDate);
void tableClickedSlot ();
void monthForwardClicked ();
void monthBackwardClicked ();
@@ -89,9 +89,9 @@ protected slots:
signals:
- void dateChanged (QDate);
- void dateSelected (QDate);
- void dateEntered (QDate);
+ void dateChanged (TQDate);
+ void dateSelected (TQDate);
+ void dateEntered (TQDate);
void tableClicked ();
protected:
@@ -100,7 +100,7 @@ protected:
protected:
%If ( - KDE_3_1_0 )
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
%End
diff --git a/sip/tdeui/kdatepik.sip b/sip/tdeui/kdatepik.sip
index a5e6505..509ca57 100644
--- a/sip/tdeui/kdatepik.sip
+++ b/sip/tdeui/kdatepik.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDatePicker : QFrame
+class KDatePicker : TQFrame
{
%TypeHeaderCode
#include <kdatepik.h>
@@ -32,19 +32,19 @@ class KDatePicker : QFrame
public:
- KDatePicker (QWidget*/TransferThis/ = 0, QDate = QDate::currentDate(), const char* = 0);
- QSize sizeHint () const;
- bool setDate (const QDate&);
- const QDate& getDate ();
+ KDatePicker (TQWidget*/TransferThis/ = 0, TQDate = TQDate::currentDate(), const char* = 0);
+ TQSize sizeHint () const;
+ bool setDate (const TQDate&);
+ const TQDate& getDate ();
void setEnabled (bool);
void setFontSize (int);
int fontSize () const;
protected:
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
protected slots:
- void dateChangedSlot (QDate);
+ void dateChangedSlot (TQDate);
void tableClickedSlot ();
void monthForwardClicked ();
void monthBackwardClicked ();
@@ -55,9 +55,9 @@ protected slots:
void lineEnterPressed ();
signals:
- void dateChanged (QDate);
- void dateSelected (QDate);
- void dateEntered (QDate);
+ void dateChanged (TQDate);
+ void dateSelected (TQDate);
+ void dateEntered (TQDate);
void tableClicked ();
}; // class KDatePicker
diff --git a/sip/tdeui/kdatetbl.sip b/sip/tdeui/kdatetbl.sip
index 58186d2..3de37b7 100644
--- a/sip/tdeui/kdatetbl.sip
+++ b/sip/tdeui/kdatetbl.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_1_0 - )
-class KDateInternalWeekSelector : QLineEdit
+class KDateInternalWeekSelector : TQLineEdit
{
%TypeHeaderCode
#include <kdatetbl.h>
@@ -49,7 +49,7 @@ signals:
public:
%If ( KDE_3_2_0 - )
- KDateInternalWeekSelector (QWidget* /TransferThis/ = 0, const char* = 0);
+ KDateInternalWeekSelector (TQWidget* /TransferThis/ = 0, const char* = 0);
%End
int getWeek ();
@@ -58,7 +58,7 @@ public:
public:
%If ( - KDE_3_2_0 )
- KDateInternalWeekSelector (int, QWidget* /TransferThis/ = 0, const char* = 0);
+ KDateInternalWeekSelector (int, TQWidget* /TransferThis/ = 0, const char* = 0);
%End
@@ -67,7 +67,7 @@ public:
%End
-class KDateInternalMonthPicker : QGridView
+class KDateInternalMonthPicker : TQGridView
{
%TypeHeaderCode
#include <kdatetbl.h>
@@ -82,49 +82,49 @@ signals:
public:
%If ( KDE_3_2_0 - )
- KDateInternalMonthPicker (const QDate&, QWidget* /TransferThis/, const char* = 0);
+ KDateInternalMonthPicker (const TQDate&, TQWidget* /TransferThis/, const char* = 0);
%End
- QSize sizeHint () const;
+ TQSize sizeHint () const;
int getResult () const;
protected:
- void setupPainter (QPainter*);
+ void setupPainter (TQPainter*);
%If ( KDE_3_0_1 - )
- virtual void viewportResizeEvent (QResizeEvent*);
+ virtual void viewportResizeEvent (TQResizeEvent*);
%End
- virtual void paintCell (QPainter*, int, int);
+ virtual void paintCell (TQPainter*, int, int);
%If ( KDE_3_0_1 - )
- virtual void contentsMousePressEvent (QMouseEvent*);
- virtual void contentsMouseMoveEvent (QMouseEvent*);
- virtual void contentsMouseReleaseEvent (QMouseEvent*);
+ virtual void contentsMousePressEvent (TQMouseEvent*);
+ virtual void contentsMouseMoveEvent (TQMouseEvent*);
+ virtual void contentsMouseReleaseEvent (TQMouseEvent*);
%End
public:
%If ( - KDE_3_2_0 )
- KDateInternalMonthPicker (int, QWidget* /TransferThis/, const char* = 0);
+ KDateInternalMonthPicker (int, TQWidget* /TransferThis/, const char* = 0);
%End
protected:
%If ( - KDE_3_0_1 )
- void viewportResizeEvent (QResizeEvent*);
- void contentsMousePressEvent (QMouseEvent*);
- void contentsMouseMoveEvent (QMouseEvent*);
- void contentsMouseReleaseEvent (QMouseEvent*);
+ void viewportResizeEvent (TQResizeEvent*);
+ void contentsMousePressEvent (TQMouseEvent*);
+ void contentsMouseMoveEvent (TQMouseEvent*);
+ void contentsMouseReleaseEvent (TQMouseEvent*);
%End
}; // class KDateInternalMonthPicker
-class KDateInternalYearSelector : QLineEdit
+class KDateInternalYearSelector : TQLineEdit
{
%TypeHeaderCode
#include <kdatetbl.h>
@@ -142,7 +142,7 @@ signals:
public:
%If ( KDE_3_2_0 - )
- KDateInternalYearSelector (QWidget* /TransferThis/ = 0, const char* = 0);
+ KDateInternalYearSelector (TQWidget* /TransferThis/ = 0, const char* = 0);
%End
int getYear ();
@@ -151,14 +151,14 @@ public:
public:
%If ( - KDE_3_2_0 )
- KDateInternalYearSelector (int, QWidget* /TransferThis/ = 0, const char* = 0);
+ KDateInternalYearSelector (int, TQWidget* /TransferThis/ = 0, const char* = 0);
%End
}; // class KDateInternalYearSelector
-class KPopupFrame : QFrame
+class KPopupFrame : TQFrame
{
%TypeHeaderCode
#include <kdatetbl.h>
@@ -168,7 +168,7 @@ class KPopupFrame : QFrame
protected:
%If ( KDE_3_0_1 - )
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
%End
@@ -181,15 +181,15 @@ public slots:
public:
- KPopupFrame (QWidget* /TransferThis/ = 0, const char* = 0);
- void setMainWidget (QWidget*);
+ KPopupFrame (TQWidget* /TransferThis/ = 0, const char* = 0);
+ void setMainWidget (TQWidget*);
%If ( KDE_3_0_1 - )
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
%End
- void popup (const QPoint&);
- int exec (QPoint) /PyName=exec_/;
+ void popup (const TQPoint&);
+ int exec (TQPoint) /PyName=exec_/;
int exec (int, int) /PyName=exec_/;
protected:
@@ -198,21 +198,21 @@ protected:
protected:
%If ( - KDE_3_0_1 )
- void keyPressEvent (QKeyEvent*);
+ void keyPressEvent (TQKeyEvent*);
%End
public:
%If ( - KDE_3_0_1 )
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
%End
}; // class KPopupFrame
-class KDateValidator : QValidator
+class KDateValidator : TQValidator
{
%TypeHeaderCode
#include <kdatetbl.h>
@@ -220,15 +220,15 @@ class KDateValidator : QValidator
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;
+ KDateValidator (TQWidget* /TransferThis/ = 0, const char* = 0);
+ virtual State validate (TQString&, int&) const;
+ virtual void fixup (TQString&) const;
+ State date (const TQString&, TQDate&) const;
}; // class KDateValidator
-class KDateTable : QGridView
+class KDateTable : TQGridView
{
%TypeHeaderCode
#include <kdatetbl.h>
@@ -236,16 +236,16 @@ class KDateTable : QGridView
public:
- KDateTable (QWidget* /TransferThis/ = 0, QDate = QDate ::currentDate (), const char* = 0, WFlags = 0);
+ KDateTable (TQWidget* /TransferThis/ = 0, TQDate = TQDate ::currentDate (), const char* = 0, WFlags = 0);
%If ( KDE_3_4_0 - )
- KDateTable (QWidget* /TransferThis/, const char*, WFlags = 0);
+ KDateTable (TQWidget* /TransferThis/, const char*, WFlags = 0);
%End
- virtual QSize sizeHint () const;
+ virtual TQSize sizeHint () const;
void setFontSize (int);
- bool setDate (const QDate&);
- const QDate& getDate () const;
+ bool setDate (const TQDate&);
+ const TQDate& getDate () const;
%If ( KDE_3_2_0 - )
void setPopupMenuEnabled (bool);
@@ -258,41 +258,41 @@ public:
CircleMode
};
- void setCustomDatePainting (const QDate&, const QColor&, BackgroundMode = NoBgMode , const QColor& = QColor ());
- void unsetCustomDatePainting (const QDate&);
+ void setCustomDatePainting (const TQDate&, const TQColor&, BackgroundMode = NoBgMode , const TQColor& = TQColor ());
+ void unsetCustomDatePainting (const TQDate&);
%End
protected:
%If ( KDE_3_2_0 - )
- int posFromDate (const QDate&);
- QDate dateFromPos (int);
+ int posFromDate (const TQDate&);
+ TQDate dateFromPos (int);
%End
- virtual void paintCell (QPainter*, int, int);
- virtual void viewportResizeEvent (QResizeEvent*);
- virtual void contentsMousePressEvent (QMouseEvent*);
+ virtual void paintCell (TQPainter*, int, int);
+ virtual void viewportResizeEvent (TQResizeEvent*);
+ virtual void contentsMousePressEvent (TQMouseEvent*);
%If ( KDE_3_1_0 - )
- virtual void wheelEvent (QWheelEvent*);
+ virtual void wheelEvent (TQWheelEvent*);
%End
- virtual void keyPressEvent (QKeyEvent*);
- virtual void focusInEvent (QFocusEvent*);
- virtual void focusOutEvent (QFocusEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void focusInEvent (TQFocusEvent*);
+ virtual void focusOutEvent (TQFocusEvent*);
signals:
- void dateChanged (QDate);
+ void dateChanged (TQDate);
%If ( KDE_3_2_0 - )
- void dateChanged (const QDate&, const QDate&);
+ void dateChanged (const TQDate&, const TQDate&);
%End
void tableClicked ();
%If ( KDE_3_2_0 - )
- void aboutToShowContextMenu (KPopupMenu*, const QDate&);
+ void aboutToShowContextMenu (KPopupMenu*, const TQDate&);
%End
diff --git a/sip/tdeui/kdatetimewidget.sip b/sip/tdeui/kdatetimewidget.sip
index 76eaaa5..d777aa7 100644
--- a/sip/tdeui/kdatetimewidget.sip
+++ b/sip/tdeui/kdatetimewidget.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_2_0 - )
-class KDateTimeWidget : QWidget
+class KDateTimeWidget : TQWidget
{
%TypeHeaderCode
#include <kdatetimewidget.h>
@@ -34,15 +34,15 @@ class KDateTimeWidget : QWidget
public:
- KDateTimeWidget (QWidget* /TransferThis/ = 0, const char* = 0);
- KDateTimeWidget (const QDateTime&, QWidget* /TransferThis/ = 0, const char* = 0);
- QDateTime dateTime () const;
+ KDateTimeWidget (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KDateTimeWidget (const TQDateTime&, TQWidget* /TransferThis/ = 0, const char* = 0);
+ TQDateTime dateTime () const;
public slots:
- void setDateTime (const QDateTime&);
+ void setDateTime (const TQDateTime&);
signals:
- void valueChanged (const QDateTime&);
+ void valueChanged (const TQDateTime&);
}; // class KDateTimeWidget
diff --git a/sip/tdeui/kdatewidget.sip b/sip/tdeui/kdatewidget.sip
index 6ca065e..e044891 100644
--- a/sip/tdeui/kdatewidget.sip
+++ b/sip/tdeui/kdatewidget.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDateWidget : QWidget
+class KDateWidget : TQWidget
{
%TypeHeaderCode
#include <kdatewidget.h>
@@ -32,19 +32,19 @@ class KDateWidget : QWidget
public:
- KDateWidget (QWidget* /TransferThis/, const char* = 0);
- KDateWidget (QDate, QWidget* /TransferThis/, const char* = 0);
- QDate date () const;
- void setDate (QDate);
+ KDateWidget (TQWidget* /TransferThis/, const char* = 0);
+ KDateWidget (TQDate, TQWidget* /TransferThis/, const char* = 0);
+ TQDate date () const;
+ void setDate (TQDate);
signals:
- void changed (QDate);
+ void changed (TQDate);
protected:
void init ();
%If ( KDE_3_2_0 - )
- void init (const QDate&);
+ void init (const TQDate&);
%End
diff --git a/sip/tdeui/kdbtn.sip b/sip/tdeui/kdbtn.sip
index d493b0c..34c1d52 100644
--- a/sip/tdeui/kdbtn.sip
+++ b/sip/tdeui/kdbtn.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDirectionButton : QButton
+class KDirectionButton : TQButton
{
%TypeHeaderCode
#include <kdbtn.h>
@@ -32,13 +32,13 @@ class KDirectionButton : QButton
public:
- KDirectionButton (QWidget*/TransferThis/ = 0, const char* = 0);
- KDirectionButton (ArrowType, QWidget*/TransferThis/ = 0, const char* = 0);
+ KDirectionButton (TQWidget*/TransferThis/ = 0, const char* = 0);
+ KDirectionButton (ArrowType, TQWidget*/TransferThis/ = 0, const char* = 0);
void setDirection (ArrowType);
ArrowType direction ();
protected:
- virtual void drawButton (QPainter*);
+ virtual void drawButton (TQPainter*);
}; // class KDirectionButton
@@ -51,11 +51,11 @@ class KTabButton : KDirectionButton
public:
- KTabButton (QWidget*/TransferThis/ = 0, const char* = 0);
- KTabButton (ArrowType, QWidget*/TransferThis/ = 0, const char* = 0);
+ KTabButton (TQWidget*/TransferThis/ = 0, const char* = 0);
+ KTabButton (ArrowType, TQWidget*/TransferThis/ = 0, const char* = 0);
protected:
- virtual void drawButton (QPainter*);
+ virtual void drawButton (TQPainter*);
}; // class KTabButton
diff --git a/sip/tdeui/kdcopactionproxy.sip b/sip/tdeui/kdcopactionproxy.sip
index e5c3fd2..00bc89c 100644
--- a/sip/tdeui/kdcopactionproxy.sip
+++ b/sip/tdeui/kdcopactionproxy.sip
@@ -34,12 +34,12 @@ class KDCOPActionProxy : DCOPObjectProxy
public:
KDCOPActionProxy (KActionCollection*, DCOPObject* /TransferThis/);
KDCOPActionProxy (DCOPObject* /TransferThis/);
- virtual QValueList<KAction*> actions () const;
+ virtual TQValueList<KAction*> actions () const;
virtual KAction* action (const char*) const;
- virtual QCString actionObjectId (const QCString&) const;
- virtual QMap<QCString,DCOPRef> 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*);
+ virtual TQCString actionObjectId (const TQCString&) const;
+ virtual TQMap<TQCString,DCOPRef> actionMap (const TQCString& = TQCString ()) const;
+ virtual bool process (const TQCString&, const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
+ virtual bool processAction (const TQCString&, const TQCString&, const TQByteArray&, TQCString&, TQByteArray&, KAction*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kdialog.sip b/sip/tdeui/kdialog.sip
index 9770c47..5f90270 100644
--- a/sip/tdeui/kdialog.sip
+++ b/sip/tdeui/kdialog.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDialog : QDialog
+class KDialog : TQDialog
{
%TypeHeaderCode
#include <kdialog.h>
@@ -32,17 +32,17 @@ class KDialog : QDialog
public:
- KDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, WFlags = 0);
+ KDialog (TQWidget* /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);
+ static void resizeLayout (TQWidget*, int, int);
+ static void resizeLayout (TQLayoutItem*, int, int);
%If ( KDE_3_1_0 - )
- static void centerOnScreen (QWidget*, int = -1);
+ static void centerOnScreen (TQWidget*, int = -1);
%If ( KDE_3_2_0 - )
- static bool avoidArea (QWidget*, const QRect&, int = -1);
+ static bool avoidArea (TQWidget*, const TQRect&, int = -1);
%End
%End
@@ -50,11 +50,11 @@ public:
public slots:
virtual void polish ();
- virtual void setCaption (const QString&);
- virtual void setPlainCaption (const QString&);
+ virtual void setCaption (const TQString&);
+ virtual void setPlainCaption (const TQString&);
protected:
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
signals:
void layoutHintChanged ();
@@ -70,7 +70,7 @@ private:
}; // class KDialog
-class KDialogQueue : QObject
+class KDialogQueue : TQObject
{
%TypeHeaderCode
#include <kdialog.h>
@@ -78,7 +78,7 @@ class KDialogQueue : QObject
public:
- static void queueDialog (QDialog*);
+ static void queueDialog (TQDialog*);
protected:
KDialogQueue ();
diff --git a/sip/tdeui/kdialogbase.sip b/sip/tdeui/kdialogbase.sip
index 44d7d3c..7ffba42 100644
--- a/sip/tdeui/kdialogbase.sip
+++ b/sip/tdeui/kdialogbase.sip
@@ -80,33 +80,33 @@ public:
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 ());
+ KDialogBase (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const TQString& = TQString ::null , int = Ok |Apply |Cancel , KDialogBase::ButtonCode = Ok , bool = 0, const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem (), const KGuiItem& = KGuiItem ());
+ KDialogBase (int, const TQString&, int, KDialogBase::ButtonCode, TQWidget* /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 ());
+ KDialogBase (KDialogBase::DialogType, WFlags, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const TQString& = TQString ::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 ());
+ KDialogBase (const TQString&, int = Yes |No |Cancel , KDialogBase::ButtonCode = Yes , KDialogBase::ButtonCode = Cancel , TQWidget* /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);
+ virtual TQSize sizeHint () const;
+ virtual TQSize minimumSizeHint () const;
+ TQFrame* plainPage ();
+ TQFrame* addPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ TQFrame* addPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ TQVBox* addVBoxPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ TQVBox* addVBoxPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ TQHBox* addHBoxPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ TQHBox* addHBoxPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ TQGrid* addGridPage (int, TQt::Orientation, const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ TQGrid* addGridPage (int, TQt::Orientation, const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ void setFolderIcon (const TQStringList&, const TQPixmap&);
+ TQFrame* makeMainWidget ();
+ TQVBox* makeVBoxMainWidget ();
+ TQHBox* makeHBoxMainWidget ();
+ TQGrid* makeGridMainWidget (int, TQt::Orientation);
void enableButtonSeparator (bool);
void showButton (KDialogBase::ButtonCode, bool);
void showButtonOK (bool);
@@ -114,41 +114,41 @@ public:
void showButtonCancel (bool);
bool showPage (int);
int activePageIndex () const;
- int pageIndex (QWidget*) const;
- void setMainWidget (QWidget*);
- QWidget* mainWidget ();
+ int pageIndex (TQWidget*) const;
+ void setMainWidget (TQWidget*);
+ TQWidget* mainWidget ();
void disableResize ();
- void setInitialSize (const QSize&, bool = 0);
- void incInitialSize (const QSize&, bool = 0);
- QSize configDialogSize (const QString&) const;
+ void setInitialSize (const TQSize&, bool = 0);
+ void incInitialSize (const TQSize&, bool = 0);
+ TQSize configDialogSize (const TQString&) const;
%If ( KDE_3_2_0 - )
- QSize configDialogSize (KConfig&, const QString&) const;
+ TQSize configDialogSize (KConfig&, const TQString&) const;
%End
- void saveDialogSize (const QString&, bool = 0);
+ void saveDialogSize (const TQString&, bool = 0);
%If ( KDE_3_2_0 - )
- void saveDialogSize (KConfig&, const QString&, bool = 0) const;
+ void saveDialogSize (KConfig&, const TQString&, bool = 0) const;
void setButtonOK (const KGuiItem& = KStdGuiItem ::ok ());
%End
- void setButtonOKText (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null );
+ void setButtonOKText (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::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 );
+ void setButtonApplyText (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::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&);
+ void setButtonCancelText (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
+ void setButtonText (KDialogBase::ButtonCode, const TQString&);
+ void setButtonTip (KDialogBase::ButtonCode, const TQString&);
+ void setButtonWhatsThis (KDialogBase::ButtonCode, const TQString&);
%If ( KDE_3_3_0 - )
void setButtonGuiItem (KDialogBase::ButtonCode, const KGuiItem&);
@@ -160,22 +160,22 @@ public:
%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*);
+ void addWidgetBelowList (TQWidget*);
+ void addButtonBelowList (const TQString&, TQObject*, const char*);
+ void addButtonBelowList (const KGuiItem&, TQObject*, const char*);
%End
void setIconListAllVisible (bool);
static bool haveBackgroundTile ();
- static const QPixmap* backgroundTile ();
- static const QPixmap* getBackgroundTile ();
- static void setBackgroundTile (const QPixmap*);
+ static const TQPixmap* backgroundTile ();
+ static const TQPixmap* getBackgroundTile ();
+ static void setBackgroundTile (const TQPixmap*);
void showTile (bool);
void getBorderWidths (int&, int&, int&, int&) const;
- QRect getContentsRect ();
- QSize calculateSize (int, int);
- QString helpLinkText ();
- QPushButton* actionButton (KDialogBase::ButtonCode);
+ TQRect getContentsRect ();
+ TQSize calculateSize (int, int);
+ TQString helpLinkText ();
+ TQPushButton* actionButton (KDialogBase::ButtonCode);
public slots:
void enableButton (KDialogBase::ButtonCode, bool);
@@ -188,11 +188,11 @@ public slots:
void delayedDestruct ();
%End
- void setHelpLinkText (const QString&);
- void setHelp (const QString&, const QString& = QString ::null );
- void helpClickedSlot (const QString&);
+ void setHelpLinkText (const TQString&);
+ void setHelp (const TQString&, const TQString& = TQString ::null );
+ void helpClickedSlot (const TQString&);
void setDetails (bool);
- void setDetailsWidget (QWidget*);
+ void setDetailsWidget (TQWidget*);
void updateBackground ();
%If ( KDE_3_1_0 - )
@@ -218,12 +218,12 @@ signals:
void hidden ();
void finished ();
void aboutToShowDetails ();
- void aboutToShowPage (QWidget*);
+ void aboutToShowPage (TQWidget*);
protected:
- virtual void keyPressEvent (QKeyEvent*);
- virtual void hideEvent (QHideEvent*);
- virtual void closeEvent (QCloseEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void hideEvent (TQHideEvent*);
+ virtual void closeEvent (TQCloseEvent*);
protected slots:
virtual void slotHelp ();
diff --git a/sip/tdeui/kdocktabctl.sip b/sip/tdeui/kdocktabctl.sip
index 33e538f..ed93169 100644
--- a/sip/tdeui/kdocktabctl.sip
+++ b/sip/tdeui/kdocktabctl.sip
@@ -32,15 +32,15 @@ class KDockTabCtl_PrivateStruct
public:
- KDockTabCtl_PrivateStruct (QWidget*, int);
- QWidget* widget;
+ KDockTabCtl_PrivateStruct (TQWidget*, int);
+ TQWidget* widget;
int id;
bool enabled;
}; // class KDockTabCtl_PrivateStruct
-class KDockTabBar : QWidget
+class KDockTabBar : TQWidget
{
%TypeHeaderCode
#include <kdocktabctl.h>
@@ -48,7 +48,7 @@ class KDockTabBar : QWidget
public:
- KDockTabBar (QWidget*/TransferThis/ = 0, const char* = 0);
+ KDockTabBar (TQWidget*/TransferThis/ = 0, const char* = 0);
enum TabPos
{
@@ -57,40 +57,40 @@ public:
};
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);
+ int insertTab (const TQString&, int = -1, int = -1);
+ void setPixmap (int, const TQPixmap&);
+ void setToolTip (int, const TQString&);
+ void setTextColor (int, const TQColor&);
+ const TQColor& 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);
+ void setTabCaption (int, const TQString&);
+ TQString tabCaption (int);
virtual void show ();
- virtual void setFont (const QFont&);
+ virtual void setFont (const TQFont&);
void showTabIcon (bool);
bool isShowTabIcon ();
signals:
void tabSelected (int);
- void rightButtonPress (int, QPoint);
+ void rightButtonPress (int, TQPoint);
protected slots:
void leftClicked ();
void rightClicked ();
protected:
- virtual void paintEvent (QPaintEvent*);
- virtual void resizeEvent (QResizeEvent*);
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void paintEvent (TQPaintEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
}; // class KDockTabBar
-class KDockTabBarPainter : QWidget
+class KDockTabBarPainter : TQWidget
{
%TypeHeaderCode
#include <kdocktabctl.h>
@@ -98,22 +98,22 @@ class KDockTabBarPainter : QWidget
public:
- QString tip (const QPoint&);
- QRect findBarRectByPos (int, int);
+ TQString tip (const TQPoint&);
+ TQRect findBarRectByPos (int, int);
private:
KDockTabBarPainter (KDockTabBar*/TransferThis/);
protected:
- virtual void mousePressEvent (QMouseEvent*);
- virtual void mouseReleaseEvent (QMouseEvent*);
- virtual void resizeEvent (QResizeEvent*);
- virtual void paintEvent (QPaintEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
+ virtual void paintEvent (TQPaintEvent*);
}; // class KDockTabBarPainter
-class KDockTabCtl : QWidget
+class KDockTabCtl : TQWidget
{
%TypeHeaderCode
#include <kdocktabctl.h>
@@ -121,66 +121,66 @@ class KDockTabCtl : QWidget
public:
- KDockTabCtl (QWidget*/TransferThis/ = 0, const char* = 0);
+ KDockTabCtl (TQWidget*/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);
+ int insertPage (TQWidget*, const TQString&, int = -1, int = -1);
+ void setPageCaption (TQWidget*, const TQString&);
+ void setPageCaption (int, const TQString&);
+ TQString pageCaption (TQWidget*);
+ TQString 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*);
+ void setPixmap (TQWidget*, const TQPixmap&);
+ void setPixmap (int, const TQPixmap&);
+ void setToolTip (TQWidget*, const TQString&);
+ void setTabTextColor (TQWidget*, const TQColor&);
+ void setTabTextColor (int, const TQColor&);
+ const TQColor& tabTextColor (TQWidget*);
+ const TQColor& tabTextColor (int);
+ bool isPageEnabled (TQWidget*);
bool isPageEnabled (int);
- void setPageEnabled (QWidget*, bool);
+ void setPageEnabled (TQWidget*, bool);
void setPageEnabled (int, bool);
- QWidget* page (int);
- int id (QWidget*);
- int index (QWidget*);
- void removePage (QWidget*);
+ TQWidget* page (int);
+ int id (TQWidget*);
+ int index (TQWidget*);
+ void removePage (TQWidget*);
void removePage (int);
- QWidget* visiblePage ();
+ TQWidget* visiblePage ();
int visiblePageId ();
- void setVisiblePage (QWidget*, bool = 0);
- void setTabFont (const QFont&);
- QFont tabFont ();
+ void setVisiblePage (TQWidget*, bool = 0);
+ void setTabFont (const TQFont&);
+ TQFont tabFont ();
void showTabIcon (bool);
bool isShowTabIcon ();
int pageCount ();
- QWidget* getFirstPage ();
- QWidget* getLastPage ();
- QWidget* getNextPage (QWidget*);
- QWidget* getPrevPage (QWidget*);
+ TQWidget* getFirstPage ();
+ TQWidget* getLastPage ();
+ TQWidget* getNextPage (TQWidget*);
+ TQWidget* getPrevPage (TQWidget*);
virtual void show ();
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
public slots:
virtual void setEnabled (bool);
void setVisiblePage (int);
protected:
- void paintEvent (QPaintEvent*);
+ void paintEvent (TQPaintEvent*);
signals:
- void aboutToShow (QWidget*);
- void pageSelected (QWidget*);
- void tabShowPopup (int, QPoint);
+ void aboutToShow (TQWidget*);
+ void pageSelected (TQWidget*);
+ void tabShowPopup (int, TQPoint);
protected slots:
- void rightButtonPress (int, QPoint);
+ void rightButtonPress (int, TQPoint);
protected:
- KDockTabCtl_PrivateStruct* findData (QWidget*);
+ KDockTabCtl_PrivateStruct* findData (TQWidget*);
KDockTabCtl_PrivateStruct* findData (int);
- void showPage (QWidget*, bool = 0);
+ void showPage (TQWidget*, bool = 0);
}; // class KDockTabCtl
diff --git a/sip/tdeui/kdockwidget.sip b/sip/tdeui/kdockwidget.sip
index c65d398..8150ad1 100644
--- a/sip/tdeui/kdockwidget.sip
+++ b/sip/tdeui/kdockwidget.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDockWidgetAbstractHeader : QFrame
+class KDockWidgetAbstractHeader : TQFrame
{
%TypeHeaderCode
#include <kdockwidget.h>
@@ -43,7 +43,7 @@ protected:
}; // class KDockWidgetAbstractHeader
-class KDockWidgetAbstractHeaderDrag : QFrame
+class KDockWidgetAbstractHeaderDrag : TQFrame
{
%TypeHeaderCode
#include <kdockwidget.h>
@@ -71,7 +71,7 @@ public:
KDockWidgetHeaderDrag (KDockWidgetAbstractHeader* /TransferThis/, KDockWidget*, const char* = 0);
protected:
- virtual void paintEvent (QPaintEvent*);
+ virtual void paintEvent (TQPaintEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -127,7 +127,7 @@ protected:
}; // class KDockWidgetHeader
-class KDockTabGroup : QTabWidget
+class KDockTabGroup : TQTabWidget
{
%TypeHeaderCode
#include <kdockwidget.h>
@@ -135,10 +135,10 @@ class KDockTabGroup : QTabWidget
public:
- KDockTabGroup (QWidget* /TransferThis/ = 0, const char* = 0);
+ KDockTabGroup (TQWidget* /TransferThis/ = 0, const char* = 0);
%If ( KDE_3_2_0 - )
- QWidget* transientTo ();
+ TQWidget* transientTo ();
%End
@@ -148,7 +148,7 @@ protected:
}; // class KDockTabGroup
-class KDockWidget : QWidget
+class KDockWidget : TQWidget
{
%TypeHeaderCode
#include <kdockwidget.h>
@@ -156,7 +156,7 @@ class KDockWidget : QWidget
public:
- KDockWidget (KDockManager*, const char*, const QPixmap&, QWidget* /TransferThis/ = 0, const QString& = 0, const QString& = " ", WFlags = 0);
+ KDockWidget (KDockManager*, const char*, const TQPixmap&, TQWidget* /TransferThis/ = 0, const TQString& = 0, const TQString& = " ", WFlags = 0);
%If ( KDE_3_1_0 - )
@@ -177,13 +177,13 @@ public:
%End
- KDockWidget* manualDock (KDockWidget*, KDockWidget::DockPosition, int = 50, QPoint = QPoint (0 ,0 ), bool = 0, int = -1);
+ KDockWidget* manualDock (KDockWidget*, KDockWidget::DockPosition, int = 50, TQPoint = TQPoint (0 ,0 ), bool = 0, int = -1);
void setEnableDocking (int);
int enableDocking ();
void setDockSite (int);
int dockSite ();
- void setWidget (QWidget*);
- QWidget* getWidget ();
+ void setWidget (TQWidget*);
+ TQWidget* getWidget ();
void setHeader (KDockWidgetAbstractHeader*);
%If ( KDE_3_2_0 - )
@@ -194,24 +194,24 @@ public:
bool mayBeHide ();
bool mayBeShow ();
KDockManager* dockManager ();
- void setToolTipString (const QString&);
- const QString& toolTipString ();
+ void setToolTipString (const TQString&);
+ const TQString& toolTipString ();
bool isDockBackPossible ();
- void setTabPageLabel (const QString&);
- const QString& tabPageLabel ();
- virtual bool event (QEvent*);
+ void setTabPageLabel (const TQString&);
+ const TQString& tabPageLabel ();
+ virtual bool event (TQEvent*);
virtual void show ();
KDockTabGroup* parentDockTabGroup ();
%If ( KDE_3_1_0 - )
- QWidget* parentDockContainer () const;
+ TQWidget* parentDockContainer () const;
%End
void setDockWindowType (NET::WindowType);
- void setDockWindowTransient (QWidget* /Transfer/, bool);
+ void setDockWindowTransient (TQWidget* /Transfer/, bool);
%If ( KDE_3_2_0 - )
- QWidget* transientTo ();
+ TQWidget* transientTo ();
%End
@@ -219,8 +219,8 @@ public:
KDockWidget* findNearestDockWidget (KDockWidget::DockPosition);
%If ( KDE_3_2_0 - )
- void setPixmap (const QPixmap& = QPixmap ());
- const QPixmap& pixmap () const;
+ void setPixmap (const TQPixmap& = TQPixmap ());
+ const TQPixmap& pixmap () const;
%If ( KDE_3_3_0 - )
KDockWidget::DockPosition currentDockPosition () const;
@@ -254,8 +254,8 @@ protected:
void updateHeader ();
%If ( KDE_3_1_0 - )
- void setLatestKDockContainer (QWidget*);
- QWidget* latestKDockContainer ();
+ void setLatestKDockContainer (TQWidget*);
+ TQWidget* latestKDockContainer ();
%If ( KDE_3_2_1 - )
void setFormerBrotherDockWidget (KDockWidget*);
@@ -267,7 +267,7 @@ protected:
signals:
%If ( KDE_3_2_0 - )
- void widgetSet (QWidget*);
+ void widgetSet (TQWidget*);
%End
void docking (KDockWidget*, KDockWidget::DockPosition);
@@ -281,11 +281,11 @@ 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*);
+ virtual void paintEvent (TQPaintEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
+ virtual void leaveEvent (TQEvent*);
%End
@@ -318,7 +318,7 @@ public:
}; // class KDockWidget
-class KDockManager : QObject
+class KDockManager : TQObject
{
%TypeHeaderCode
#include <kdockwidget.h>
@@ -340,27 +340,27 @@ public:
public:
- KDockManager (QWidget*, const char* = 0);
+ KDockManager (TQWidget*, 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 );
+ void writeConfig (KConfig* = 0, TQString = TQString ::null );
+ void readConfig (KConfig* = 0, TQString = TQString ::null );
%If ( KDE_3_1_0 - )
void setMainDockWidget2 (KDockWidget*);
%End
- void writeConfig (QDomElement&);
- void readConfig (QDomElement&);
+ void writeConfig (TQDomElement&);
+ void readConfig (TQDomElement&);
void activate ();
- virtual bool eventFilter (QObject*, QEvent*);
- KDockWidget* findWidgetParentDock (QWidget*);
- void makeWidgetDockVisible (QWidget*);
- QPopupMenu* dockHideShowMenu ();
- KDockWidget* getDockWidgetFromName (const QString&);
+ virtual bool eventFilter (TQObject*, TQEvent*);
+ KDockWidget* findWidgetParentDock (TQWidget*);
+ void makeWidgetDockVisible (TQWidget*);
+ TQPopupMenu* dockHideShowMenu ();
+ KDockWidget* getDockWidgetFromName (const TQString&);
void setSplitterOpaqueResize (bool = 1);
bool splitterOpaqueResize () const;
void setSplitterKeepSize (bool = 1);
@@ -398,21 +398,21 @@ class KDockMainWindow : KMainWindow
public:
- KDockMainWindow (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose );
+ KDockMainWindow (TQWidget* /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 );
+ KDockWidget* createDockWidget (const TQString&, const TQPixmap&, TQWidget* /Transfer/ = 0, const TQString& = 0, const TQString& = " ");
+ void writeDockConfig (TQDomElement&);
+ void readDockConfig (TQDomElement&);
+ void writeDockConfig (KConfig* = 0, TQString = TQString ::null );
+ void readDockConfig (KConfig* = 0, TQString = TQString ::null );
void activateDock ();
- QPopupMenu* dockHideShowMenu ();
+ TQPopupMenu* dockHideShowMenu ();
void makeDockVisible (KDockWidget*);
void makeDockInvisible (KDockWidget*);
- void makeWidgetDockVisible (QWidget*);
- void setView (QWidget*);
+ void makeWidgetDockVisible (TQWidget*);
+ void setView (TQWidget*);
signals:
void dockWidgetHasUndocked (KDockWidget*);
@@ -428,7 +428,7 @@ protected:
}; // class KDockMainWindow
-class KDockArea : QWidget
+class KDockArea : TQWidget
{
%TypeHeaderCode
#include <kdockwidget.h>
@@ -436,20 +436,20 @@ class KDockArea : QWidget
public:
- KDockArea (QWidget* /TransferThis/ = 0, const char* = 0);
+ KDockArea (TQWidget* /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 );
+ KDockWidget* createDockWidget (const TQString&, const TQPixmap&, TQWidget* /Transfer/ = 0, const TQString& = 0, const TQString& = " ");
+ void writeDockConfig (TQDomElement&);
+ void readDockConfig (TQDomElement&);
+ void writeDockConfig (KConfig* = 0, TQString = TQString ::null );
+ void readDockConfig (KConfig* = 0, TQString = TQString ::null );
void activateDock ();
- QPopupMenu* dockHideShowMenu ();
+ TQPopupMenu* dockHideShowMenu ();
void makeDockVisible (KDockWidget*);
void makeDockInvisible (KDockWidget*);
- void makeWidgetDockVisible (QWidget*);
+ void makeWidgetDockVisible (TQWidget*);
signals:
void dockWidgetHasUndocked (KDockWidget*);
@@ -460,7 +460,7 @@ protected slots:
void slotDockWidgetUndocked ();
public:
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kdockwindow.sip b/sip/tdeui/kdockwindow.sip
index af46e2a..454691c 100644
--- a/sip/tdeui/kdockwindow.sip
+++ b/sip/tdeui/kdockwindow.sip
@@ -32,7 +32,7 @@ class KDockWindow : KSystemTray
public:
- KDockWindow (QWidget* /TransferThis/ = 0, const char* = 0);
+ KDockWindow (TQWidget* /TransferThis/ = 0, const char* = 0);
}; // class KDockWindow
diff --git a/sip/tdeui/kdualcolorbtn.sip b/sip/tdeui/kdualcolorbtn.sip
index 210c397..6cfd399 100644
--- a/sip/tdeui/kdualcolorbtn.sip
+++ b/sip/tdeui/kdualcolorbtn.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDualColorButton : QWidget
+class KDualColorButton : TQWidget
{
%TypeHeaderCode
#include <kdualcolorbtn.h>
@@ -39,35 +39,35 @@ public:
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;
+ KDualColorButton (TQWidget*/TransferThis/ = 0, const char* = 0);
+ KDualColorButton (TQWidget*/TransferThis/, const char*, TQWidget*);
+ KDualColorButton (const TQColor&, const TQColor&, TQWidget*/TransferThis/ = 0, const char* = 0);
+ KDualColorButton (const TQColor&, const TQColor&, TQWidget*/TransferThis/, const char*, TQWidget*);
+ TQColor foreground () const;
+ TQColor background () const;
DualColor current () const;
- QColor currentColor () const;
- virtual QSize sizeHint () const;
+ TQColor currentColor () const;
+ virtual TQSize sizeHint () const;
public slots:
- void setForeground (const QColor&);
- void setBackground (const QColor&);
+ void setForeground (const TQColor&);
+ void setBackground (const TQColor&);
void setCurrent (KDualColorButton::DualColor);
- void setCurrentColor (const QColor&);
+ void setCurrentColor (const TQColor&);
signals:
- void fgChanged (const QColor&);
- void bgChanged (const QColor&);
+ void fgChanged (const TQColor&);
+ void bgChanged (const TQColor&);
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*);
+ virtual void metrics (TQRect&, TQRect&);
+ virtual void paintEvent (TQPaintEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void dragEnterEvent (TQDragEnterEvent*);
+ virtual void dropEvent (TQDropEvent*);
}; // class KDualColorButton
diff --git a/sip/tdeui/kdualcolorbutton.sip b/sip/tdeui/kdualcolorbutton.sip
index 739dad9..a37e6ab 100644
--- a/sip/tdeui/kdualcolorbutton.sip
+++ b/sip/tdeui/kdualcolorbutton.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDualColorButton : QWidget
+class KDualColorButton : TQWidget
{
%TypeHeaderCode
#include <kdualcolorbutton.h>
@@ -39,33 +39,33 @@ public:
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 (TQWidget* /TransferThis/ = 0, const char* = 0, TQWidget* = 0);
+ KDualColorButton (const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0, TQWidget* = 0);
+ TQColor foreground () const;
+ TQColor background () const;
KDualColorButton::DualColor current () const;
- QColor currentColor () const;
- virtual QSize sizeHint () const;
+ TQColor currentColor () const;
+ virtual TQSize sizeHint () const;
public slots:
- void setForeground (const QColor&);
- void setBackground (const QColor&);
+ void setForeground (const TQColor&);
+ void setBackground (const TQColor&);
void setCurrent (KDualColorButton::DualColor);
- void setCurrentColor (const QColor&);
+ void setCurrentColor (const TQColor&);
signals:
- void fgChanged (const QColor&);
- void bgChanged (const QColor&);
+ void fgChanged (const TQColor&);
+ void bgChanged (const TQColor&);
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*);
+ virtual void metrics (TQRect&, TQRect&);
+ virtual void paintEvent (TQPaintEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void dragEnterEvent (TQDragEnterEvent*);
+ virtual void dropEvent (TQDropEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/keditcl.sip b/sip/tdeui/keditcl.sip
index 89674c3..02f4a19 100644
--- a/sip/tdeui/keditcl.sip
+++ b/sip/tdeui/keditcl.sip
@@ -32,7 +32,7 @@ class KEdGotoLine : KDialogBase
public:
- KEdGotoLine (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ KEdGotoLine (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
int getLineNumber ();
public slots:
@@ -52,9 +52,9 @@ class KEdFind : KDialogBase
public:
- KEdFind (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
- QString getText () const;
- void setText (QString);
+ KEdFind (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ TQString getText () const;
+ void setText (TQString);
void setCaseSensitive (bool);
bool case_sensitive () const;
void setDirection (bool);
@@ -64,7 +64,7 @@ public:
protected slots:
void slotCancel ();
void slotUser1 ();
- void textSearchChanged (const QString&);
+ void textSearchChanged (const TQString&);
protected:
@@ -91,10 +91,10 @@ class KEdReplace : KDialogBase
public:
- KEdReplace (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
- QString getText ();
- QString getReplaceText ();
- void setText (QString);
+ KEdReplace (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ TQString getText ();
+ TQString getReplaceText ();
+ void setText (TQString);
KHistoryCombo* searchCombo () const;
KHistoryCombo* replaceCombo () const;
bool case_sensitive ();
@@ -106,7 +106,7 @@ protected slots:
void slotUser1 ();
void slotUser2 ();
void slotUser3 ();
- void textSearchChanged (const QString&);
+ void textSearchChanged (const TQString&);
signals:
void replace ();
@@ -125,7 +125,7 @@ private:
}; // class KEdReplace
-class KEdit : QMultiLineEdit
+class KEdit : TQMultiLineEdit
{
%TypeHeaderCode
#include <keditcl.h>
@@ -133,7 +133,7 @@ class KEdit : QMultiLineEdit
public:
- KEdit (QWidget* /TransferThis/ = 0, const char* = 0);
+ KEdit (TQWidget* /TransferThis/ = 0, const char* = 0);
enum
{
@@ -142,20 +142,20 @@ public:
BACKWARD
};
- void insertText (QTextStream*);
+ void insertText (TQTextStream*);
%If ( KDE_3_1_0 - )
- void saveText (QTextStream*, bool);
+ void saveText (TQTextStream*, bool);
%End
- void saveText (QTextStream*);
+ void saveText (TQTextStream*);
void selectFont ();
void search ();
bool repeatSearch ();
void replace ();
void doGotoLine ();
void cleanWhiteSpace ();
- void installRBPopup (QPopupMenu*);
+ void installRBPopup (TQPopupMenu*);
int currentLine ();
int currentColumn ();
void spellcheck_start ();
@@ -163,10 +163,10 @@ public:
void setOverwriteEnabled (bool);
%If ( KDE_3_2_0 - )
- QString selectWordUnderCursor ();
+ TQString selectWordUnderCursor ();
%If ( KDE_3_2_3 - )
- QPopupMenu* createPopupMenu (const QPoint&);
+ TQPopupMenu* createPopupMenu (const TQPoint&);
%If ( KDE_3_3_0 - )
void setAutoUpdate (bool);
@@ -178,42 +178,42 @@ public:
signals:
- void gotUrlDrop (QDropEvent*);
+ void gotUrlDrop (TQDropEvent*);
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);
+ void corrected (const TQString&, const TQString&, uint);
+ void misspelling (const TQString&, const TQStringList&, uint);
%End
protected:
void computePosition ();
- int doSearch (QString, bool, bool, bool, int, int);
- int doReplace (QString, bool, bool, bool, int, int, bool);
+ int doSearch (TQString, bool, bool, bool, int, int);
+ int doReplace (TQString, 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*);
+ virtual void setCursor (const TQCursor&);
+ virtual void viewportPaintEvent (TQPaintEvent*);
%End
protected:
- void keyPressEvent (QKeyEvent*);
- void dragMoveEvent (QDragMoveEvent*);
- void dragEnterEvent (QDragEnterEvent*);
- void dropEvent (QDropEvent*);
+ void keyPressEvent (TQKeyEvent*);
+ void dragMoveEvent (TQDragMoveEvent*);
+ void dragEnterEvent (TQDragEnterEvent*);
+ void dropEvent (TQDropEvent*);
%If ( KDE_3_1_3 - )
- void contentsDragMoveEvent (QDragMoveEvent*);
- void contentsDragEnterEvent (QDragEnterEvent*);
- void contentsDropEvent (QDropEvent*);
+ void contentsDragMoveEvent (TQDragMoveEvent*);
+ void contentsDragEnterEvent (TQDragEnterEvent*);
+ void contentsDropEvent (TQDropEvent*);
%End
diff --git a/sip/tdeui/keditlistbox.sip b/sip/tdeui/keditlistbox.sip
index d63ae25..4c902a9 100644
--- a/sip/tdeui/keditlistbox.sip
+++ b/sip/tdeui/keditlistbox.sip
@@ -24,11 +24,11 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
%ModuleHeaderCode
-const char **PyQtListToArray(PyObject *);
+const char **PyTQtListToArray(PyObject *);
%End
-class KEditListBox : QGroupBox
+class KEditListBox : TQGroupBox
{
%TypeHeaderCode
#include <keditlistbox.h>
@@ -44,11 +44,11 @@ public:
public:
CustomEditor ();
- CustomEditor (QWidget*, KLineEdit*);
+ CustomEditor (TQWidget*, KLineEdit*);
CustomEditor (KComboBox*);
- void setRepresentationWidget (QWidget*);
+ void setRepresentationWidget (TQWidget*);
void setLineEdit (KLineEdit*);
- virtual QWidget* representationWidget () const;
+ virtual TQWidget* representationWidget () const;
virtual KLineEdit* lineEdit () const;
protected:
@@ -79,23 +79,23 @@ public:
%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 );
+ KEditListBox (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, int = All );
+ KEditListBox (const TQString&, TQWidget* /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 );
+ KEditListBox (const TQString&, const KEditListBox::CustomEditor&, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, int = All );
%End
- QListBox* listBox () const;
+ TQListBox* listBox () const;
KLineEdit* lineEdit () const;
- QPushButton* addButton () const;
- QPushButton* removeButton () const;
- QPushButton* upButton () const;
- QPushButton* downButton () const;
+ TQPushButton* addButton () const;
+ TQPushButton* removeButton () const;
+ TQPushButton* upButton () const;
+ TQPushButton* downButton () const;
int count () const;
- void insertStringList (const QStringList&, int = -1);
- void insertStrList (const QStrList*, int = -1);
- void insertStrList (const QStrList&, int = -1);
+ void insertStringList (const TQStringList&, int = -1);
+ void insertStrList (const TQStrList*, int = -1);
+ void insertStrList (const TQStrList&, 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)
@@ -107,7 +107,7 @@ public:
const char **strings;
- if ((strings = PyQtListToArray(a0)) == NULL)
+ if ((strings = PyTQtListToArray(a0)) == NULL)
return NULL;
Py_BEGIN_ALLOW_THREADS
@@ -117,15 +117,15 @@ public:
sipFree((ANY *)strings);
%End
- void insertItem (const QString&, int = -1);
+ void insertItem (const TQString&, int = -1);
void clear ();
- QString text (int) const;
+ TQString text (int) const;
int currentItem () const;
- QString currentText () const;
- QStringList items () const;
+ TQString currentText () const;
+ TQStringList items () const;
%If ( KDE_3_4_0 - )
- void setItems (const QStringList&);
+ void setItems (const TQStringList&);
int buttons () const;
void setButtons (uint);
%End
@@ -135,8 +135,8 @@ signals:
void changed ();
%If ( KDE_3_2_0 - )
- void added (const QString&);
- void removed (const QString&);
+ void added (const TQString&);
+ void removed (const TQString&);
%End
@@ -146,7 +146,7 @@ protected slots:
void addItem ();
void removeItem ();
void enableMoveButtons (int);
- void typedSomething (const QString&);
+ void typedSomething (const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -172,9 +172,9 @@ public:
%ModuleCode
// Convert a list of strings to an array of strings on the heap. Also used by
-// QPixmap.
+// TQPixmap.
-const char **PyQtListToArray(PyObject *lst)
+const char **PyTQtListToArray(PyObject *lst)
{
int nstr;
const char **str, **sp;
diff --git a/sip/tdeui/kedittoolbar.sip b/sip/tdeui/kedittoolbar.sip
index fb1074f..eea0afa 100644
--- a/sip/tdeui/kedittoolbar.sip
+++ b/sip/tdeui/kedittoolbar.sip
@@ -32,16 +32,16 @@ class KEditToolbar : KDialogBase
public:
- KEditToolbar (KActionCollection*, const QString& = QString ::null , bool = 1, QWidget* /TransferThis/ = 0, const char* = 0);
+ KEditToolbar (KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /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);
+ KEditToolbar (const TQString&, KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0);
%End
- KEditToolbar (KXMLGUIFactory*, QWidget* /TransferThis/ = 0, const char* = 0);
+ KEditToolbar (KXMLGUIFactory*, TQWidget* /TransferThis/ = 0, const char* = 0);
%If ( KDE_3_2_0 - )
- KEditToolbar (const QString&, KXMLGUIFactory*, QWidget* /TransferThis/ = 0, const char* = 0);
+ KEditToolbar (const TQString&, KXMLGUIFactory*, TQWidget* /TransferThis/ = 0, const char* = 0);
%If ( KDE_3_3_0 - )
static void setDefaultToolbar (const char*);
@@ -69,7 +69,7 @@ protected:
}; // class KEditToolbar
-class KEditToolbarWidget : QWidget, KXMLGUIClient
+class KEditToolbarWidget : TQWidget, KXMLGUIClient
{
%TypeHeaderCode
#include <kedittoolbar.h>
@@ -77,16 +77,16 @@ class KEditToolbarWidget : QWidget, KXMLGUIClient
public:
- KEditToolbarWidget (KActionCollection*, const QString& = QString ::null , bool = 1, QWidget* /TransferThis/ = 0);
+ KEditToolbarWidget (KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0);
%If ( KDE_3_2_0 - )
- KEditToolbarWidget (const QString&, KActionCollection*, const QString& = QString ::null , bool = 1, QWidget* /TransferThis/ = 0);
+ KEditToolbarWidget (const TQString&, KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0);
%End
- KEditToolbarWidget (KXMLGUIFactory*, QWidget* /TransferThis/ = 0);
+ KEditToolbarWidget (KXMLGUIFactory*, TQWidget* /TransferThis/ = 0);
%If ( KDE_3_2_0 - )
- KEditToolbarWidget (const QString&, KXMLGUIFactory*, QWidget* /TransferThis/ = 0);
+ KEditToolbarWidget (const TQString&, KXMLGUIFactory*, TQWidget* /TransferThis/ = 0);
%End
@@ -105,12 +105,12 @@ signals:
void enableOk (bool);
protected slots:
- void slotToolbarSelected (const QString&);
- void slotInactiveSelected (QListViewItem*);
- void slotActiveSelected (QListViewItem*);
+ void slotToolbarSelected (const TQString&);
+ void slotInactiveSelected (TQListViewItem*);
+ void slotActiveSelected (TQListViewItem*);
%If ( KDE_3_3_0 - )
- void slotDropped (KListView*, QDropEvent*, QListViewItem*);
+ void slotDropped (KListView*, TQDropEvent*, TQListViewItem*);
%End
void slotInsertButton ();
@@ -127,20 +127,20 @@ protected:
void setupLayout ();
%If ( KDE_3_3_0 - )
-//ig void insertActive (ToolbarItem*, QListViewItem*, bool = 0);
+//ig void insertActive (ToolbarItem*, TQListViewItem*, bool = 0);
//ig void removeActive (ToolbarItem*);
-//ig void moveActive (ToolbarItem*, QListViewItem*);
+//ig void moveActive (ToolbarItem*, TQListViewItem*);
%End
%If ( KDE_3_2_0 - )
- void initNonKPart (KActionCollection*, const QString&, bool);
+ void initNonKPart (KActionCollection*, const TQString&, bool);
void initKPart (KXMLGUIFactory*);
- void loadToolbarCombo (const QString& = QString ::null );
+ void loadToolbarCombo (const TQString& = TQString ::null );
%End
- void loadActionList (QDomElement&);
- void updateLocal (QDomElement&);
+ void loadActionList (TQDomElement&);
+ void updateLocal (TQDomElement&);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kfontcombo.sip b/sip/tdeui/kfontcombo.sip
index 7bca452..d19c5c2 100644
--- a/sip/tdeui/kfontcombo.sip
+++ b/sip/tdeui/kfontcombo.sip
@@ -32,11 +32,11 @@ class KFontCombo : KComboBox
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;
+ KFontCombo (TQWidget* /TransferThis/, const char* = 0);
+ KFontCombo (const TQStringList&, TQWidget* /TransferThis/, const char* = 0);
+ void setFonts (const TQStringList&);
+ void setCurrentFont (const TQString&);
+ TQString currentFont () const;
void setBold (bool);
bool bold () const;
void setItalic (bool);
diff --git a/sip/tdeui/kfontdialog.sip b/sip/tdeui/kfontdialog.sip
index 8ef9b57..722b034 100644
--- a/sip/tdeui/kfontdialog.sip
+++ b/sip/tdeui/kfontdialog.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KFontChooser : QWidget
+class KFontChooser : TQWidget
{
%TypeHeaderCode
#include <qbutton.h>
@@ -53,9 +53,9 @@ public:
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)];
+ KFontChooser (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, int = 8, bool = 0, TQButton::ToggleState = TQButton ::Off ) [(TQWidget* = 0, const char* = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, int = 8, bool = 0, TQButton::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)
+//takes parent | (TQWidget = 0) | name | (string = "") | onlyFixed | (bool = 0) | fontList | (TQStringList = TQStringList()) | makeFrame | (bool = 1) | visibleListSize | (int = 8) | diff | (bool = 0) | sizeIsRelativeState | (TQButton::ToggleState = 0)
//returns
Py_BEGIN_ALLOW_THREADS
sipCpp = (sipKFontChooser *) new KFontChooser (a0, a1, a2, *a3, a4, a5, a6, &a7);
@@ -63,23 +63,23 @@ public:
%End
void enableColumn (int, bool);
- void setFont (const QFont&, bool = 0);
+ void setFont (const TQFont&, 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&);
+ TQFont font () const;
+ void setColor (const TQColor&);
+ TQColor color () const;
+ void setBackgroundColor (const TQColor&);
+ TQColor backgroundColor () const;
+ void setSizeIsRelative (TQButton::ToggleState);
+ TQButton::ToggleState sizeIsRelative () const;
+ TQString sampleText () const;
+ void setSampleText (const TQString&);
%If ( KDE_3_5_0 - )
void setSampleBoxVisible (bool);
%End
- static QString getXLFD (const QFont&);
+ static TQString getXLFD (const TQFont&);
enum FontListCriteria
{
@@ -88,11 +88,11 @@ public:
SmoothScalableFonts
};
- static void getFontList (QStringList&, bool);
- virtual QSize sizeHint () const;
+ static void getFontList (TQStringList&, bool);
+ virtual TQSize sizeHint () const;
signals:
- void fontSelected (const QFont&);
+ void fontSelected (const TQFont&);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -123,22 +123,22 @@ class KFontDialog : KDialogBase
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)];
+ KFontDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, bool = 0, TQButton::ToggleState = TQButton ::Off ) [(TQWidget* = 0, const char* = 0, bool = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, bool = 0, TQButton::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)
+//takes parent | (TQWidget = 0) | name | (string = "") | onlyFixed | (bool = 0) | modal | (bool = 0) | fontlist | (TQStringList = TQStringList()) | makeFrame | (bool = 1) | diff | (bool = 0) | sizeIsRelativeState | (TQButton::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)];
+ void setFont (const TQFont&, bool = 0);
+ TQFont font () const;
+ void setSizeIsRelative (TQButton::ToggleState);
+ TQButton::ToggleState sizeIsRelative () const;
+ static SIP_PYTUPLE getFont (TQFont&, bool = 0, TQWidget* /Transfer/ = 0, bool = 1, TQButton::ToggleState /In/ = TQButton ::Off ) [int (TQFont&, bool = 0, TQWidget* = 0, bool = 1, TQButton::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)
+//returns (int) sizeIsRelative (TQButton::ToggleState)
+//takes theFont | (TQFont) | onlyFixed | (bool = False) | parent | (TQWidget = 0) | makeFrame | (bool = True) | sizeIsRelative | (TQButton::ToggleState = TQButton.Off)
int res;
Py_BEGIN_ALLOW_THREADS
res = KFontDialog::getFont (*a0, a1, a2, a3, &a4);
@@ -147,10 +147,10 @@ public:
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)];
+ static SIP_PYTUPLE getFontDiff (TQFont&, int&, bool = 0, TQWidget* /Transfer/ = 0, bool = 1, TQButton::ToggleState /In/ = TQButton ::Off ) [int (TQFont&, int&, bool = 0, TQWidget* = 0, bool = 1, TQButton::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)
+//returns (int) sizeIsRelative (TQButton::ToggleState)
+//takes theFont | (TQFont) | diffFlags | (int) | onlyFixed | (bool = False) | parent | (TQWidget = 0) | makeFrame | (bool = true) | sizeIsRelative | (TQButton::ToggleState = TQButton.Off)
int res;
Py_BEGIN_ALLOW_THREADS
res = KFontDialog::getFontDiff (*a0, a1, a2, a3, a4, &a5);
@@ -159,10 +159,10 @@ public:
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)];
+ static SIP_PYTUPLE getFontAndText (TQFont&, TQString&, bool = 0, TQWidget* /Transfer/ = 0, bool = 1, TQButton::ToggleState /In/ = TQButton ::Off ) [int (TQFont&, TQString&, bool = 0, TQWidget* = 0, bool = 1, TQButton::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)
+//returns (int) sizeIsRelative (TQButton::ToggleState)
+//takes theFont | (TQFont) | theString | (TQString) | onlyFixed | (bool = False) | parent | (TQWidget = 0) | makeFrame | (bool = true) | sizeIsRelative | (TQButton::ToggleState = TQButton.Off)
int res;
Py_BEGIN_ALLOW_THREADS
res = KFontDialog::getFontAndText (*a0, *a1, a2, a3, a4, &a5);
@@ -173,7 +173,7 @@ public:
signals:
- void fontSelected (const QFont&);
+ void fontSelected (const TQFont&);
protected:
diff --git a/sip/tdeui/kfontrequester.sip b/sip/tdeui/kfontrequester.sip
index 7e707bd..efb13ac 100644
--- a/sip/tdeui/kfontrequester.sip
+++ b/sip/tdeui/kfontrequester.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_2_0 - )
-class KFontRequester : QWidget
+class KFontRequester : TQWidget
{
%TypeHeaderCode
#include <kfontrequester.h>
@@ -34,19 +34,19 @@ class KFontRequester : QWidget
public:
- KFontRequester (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
- QFont font () const;
+ KFontRequester (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
+ TQFont 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&);
+ TQString sampleText () const;
+ TQString title () const;
+ TQLabel* label () const;
+ TQPushButton* button () const;
+ virtual void setFont (const TQFont&, bool = 0);
+ virtual void setSampleText (const TQString&);
+ virtual void setTitle (const TQString&);
signals:
- void fontSelected (const QFont&);
+ void fontSelected (const TQFont&);
protected:
void displaySampleText ();
diff --git a/sip/tdeui/kguiitem.sip b/sip/tdeui/kguiitem.sip
index 90796ca..5b490ac 100644
--- a/sip/tdeui/kguiitem.sip
+++ b/sip/tdeui/kguiitem.sip
@@ -33,24 +33,24 @@ class KGuiItem
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 TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
+ KGuiItem (const TQString&, const TQIconSet&, const TQString& = TQString ::null , const TQString& = TQString ::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;
+ TQString text () const;
+ TQString plainText () const;
+ TQIconSet iconSet (KIcon::Group, int = 0, KInstance* = KGlobal ::instance ()) const;
+ TQIconSet iconSet () const;
+ TQString iconName () const;
+ TQString toolTip () const;
+ TQString 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 setText (const TQString&);
+ void setIconSet (const TQIconSet&);
+ void setIconName (const TQString&);
+ void setToolTip (const TQString&);
+ void setWhatsThis (const TQString&);
void setEnabled (bool);
}; // class KGuiItem
diff --git a/sip/tdeui/khelpmenu.sip b/sip/tdeui/khelpmenu.sip
index 97e0680..aa970f7 100644
--- a/sip/tdeui/khelpmenu.sip
+++ b/sip/tdeui/khelpmenu.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KHelpMenu : QObject
+class KHelpMenu : TQObject
{
%TypeHeaderCode
#include <khelpmenu.h>
@@ -42,8 +42,8 @@ public:
menuReportBug
};
- KHelpMenu (QWidget* /TransferThis/ = 0, const QString& = QString ::null , bool = 1);
- KHelpMenu (QWidget* /TransferThis/, const KAboutData*, bool = 1, KActionCollection* = 0);
+ KHelpMenu (TQWidget* /TransferThis/ = 0, const TQString& = TQString ::null , bool = 1);
+ KHelpMenu (TQWidget* /TransferThis/, const KAboutData*, bool = 1, KActionCollection* = 0);
KPopupMenu* menu ();
public slots:
diff --git a/sip/tdeui/kiconview.sip b/sip/tdeui/kiconview.sip
index 11ffa56..7940f1a 100644
--- a/sip/tdeui/kiconview.sip
+++ b/sip/tdeui/kiconview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KIconView : QIconView
+class KIconView : TQIconView
{
%TypeHeaderCode
#include <kiconview.h>
@@ -32,7 +32,7 @@ class KIconView : QIconView
public:
- KIconView (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ KIconView (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
enum Mode
{
@@ -42,58 +42,58 @@ public:
void setMode (KIconView::Mode);
Mode mode () const;
- virtual void setFont (const QFont&);
+ virtual void setFont (const TQFont&);
%If ( KDE_3_3_0 - )
void setIconTextHeight (int);
int iconTextHeight () const;
%If ( KDE_3_4_0 - )
- virtual void takeItem (QIconViewItem*);
+ virtual void takeItem (TQIconViewItem*);
%End
%End
signals:
- void executed (QIconViewItem*);
- void executed (QIconViewItem*, const QPoint&);
+ void executed (TQIconViewItem*);
+ void executed (TQIconViewItem*, const TQPoint&);
%If ( KDE_3_3_0 - )
- void held (QIconViewItem*);
+ void held (TQIconViewItem*);
%End
- void doubleClicked (QIconViewItem*, const QPoint&);
+ void doubleClicked (TQIconViewItem*, const TQPoint&);
protected slots:
- void slotOnItem (QIconViewItem*);
+ void slotOnItem (TQIconViewItem*);
void slotOnViewport ();
void slotSettingsChanged (int);
void slotAutoSelect ();
protected:
- void emitExecute (QIconViewItem*, const QPoint&);
+ void emitExecute (TQIconViewItem*, const TQPoint&);
%If ( KDE_3_5_0 - )
- void updateDragHoldItem (QDropEvent*);
+ void updateDragHoldItem (TQDropEvent*);
%End
- virtual void focusOutEvent (QFocusEvent*);
- virtual void leaveEvent (QEvent*);
- virtual void contentsMousePressEvent (QMouseEvent*);
- virtual void contentsMouseDoubleClickEvent (QMouseEvent*);
- virtual void contentsMouseReleaseEvent (QMouseEvent*);
+ virtual void focusOutEvent (TQFocusEvent*);
+ virtual void leaveEvent (TQEvent*);
+ virtual void contentsMousePressEvent (TQMouseEvent*);
+ virtual void contentsMouseDoubleClickEvent (TQMouseEvent*);
+ virtual void contentsMouseReleaseEvent (TQMouseEvent*);
%If ( KDE_3_3_0 - )
- virtual void contentsDragEnterEvent (QDragEnterEvent*);
+ virtual void contentsDragEnterEvent (TQDragEnterEvent*);
%If ( KDE_3_5_0 - )
- virtual void contentsDragLeaveEvent (QDragLeaveEvent*);
+ virtual void contentsDragLeaveEvent (TQDragLeaveEvent*);
%End
- virtual void contentsDragMoveEvent (QDragMoveEvent*);
- virtual void contentsDropEvent (QDropEvent*);
- virtual void wheelEvent (QWheelEvent*);
+ virtual void contentsDragMoveEvent (TQDragMoveEvent*);
+ virtual void contentsDropEvent (TQDropEvent*);
+ virtual void wheelEvent (TQWheelEvent*);
%If ( KDE_3_4_0 - )
void cancelPendingHeldSignal ();
@@ -108,7 +108,7 @@ protected:
}; // class KIconView
-class KIconViewItem : QIconViewItem
+class KIconViewItem : TQIconViewItem
{
%TypeHeaderCode
#include <kiconview.h>
@@ -116,30 +116,30 @@ class KIconViewItem : QIconViewItem
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&);
+ KIconViewItem (TQIconView* /TransferThis/);
+ KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*);
+ KIconViewItem (TQIconView* /TransferThis/, const TQString&);
+ KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&);
+ KIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPixmap&);
+ KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPixmap&);
+ KIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPicture&);
+ KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPicture&);
%If ( KDE_3_3_0 - )
- void setPixmapSize (const QSize&);
- QSize pixmapSize () const;
+ void setPixmapSize (const TQSize&);
+ TQSize pixmapSize () const;
%End
protected:
void init ();
- virtual void calcRect (const QString& = QString ::null );
- virtual void paintItem (QPainter*, const QColorGroup&);
+ virtual void calcRect (const TQString& = TQString ::null );
+ virtual void paintItem (TQPainter*, const TQColorGroup&);
%If ( KDE_3_2_0 - )
KWordWrap* wordWrap ();
- void paintPixmap (QPainter*, const QColorGroup&);
- void paintText (QPainter*, const QColorGroup&);
+ void paintPixmap (TQPainter*, const TQColorGroup&);
+ void paintText (TQPainter*, const TQColorGroup&);
%End
diff --git a/sip/tdeui/kiconviewsearchline.sip b/sip/tdeui/kiconviewsearchline.sip
index 0dac3f4..cdc6c9e 100644
--- a/sip/tdeui/kiconviewsearchline.sip
+++ b/sip/tdeui/kiconviewsearchline.sip
@@ -34,25 +34,25 @@ class KIconViewSearchLine : KLineEdit
public:
- KIconViewSearchLine (QWidget* /TransferThis/ = 0, QIconView* = 0, const char* = 0);
- KIconViewSearchLine (QWidget* /TransferThis/, const char*);
+ KIconViewSearchLine (TQWidget* /TransferThis/ = 0, TQIconView* = 0, const char* = 0);
+ KIconViewSearchLine (TQWidget* /TransferThis/, const char*);
bool caseSensitive () const;
- QIconView* iconView () const;
+ TQIconView* iconView () const;
public slots:
- virtual void updateSearch (const QString& = QString ::null );
+ virtual void updateSearch (const TQString& = TQString ::null );
void setCaseSensitive (bool);
- void setIconView (QIconView*);
+ void setIconView (TQIconView*);
void clear ();
protected:
- virtual bool itemMatches (const QIconViewItem*, const QString&) const;
- void init (QIconView* = 0);
- void hideItem (QIconViewItem*);
- void showItem (QIconViewItem*);
+ virtual bool itemMatches (const TQIconViewItem*, const TQString&) const;
+ void init (TQIconView* = 0);
+ void hideItem (TQIconViewItem*);
+ void showItem (TQIconViewItem*);
protected slots:
- void queueSearch (const QString&);
+ void queueSearch (const TQString&);
void activateSearch ();
}; // class KIconViewSearchLine
diff --git a/sip/tdeui/kinputdialog.sip b/sip/tdeui/kinputdialog.sip
index acae513..365abd5 100644
--- a/sip/tdeui/kinputdialog.sip
+++ b/sip/tdeui/kinputdialog.sip
@@ -34,31 +34,31 @@ class KInputDialog : KDialogBase
private:
- KInputDialog (const QString&, const QString&, const QString&, QWidget* /TransferThis/, const char*, QValidator*, const QString&);
+ KInputDialog (const TQString&, const TQString&, const TQString&, TQWidget* /TransferThis/, const char*, TQValidator*, const TQString&);
%If ( KDE_3_3_0 - )
- KInputDialog (const QString&, const QString&, const QString&, QWidget* /TransferThis/, const char*);
+ KInputDialog (const TQString&, const TQString&, const TQString&, TQWidget* /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 (const TQString&, const TQString&, int, int, int, int, int, TQWidget* /TransferThis/, const char*);
+ KInputDialog (const TQString&, const TQString&, const TQStringList&, int, bool, TQWidget* /TransferThis/, const char*);
+ KInputDialog (const TQString&, const TQString&, const TQStringList&, const TQStringList&, bool, TQWidget* /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 );
+ static TQString getText (const TQString&, const TQString&, const TQString& = TQString ::null , bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0, TQValidator* = 0, const TQString& = TQString ::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);
+ static TQString text (const TQString&, const TQString&, const TQString& = TQString ::null , bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0, TQValidator* = 0, const TQString& = TQString ::null , const TQString& = TQString ::null );
+ static TQString getMultiLineText (const TQString&, const TQString&, const TQString& = TQString ::null , bool* = 0, TQWidget* /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);
+ static int getInteger (const TQString&, const TQString&, int = 0, int = -2147483647, int = 2147483647, int = 1, int = 10, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0);
+//ig static int getInteger (const TQString&, const TQString&, int = 0, int = -2147483647, int = 2147483647, int = 1, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0);
+ static double getDouble (const TQString&, const TQString&, double = 0, double = -2147483647, double = 2147483647, double = 0.1, int = 1, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0);
+//ig static double getDouble (const TQString&, const TQString&, double = 0, double = -2147483647, double = 2147483647, int = 1, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0);
+ static TQString getItem (const TQString&, const TQString&, const TQStringList&, int = 0, bool = 0, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0);
+ static TQStringList getItemList (const TQString&, const TQString&, const TQStringList& = TQStringList (), const TQStringList& = TQStringList (), bool = 0, bool* = 0, TQWidget* /Transfer/ = 0, const char* = 0);
}; // class KInputDialog
diff --git a/sip/tdeui/kjanuswidget.sip b/sip/tdeui/kjanuswidget.sip
index 7dd299a..01b90ac 100644
--- a/sip/tdeui/kjanuswidget.sip
+++ b/sip/tdeui/kjanuswidget.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KJanusWidget : QWidget
+class KJanusWidget : TQWidget
{
%TypeHeaderCode
#include <kjanuswidget.h>
@@ -44,64 +44,64 @@ public:
public:
- KJanusWidget (QWidget* /TransferThis/ = 0, const char* = 0, int = Plain );
+ KJanusWidget (TQWidget* /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 ());
+ virtual TQSize minimumSizeHint () const;
+ virtual TQSize sizeHint () const;
+ virtual TQFrame* plainPage ();
+ virtual TQFrame* addPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ virtual TQFrame* addPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ virtual TQVBox* addVBoxPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ virtual TQVBox* addVBoxPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ virtual TQHBox* addHBoxPage (const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ virtual TQHBox* addHBoxPage (const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ virtual TQGrid* addGridPage (int, TQt::Orientation, const TQString&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
+ virtual TQGrid* addGridPage (int, TQt::Orientation, const TQStringList&, const TQString& = TQString ::null , const TQPixmap& = TQPixmap ());
%If ( KDE_3_1_0 - )
- void removePage (QWidget*);
+ void removePage (TQWidget*);
%End
- virtual int pageIndex (QWidget*) const;
- virtual bool setSwallowedWidget (QWidget*);
+ virtual int pageIndex (TQWidget*) const;
+ virtual bool setSwallowedWidget (TQWidget*);
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*);
+ void addWidgetBelowList (TQWidget*);
+ void addButtonBelowList (const TQString&, TQObject*, const char*);
+ void addButtonBelowList (const KGuiItem&, TQObject*, const char*);
%End
virtual void setIconListAllVisible (bool);
- virtual void setFolderIcon (const QStringList&, const QPixmap&);
+ virtual void setFolderIcon (const TQStringList&, const TQPixmap&);
%If ( KDE_3_2_0 - )
- QString pageTitle (int) const;
- QWidget* pageWidget (int) const;
+ TQString pageTitle (int) const;
+ TQWidget* pageWidget (int) const;
%End
signals:
- void aboutToShowPage (QWidget*);
+ void aboutToShowPage (TQWidget*);
public slots:
virtual void setFocus ();
protected:
- virtual void showEvent (QShowEvent*);
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual void showEvent (TQShowEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
protected:
- bool showPage (QWidget*);
- void addPageWidget (QFrame*, const QStringList&, const QString&, const QPixmap&);
- void InsertTreeListItem (const QStringList&, const QPixmap&, QFrame*);
- QWidget* FindParent ();
+ bool showPage (TQWidget*);
+ void addPageWidget (TQFrame*, const TQStringList&, const TQString&, const TQPixmap&);
+ void InsertTreeListItem (const TQStringList&, const TQPixmap&, TQFrame*);
+ TQWidget* FindParent ();
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kkeybutton.sip b/sip/tdeui/kkeybutton.sip
index 56fca38..e92b317 100644
--- a/sip/tdeui/kkeybutton.sip
+++ b/sip/tdeui/kkeybutton.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KKeyButton : QPushButton
+class KKeyButton : TQPushButton
{
%TypeHeaderCode
#include <qpushbutton.h>
@@ -33,7 +33,7 @@ class KKeyButton : QPushButton
public:
- KKeyButton (QWidget* /TransferThis/ = 0, const char* = 0);
+ KKeyButton (TQWidget* /TransferThis/ = 0, const char* = 0);
void setShortcut (const KShortcut&);
%If ( KDE_3_1_0 - )
@@ -41,7 +41,7 @@ public:
%End
const KShortcut& shortcut () const;
- void setText (const QString&);
+ void setText (const TQString&);
signals:
void capturedShortcut (const KShortcut&);
@@ -50,7 +50,7 @@ public slots:
void captureShortcut ();
protected:
- void drawButton (QPainter*);
+ void drawButton (TQPainter*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kkeydialog.sip b/sip/tdeui/kkeydialog.sip
index 96d4ff9..843e466 100644
--- a/sip/tdeui/kkeydialog.sip
+++ b/sip/tdeui/kkeydialog.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KKeyChooser : QWidget
+class KKeyChooser : TQWidget
{
%TypeHeaderCode
#include <kkeydialog.h>
@@ -41,24 +41,24 @@ public:
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);
+ KKeyChooser (TQWidget* /TransferThis/, KKeyChooser::ActionType = Application , bool = 1);
+ KKeyChooser (KActionCollection*, TQWidget* /TransferThis/, bool = 1);
+ KKeyChooser (KAccel*, TQWidget* /TransferThis/, bool = 1);
+ KKeyChooser (KGlobalAccel*, TQWidget* /TransferThis/);
+ KKeyChooser (KShortcutList*, TQWidget* /TransferThis/, KKeyChooser::ActionType = Application , bool = 1);
bool insert (KActionCollection*);
%If ( KDE_3_1_0 - )
- bool insert (KActionCollection*, const QString&);
+ bool insert (KActionCollection*, const TQString&);
%End
- void syncToConfig (const QString&, KConfigBase*, bool);
+ void syncToConfig (const TQString&, 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/);
+ static bool checkGlobalShortcutsConflict (const KShortcut&, bool, TQWidget* /Transfer/);
+ static bool checkStandardShortcutsConflict (const KShortcut&, bool, TQWidget* /Transfer/);
%End
@@ -76,33 +76,33 @@ protected:
bool insert (KShortcutList*);
%If ( KDE_3_1_0 - )
- void buildListView (uint, const QString& = QString ::null );
+ void buildListView (uint, const TQString& = TQString ::null );
%End
void readGlobalKeys ();
void updateButtons ();
- void fontChange (const QFont&);
+ void fontChange (const TQFont&);
void setShortcut (const KShortcut&);
bool isKeyPresent (const KShortcut&, bool = 1);
%If ( KDE_3_1_0 - )
-//ig bool isKeyPresentLocally (const KShortcut&, KKeyChooserItem*, const QString&);
+//ig bool isKeyPresentLocally (const KShortcut&, KKeyChooserItem*, const TQString&);
%End
- void _warning (const KKeySequence&, QString, QString);
+ void _warning (const KKeySequence&, TQString, TQString);
protected slots:
void slotNoKey ();
void slotDefaultKey ();
void slotCustomKey ();
- void slotListItemSelected (QListViewItem*);
+ void slotListItemSelected (TQListViewItem*);
void capturedShortcut (const KShortcut&);
%If ( KDE_3_1_0 - )
void slotSettingsChanged (int);
%If ( KDE_3_1_2 - )
- void slotListItemDoubleClicked (QListViewItem*, const QPoint&, int);
+ void slotListItemDoubleClicked (TQListViewItem*, const TQPoint&, int);
%End
%End
@@ -111,8 +111,8 @@ protected slots:
protected:
public:
- KKeyChooser (KAccel*, QWidget* /TransferThis/, bool, bool, bool = 0);
- KKeyChooser (KGlobalAccel*, QWidget* /TransferThis/, bool, bool, bool = 0);
+ KKeyChooser (KAccel*, TQWidget* /TransferThis/, bool, bool, bool = 0);
+ KKeyChooser (KGlobalAccel*, TQWidget* /TransferThis/, bool, bool, bool = 0);
public slots:
void listSync ();
@@ -138,33 +138,33 @@ class KKeyDialog : KDialogBase
public:
- KKeyDialog (bool = 1, QWidget* /TransferThis/ = 0, const char* = 0);
+ KKeyDialog (bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0);
bool insert (KActionCollection*);
%If ( KDE_3_1_0 - )
- bool insert (KActionCollection*, const QString&);
+ bool insert (KActionCollection*, const TQString&);
%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);
+ static int configure (KActionCollection*, TQWidget* /Transfer/ = 0, bool = 1);
+ static int configure (KAccel*, TQWidget* /Transfer/ = 0, bool = 1);
+ static int configure (KGlobalAccel*, TQWidget* /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);
+ static int configure (KActionCollection*, bool, TQWidget* /Transfer/ = 0, bool = 1);
+ static int configure (KAccel*, bool, TQWidget* /Transfer/ = 0, bool = 1);
+ static int configure (KGlobalAccel*, bool, TQWidget* /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);
+ static int configureKeys (KAccel*, bool = 1, TQWidget* /Transfer/ = 0);
+ static int configureKeys (KGlobalAccel*, bool = 1, TQWidget* /Transfer/ = 0);
+ static int configureKeys (KActionCollection*, const TQString&, bool = 1, TQWidget* /Transfer/ = 0);
%If ( KDE_3_1_0 - )
private:
- KKeyDialog (KKeyChooser::ActionType, bool = 1, QWidget* /TransferThis/ = 0, const char* = 0);
+ KKeyDialog (KKeyChooser::ActionType, bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0);
%End
@@ -177,11 +177,11 @@ typedef KKeyChooser KKeyChooser;
%MappedType IntDict
-//converts a Python dict of QString:int
+//converts a Python dict of TQString:int
{
%TypeHeaderCode
#include <qdict.h>
-typedef QDict<int> IntDict;
+typedef TQDict<int> IntDict;
%End
%ConvertFromTypeCode
@@ -199,12 +199,12 @@ typedef QDict<int> IntDict;
// Get it.
- QDict<int> qdict = *sipCpp;
- QDictIterator<int> it (qdict);
+ TQDict<int> qdict = *sipCpp;
+ TQDictIterator<int> it (qdict);
while (it.current ())
{
- QString current_key = it.currentKey ();
+ TQString current_key = it.currentKey ();
PyObject *a0 = sipConvertFromInstance (&current_key, sipClass_QCString, sipTransferObj);
PyObject *a1 = PyInt_FromLong ((long) it.current ());
@@ -222,23 +222,23 @@ typedef QDict<int> IntDict;
%ConvertToTypeCode
- // Convert a Python dictionary to a QDict<int> on the heap.
+ // Convert a Python dictionary to a TQDict<int> on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QDict<int>* qdict = new QDict<int>;
+ TQDict<int>* qdict = new TQDict<int>;
PyObject *key, *value;
SIP_SSIZE_T pos = 0;
- QString *a0;
+ TQString *a0;
int a1;
while (PyDict_Next(sipPy, &pos, &key, &value))
{
int iserr = 0, a0_state;
- a0 = (QString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &a0_state, &iserr);
+ a0 = (TQString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &a0_state, &iserr);
if ((iserr) || (!PyInt_Check (value)))
{
diff --git a/sip/tdeui/klanguagebutton.sip b/sip/tdeui/klanguagebutton.sip
index 9e37774..9f9450a 100644
--- a/sip/tdeui/klanguagebutton.sip
+++ b/sip/tdeui/klanguagebutton.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_3_0 - )
-class KLanguageButton : QWidget
+class KLanguageButton : TQWidget
{
%TypeHeaderCode
#include <klanguagebutton.h>
@@ -34,25 +34,25 @@ class KLanguageButton : QWidget
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);
+ KLanguageButton (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KLanguageButton (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0);
+ void insertItem (const TQIconSet&, const TQString&, const TQString&, const TQString& = TQString ::null , int = -1);
+ void insertItem (const TQString&, const TQString&, const TQString& = TQString ::null , int = -1);
+ void insertSeparator (const TQString& = TQString ::null , int = -1);
+ void insertSubmenu (const TQIconSet&, const TQString&, const TQString&, const TQString& = TQString ::null , int = -1);
+ void insertSubmenu (const TQString&, const TQString&, const TQString& = TQString ::null , int = -1);
+ void insertLanguage (const TQString&, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::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;
+ void setText (const TQString&);
+ TQString current () const;
+ bool contains (const TQString&) const;
+ void setCurrentItem (const TQString&);
+ TQString id (int) const;
signals:
- void activated (const QString&);
- void highlighted (const QString&);
+ void activated (const TQString&);
+ void highlighted (const TQString&);
}; // class KLanguageButton
diff --git a/sip/tdeui/kled.sip b/sip/tdeui/kled.sip
index c281a90..ba93758 100644
--- a/sip/tdeui/kled.sip
+++ b/sip/tdeui/kled.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KLed : QWidget
+class KLed : TQWidget
{
%TypeHeaderCode
#include <kled.h>
@@ -54,22 +54,22 @@ public:
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);
+ KLed (TQWidget* /TransferThis/ = 0, const char* = 0);
+//ig KLed (const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0);
+ KLed (const TQColor&, KLed::State, KLed::Look, KLed::Shape, TQWidget* /TransferThis/ = 0, const char* = 0);
State state () const;
Shape shape () const;
- const QColor color () const;
+ const TQColor color () const;
Look look () const;
int darkFactor () const;
void setState (KLed::State);
void setShape (KLed::Shape);
void toggleState ();
- void setColor (const QColor&);
+ void setColor (const TQColor&);
void setDarkFactor (int);
void setLook (KLed::Look);
- virtual QSize sizeHint () const;
- virtual QSize minimumSizeHint () const;
+ virtual TQSize sizeHint () const;
+ virtual TQSize minimumSizeHint () const;
public slots:
void toggle ();
@@ -82,7 +82,7 @@ protected:
virtual void paintSunken ();
virtual void paintRect ();
virtual void paintRectFrame (bool);
- void paintEvent (QPaintEvent*);
+ void paintEvent (TQPaintEvent*);
%If ( KDE_3_3_0 - )
int ensureRoundLed ();
diff --git a/sip/tdeui/klineedit.sip b/sip/tdeui/klineedit.sip
index 2cb05a0..469bec4 100644
--- a/sip/tdeui/klineedit.sip
+++ b/sip/tdeui/klineedit.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KLineEdit : QLineEdit, KCompletionBase
+class KLineEdit : TQLineEdit, KCompletionBase
{
%TypeHeaderCode
#include <klineedit.h>
@@ -32,8 +32,8 @@ class KLineEdit : QLineEdit, KCompletionBase
public:
- KLineEdit (const QString&, QWidget* /TransferThis/, const char* = 0);
- KLineEdit (QWidget* /TransferThis/ = 0, const char* = 0);
+ KLineEdit (const TQString&, TQWidget* /TransferThis/, const char* = 0);
+ KLineEdit (TQWidget* /TransferThis/ = 0, const char* = 0);
void setURL (const KURL&);
void cursorAtEnd ();
virtual void setCompletionMode (KGlobalSettings::Completion);
@@ -43,7 +43,7 @@ public:
bool isURLDropsEnabled () const;
void setTrapReturnKey (bool);
bool trapReturnKey () const;
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
KCompletionBox* completionBox (bool);
virtual void setCompletionObject (KCompletion*, bool = 1);
@@ -53,7 +53,7 @@ public:
%If ( KDE_3_2_0 - )
void setEnableSqueezedText (bool);
bool isSqueezedTextEnabled () const;
- QString originalText () const;
+ TQString originalText () const;
%If ( KDE_3_4_0 - )
void setCompletionBox (KCompletionBox*);
@@ -67,65 +67,65 @@ public:
signals:
%If ( KDE_3_1_0 - )
- void completionBoxActivated (const QString&);
+ void completionBoxActivated (const TQString&);
%End
- void returnPressed (const QString&);
- void completion (const QString&);
- void substringCompletion (const QString&);
+ void returnPressed (const TQString&);
+ void completion (const TQString&);
+ void substringCompletion (const TQString&);
void textRotation (KCompletionBase::KeyBindingType);
void completionModeChanged (KGlobalSettings::Completion);
- void aboutToShowContextMenu (QPopupMenu*);
+ void aboutToShowContextMenu (TQPopupMenu*);
public slots:
virtual void setReadOnly (bool);
void rotateText (KCompletionBase::KeyBindingType);
- virtual void setCompletedText (const QString&);
- void setCompletedItems (const QStringList&);
+ virtual void setCompletedText (const TQString&);
+ void setCompletedItems (const TQStringList&);
%If ( KDE_3_3_0 - )
- void setCompletedItems (const QStringList&, bool);
+ void setCompletedItems (const TQStringList&, bool);
%End
virtual void clear ();
%If ( KDE_3_1_0 - )
- void setSqueezedText (const QString&);
+ void setSqueezedText (const TQString&);
%If ( KDE_3_2_0 - )
- virtual void setText (const QString&);
+ virtual void setText (const TQString&);
%End
%End
protected slots:
- virtual void makeCompletion (const QString&);
+ virtual void makeCompletion (const TQString&);
void slotAboutToShow ();
void slotCancelled ();
%If ( KDE_3_2_0 - )
- void userCancelled (const QString&);
+ void userCancelled (const TQString&);
%End
protected:
%If ( KDE_3_1_0 - )
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
%End
- virtual void keyPressEvent (QKeyEvent*);
- virtual void mousePressEvent (QMouseEvent*);
- virtual void mouseDoubleClickEvent (QMouseEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseDoubleClickEvent (TQMouseEvent*);
%If ( KDE_3_3_1 - )
- virtual void contextMenuEvent (QContextMenuEvent*);
+ virtual void contextMenuEvent (TQContextMenuEvent*);
%End
- virtual QPopupMenu* createPopupMenu ();
- virtual void dropEvent (QDropEvent*);
- virtual void setCompletedText (const QString&, bool);
+ virtual TQPopupMenu* createPopupMenu ();
+ virtual void dropEvent (TQDropEvent*);
+ virtual void setCompletedText (const TQString&, bool);
%If ( KDE_3_2_0 - )
void setUserSelection (bool);
@@ -134,7 +134,7 @@ protected:
virtual void create (WId = 0, bool = 1, bool = 1);
%If ( KDE_3_4_0 - )
- virtual void focusInEvent (QFocusEvent*);
+ virtual void focusInEvent (TQFocusEvent*);
bool autoSuggest () const;
%End
diff --git a/sip/tdeui/klineeditdlg.sip b/sip/tdeui/klineeditdlg.sip
index 7b30054..02d9597 100644
--- a/sip/tdeui/klineeditdlg.sip
+++ b/sip/tdeui/klineeditdlg.sip
@@ -32,17 +32,17 @@ class KLineEditDlg : KDialogBase
public:
- KLineEditDlg (const QString&, const QString&, QWidget* /TransferThis/);
- QString text ();
+ KLineEditDlg (const TQString&, const TQString&, TQWidget* /TransferThis/);
+ TQString 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);
+ static TQString getText (const TQString&, const TQString&, bool*, TQWidget* /Transfer/, TQValidator* = 0);
+ static TQString getText (const TQString&, const TQString&, const TQString& = TQString ::null , bool* = 0, TQWidget* /Transfer/ = 0, TQValidator* = 0);
public slots:
void slotClear ();
protected slots:
- void slotTextChanged (const QString&);
+ void slotTextChanged (const TQString&);
protected:
diff --git a/sip/tdeui/klistbox.sip b/sip/tdeui/klistbox.sip
index aec4359..41ed7b8 100644
--- a/sip/tdeui/klistbox.sip
+++ b/sip/tdeui/klistbox.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KListBox : QListBox
+class KListBox : TQListBox
{
%TypeHeaderCode
#include <klistbox.h>
@@ -32,26 +32,26 @@ class KListBox : QListBox
public:
- KListBox (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ KListBox (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
signals:
- void executed (QListBoxItem*);
- void executed (QListBoxItem*, const QPoint&);
- void doubleClicked (QListBoxItem*, const QPoint&);
+ void executed (TQListBoxItem*);
+ void executed (TQListBoxItem*, const TQPoint&);
+ void doubleClicked (TQListBoxItem*, const TQPoint&);
protected slots:
- void slotOnItem (QListBoxItem*);
+ void slotOnItem (TQListBoxItem*);
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*);
+ void emitExecute (TQListBoxItem*, const TQPoint&);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void focusOutEvent (TQFocusEvent*);
+ virtual void leaveEvent (TQEvent*);
+ virtual void contentsMousePressEvent (TQMouseEvent*);
+ virtual void contentsMouseDoubleClickEvent (TQMouseEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/klistview.sip b/sip/tdeui/klistview.sip
index 88231f9..29a5a4e 100644
--- a/sip/tdeui/klistview.sip
+++ b/sip/tdeui/klistview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KListView : QListView
+class KListView : TQListView
{
%TypeHeaderCode
#include <klistview.h>
@@ -42,19 +42,19 @@ public:
FileManager
};
- KListView (QWidget* /TransferThis/ = 0, const char* = 0);
+ KListView (TQWidget* /TransferThis/ = 0, const char* = 0);
virtual void setAcceptDrops (bool);
- virtual bool isExecuteArea (const QPoint&);
+ virtual bool isExecuteArea (const TQPoint&);
bool isExecuteArea (int);
- QPtrList<QListViewItem> selectedItems () const;
+ TQPtrList<TQListViewItem> selectedItems () const;
%If ( KDE_3_4_0 - )
- QPtrList<QListViewItem> selectedItems (bool) const;
+ TQPtrList<TQListViewItem> selectedItems (bool) const;
%End
- void moveItem (QListViewItem*, QListViewItem* /Transfer/, QListViewItem*);
- QListViewItem* lastItem () const;
- QListViewItem* lastChild () const;
+ void moveItem (TQListViewItem*, TQListViewItem* /Transfer/, TQListViewItem*);
+ TQListViewItem* lastItem () const;
+ TQListViewItem* lastChild () const;
%If ( KDE_3_1_0 - )
KLineEdit* renameLineEdit () const;
@@ -71,28 +71,28 @@ public:
bool dropHighlighter () const;
int dropVisualizerWidth () const;
SelectionModeExt selectionModeExt () const;
- int itemIndex (const QListViewItem*) const;
- QListViewItem* itemAtIndex (int);
+ int itemIndex (const TQListViewItem*) const;
+ TQListViewItem* 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 int addColumn (const TQString&, int = -1);
+ virtual int addColumn (const TQIconSet&, const TQString&, 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&);
+ void setAlternateBackground (const TQColor&);
+ const TQColor& alternateBackground () const;
+ void saveLayout (KConfig*, const TQString&) const;
+ void restoreLayout (KConfig*, const TQString&);
virtual void setSorting (int, bool = 1);
int columnSorted () const;
bool ascendingSort () const;
%If ( KDE_3_2_0 - )
- virtual void takeItem (QListViewItem*);
+ virtual void takeItem (TQListViewItem*);
%If ( KDE_3_4_0 - )
void setShadeSortColumn (bool);
@@ -103,29 +103,29 @@ public:
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 executed (TQListViewItem*);
+ void executed (TQListViewItem*, const TQPoint&, int);
+ void dropped (TQDropEvent*, TQListViewItem*);
+ void dropped (KListView*, TQDropEvent*, TQListViewItem*);
+ void dropped (KListView*, TQDropEvent*, TQListViewItem* /Transfer/, TQListViewItem*);
+ void dropped (TQDropEvent*, TQListViewItem* /Transfer/, TQListViewItem*);
void moved ();
void aboutToMove ();
- void moved (QListViewItem*, QListViewItem*, QListViewItem*);
- void moved (QPtrList<QListViewItem>&, QPtrList<QListViewItem>&, QPtrList<QListViewItem>&);
- void itemRenamed (QListViewItem*, const QString&, int);
- void itemRenamed (QListViewItem*);
- void menuShortCutPressed (KListView*, QListViewItem*);
- void contextMenu (KListView*, QListViewItem*, const QPoint&);
+ void moved (TQListViewItem*, TQListViewItem*, TQListViewItem*);
+ void moved (TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&);
+ void itemRenamed (TQListViewItem*, const TQString&, int);
+ void itemRenamed (TQListViewItem*);
+ void menuShortCutPressed (KListView*, TQListViewItem*);
+ void contextMenu (KListView*, TQListViewItem*, const TQPoint&);
%If ( KDE_3_3_0 - )
- void itemAdded (QListViewItem*);
- void itemRemoved (QListViewItem*);
+ void itemAdded (TQListViewItem*);
+ void itemRemoved (TQListViewItem*);
%End
public slots:
- virtual void rename (QListViewItem*, int);
+ virtual void rename (TQListViewItem*, int);
void setRenameable (int, bool = 1);
virtual void setItemsMovable (bool);
virtual void setItemsRenameable (bool);
@@ -145,41 +145,41 @@ public slots:
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*);
+ bool below (const TQRect&, const TQPoint&);
+ bool below (TQListViewItem*, const TQPoint&);
+ virtual bool event (TQEvent*);
+ void emitExecute (TQListViewItem*, const TQPoint&, int);
+ virtual void focusInEvent (TQFocusEvent*);
+ virtual void focusOutEvent (TQFocusEvent*);
+ virtual void leaveEvent (TQEvent*);
+ virtual TQString tooltip (TQListViewItem*, int) const;
+ virtual bool showTooltip (TQListViewItem*, const TQPoint&, int) const;
+ virtual void contentsDragMoveEvent (TQDragMoveEvent*);
+ virtual void contentsMousePressEvent (TQMouseEvent*);
+ virtual void contentsMouseMoveEvent (TQMouseEvent*);
+ virtual void contentsMouseDoubleClickEvent (TQMouseEvent*);
+ virtual void contentsDragLeaveEvent (TQDragLeaveEvent*);
+ virtual void contentsMouseReleaseEvent (TQMouseEvent*);
+ virtual void contentsDropEvent (TQDropEvent*);
+ virtual void contentsDragEnterEvent (TQDragEnterEvent*);
+//ig virtual TQDragObject* dragObject () const;
+ virtual bool acceptDrag (TQDropEvent*) const;
+ virtual TQRect drawDropVisualizer (TQPainter*, TQListViewItem* /Transfer/, TQListViewItem*);
+ virtual TQRect drawItemHighlighter (TQPainter*, TQListViewItem*);
virtual void startDrag ();
- virtual void keyPressEvent (QKeyEvent*);
- virtual void viewportPaintEvent (QPaintEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void viewportPaintEvent (TQPaintEvent*);
void activateAutomaticSelection ();
void deactivateAutomaticSelection ();
bool automaticSelection () const;
- virtual void viewportResizeEvent (QResizeEvent*);
+ virtual void viewportResizeEvent (TQResizeEvent*);
%If ( KDE_3_2_0 - )
void disableAutoSelection ();
void resetAutoSelection ();
%If ( KDE_3_3_0 - )
- void doubleClicked (QListViewItem*, const QPoint&, int);
+ void doubleClicked (TQListViewItem*, const TQPoint&, int);
%End
%End
@@ -187,13 +187,13 @@ protected:
protected slots:
void slotSettingsChanged (int);
- void slotMouseButtonClicked (int, QListViewItem*, const QPoint&, int);
- void doneEditing (QListViewItem*, int);
+ void slotMouseButtonClicked (int, TQListViewItem*, const TQPoint&, int);
+ void doneEditing (TQListViewItem*, int);
void cleanDropVisualizer ();
void cleanItemHighlighter ();
- void emitContextMenu (QListViewItem*, const QPoint&, int);
- void emitContextMenu (KListView*, QListViewItem*);
- void slotOnItem (QListViewItem*);
+ void emitContextMenu (TQListViewItem*, const TQPoint&, int);
+ void emitContextMenu (KListView*, TQListViewItem*);
+ void slotOnItem (TQListViewItem*);
void slotOnViewport ();
void slotAutoSelect ();
@@ -204,9 +204,9 @@ protected slots:
void slotHeaderChanged ();
protected:
- virtual void movableDropEvent (QListViewItem*, QListViewItem*);
- virtual void findDrop (const QPoint&, QListViewItem*&, QListViewItem*&);
- void fileManagerKeyPressEvent (QKeyEvent*);
+ virtual void movableDropEvent (TQListViewItem*, TQListViewItem*);
+ virtual void findDrop (const TQPoint&, TQListViewItem*&, TQListViewItem*&);
+ void fileManagerKeyPressEvent (TQKeyEvent*);
int depthToPixels (int);
protected:
@@ -215,19 +215,19 @@ protected:
signals:
%If ( - KDE_3_3_0 )
- void doubleClicked (QListViewItem*, const QPoint&, int);
+ void doubleClicked (TQListViewItem*, const TQPoint&, int);
%End
protected:
//force
- virtual QDragObject* dragObject ();
+ virtual TQDragObject* dragObject ();
//end
}; // class KListView
-class KListViewItem : QListViewItem
+class KListViewItem : TQListViewItem
{
%TypeHeaderCode
#include <klistview.h>
@@ -235,40 +235,40 @@ class KListViewItem : QListViewItem
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 );
+ KListViewItem (TQListView* /TransferThis/);
+ KListViewItem (TQListViewItem* /TransferThis/);
+ KListViewItem (TQListView* /TransferThis/, TQListViewItem*);
+ KListViewItem (TQListViewItem* /TransferThis/, TQListViewItem*);
+ KListViewItem (TQListView* /TransferThis/, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null );
+ KListViewItem (TQListViewItem* /TransferThis/, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null );
+ KListViewItem (TQListView* /TransferThis/, TQListViewItem*, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null );
+ KListViewItem (TQListViewItem* /TransferThis/, TQListViewItem*, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null );
%If ( KDE_3_3_0 - )
- virtual void insertItem (QListViewItem*);
- virtual void takeItem (QListViewItem*);
+ virtual void insertItem (TQListViewItem*);
+ virtual void takeItem (TQListViewItem*);
%End
bool isAlternate ();
- const QColor& backgroundColor ();
+ const TQColor& backgroundColor ();
%If ( KDE_3_4_0 - )
- QColor backgroundColor (int);
+ TQColor backgroundColor (int);
%End
- virtual void paintCell (QPainter*, const QColorGroup&, int, int, int);
+ virtual void paintCell (TQPainter*, const TQColorGroup&, int, int, int);
}; // class KListViewItem
-%MappedType QPtrList<QListViewItem>
-//converts a Python list of QListViewItem
+%MappedType TQPtrList<TQListViewItem>
+//converts a Python list of TQListViewItem
{
%TypeHeaderCode
#include <qptrlist.h>
#include <qlistview.h>
-typedef QPtrList<QListViewItem> ListViewItems;
+typedef TQPtrList<TQListViewItem> ListViewItems;
%End
%ConvertFromTypeCode
@@ -284,8 +284,8 @@ typedef QPtrList<QListViewItem> ListViewItems;
// Get it.
- QPtrList<QListViewItem> *cpplist = (QPtrList<QListViewItem> *)sipCpp;
- QListViewItem *cpp;
+ TQPtrList<TQListViewItem> *cpplist = (TQPtrList<TQListViewItem> *)sipCpp;
+ TQListViewItem *cpp;
PyObject *inst;
// the loop depends on the type of iterator the template makes available
@@ -306,16 +306,16 @@ typedef QPtrList<QListViewItem> ListViewItems;
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<QListViewItem> *cpplist = new QPtrList<QListViewItem>;
+ TQPtrList<TQListViewItem> *cpplist = new TQPtrList<TQListViewItem>;
PyObject *elem;
- QListViewItem *cpp;
+ TQListViewItem *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (QListViewItem *)sipForceConvertToType(elem, sipType_QListViewItem, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TQListViewItem *)sipForceConvertToType(elem, sipType_QListViewItem, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
diff --git a/sip/tdeui/klistviewlineedit.sip b/sip/tdeui/klistviewlineedit.sip
index 52aeebf..6e2eeab 100644
--- a/sip/tdeui/klistviewlineedit.sip
+++ b/sip/tdeui/klistviewlineedit.sip
@@ -35,16 +35,16 @@ public:
KListViewLineEdit (KListView*/TransferThis/);
signals:
- void done (QListViewItem*, int);
+ void done (TQListViewItem*, int);
public slots:
void terminate ();
- void load (QListViewItem*, int);
+ void load (TQListViewItem*, int);
protected:
- virtual void focusOutEvent (QFocusEvent*);
- virtual void keyPressEvent (QKeyEvent*);
- virtual void paintEvent (QPaintEvent*);
+ virtual void focusOutEvent (TQFocusEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void paintEvent (TQPaintEvent*);
void terminate (bool);
}; // class KListViewLineEdit
diff --git a/sip/tdeui/klistviewsearchline.sip b/sip/tdeui/klistviewsearchline.sip
index 117583f..bf7164a 100644
--- a/sip/tdeui/klistviewsearchline.sip
+++ b/sip/tdeui/klistviewsearchline.sip
@@ -34,26 +34,26 @@ class KListViewSearchLine : KLineEdit
public:
- KListViewSearchLine (QWidget* /TransferThis/ = 0, KListView* = 0, const char* = 0);
- KListViewSearchLine (QWidget* /TransferThis/, const char*);
+ KListViewSearchLine (TQWidget* /TransferThis/ = 0, KListView* = 0, const char* = 0);
+ KListViewSearchLine (TQWidget* /TransferThis/, const char*);
bool caseSensitive () const;
- QValueList<int> searchColumns () const;
+ TQValueList<int> searchColumns () const;
bool keepParentsVisible () const;
KListView* listView () const;
public slots:
- virtual void updateSearch (const QString& = QString ::null );
+ virtual void updateSearch (const TQString& = TQString ::null );
void setCaseSensitive (bool);
void setKeepParentsVisible (bool);
- void setSearchColumns (const QValueList<int>&);
+ void setSearchColumns (const TQValueList<int>&);
void setListView (KListView*);
protected:
- virtual bool itemMatches (const QListViewItem*, const QString&) const;
- virtual QPopupMenu* createPopupMenu ();
+ virtual bool itemMatches (const TQListViewItem*, const TQString&) const;
+ virtual TQPopupMenu* createPopupMenu ();
protected slots:
- void queueSearch (const QString&);
+ void queueSearch (const TQString&);
void activateSearch ();
}; // class KListViewSearchLine
@@ -63,7 +63,7 @@ protected slots:
%If ( KDE_3_4_0 - )
-class KListViewSearchLineWidget : QHBox
+class KListViewSearchLineWidget : TQHBox
{
%TypeHeaderCode
#include <klistviewsearchline.h>
@@ -71,7 +71,7 @@ class KListViewSearchLineWidget : QHBox
public:
- KListViewSearchLineWidget (KListView* = 0, QWidget* /TransferThis/ = 0, const char* = 0);
+ KListViewSearchLineWidget (KListView* = 0, TQWidget* /TransferThis/ = 0, const char* = 0);
virtual KListViewSearchLine* createSearchLine (KListView*);
KListViewSearchLine* searchLine () const;
diff --git a/sip/tdeui/kmainwindow.sip b/sip/tdeui/kmainwindow.sip
index abf9895..b39a62f 100644
--- a/sip/tdeui/kmainwindow.sip
+++ b/sip/tdeui/kmainwindow.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMainWindow : QMainWindow, KXMLGUIBuilder, KXMLGUIClient
+class KMainWindow : TQMainWindow, KXMLGUIBuilder, KXMLGUIClient
{
%TypeHeaderCode
#include <kmainwindow.h>
@@ -32,7 +32,7 @@ class KMainWindow : QMainWindow, KXMLGUIBuilder, KXMLGUIClient
public:
- KMainWindow (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose );
+ KMainWindow (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose );
%If ( KDE_3_2_0 - )
@@ -41,13 +41,13 @@ public:
NoDCOPObject
};
- KMainWindow (int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose );
+ KMainWindow (int, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose );
%End
- KPopupMenu* helpMenu (const QString& = QString ::null , bool = 1);
+ KPopupMenu* helpMenu (const TQString& = TQString ::null , bool = 1);
KPopupMenu* customHelpMenu (bool = 1);
static bool canBeRestored (int);
- static const QString classNameOfToplevel (int);
+ static const TQString classNameOfToplevel (int);
%If ( KDE_3_2_0 - )
virtual void show ();
@@ -56,7 +56,7 @@ public:
bool restore (int, bool = 1);
virtual KXMLGUIFactory* guiFactory ();
- void createGUI (const QString& = QString ::null , bool = 1);
+ void createGUI (const TQString& = TQString ::null , bool = 1);
void setHelpMenuEnabled (bool = 1);
bool isHelpMenuEnabled ();
@@ -66,31 +66,31 @@ public:
KMenuBar* menuBar ();
KStatusBar* statusBar ();
- QPtrList<KMainWindow>* memberList;
+ TQPtrList<KMainWindow>* memberList;
%If ( KDE_3_4_0 - )
- static QPtrList<KMainWindow>* getMemberList ();
+ static TQPtrList<KMainWindow>* getMemberList ();
%End
KToolBar* toolBar (const char* = 0);
-//ig QPtrListIterator<KToolBar> toolBarIterator ();
+//ig TQPtrListIterator<KToolBar> toolBarIterator ();
KAccel* accel ();
void setFrameBorderWidth (int);
- void setAutoSaveSettings (const QString& = QString ::fromLatin1 ("MainWindow" ), bool = 1);
+ void setAutoSaveSettings (const TQString& = TQString ::fromLatin1 ("MainWindow" ), bool = 1);
void resetAutoSaveSettings ();
%If ( KDE_3_1_0 - )
bool autoSaveSettings () const;
- QString autoSaveGroup () const;
+ TQString autoSaveGroup () const;
%If ( KDE_3_3_0 - )
- void applyMainWindowSettings (KConfig*, const QString&, bool);
+ void applyMainWindowSettings (KConfig*, const TQString&, bool);
%End
%End
- void applyMainWindowSettings (KConfig*, const QString& = QString ::null );
- void saveMainWindowSettings (KConfig*, const QString& = QString ::null );
+ void applyMainWindowSettings (KConfig*, const TQString& = TQString ::null );
+ void saveMainWindowSettings (KConfig*, const TQString& = TQString ::null );
%If ( KDE_3_1_0 - )
void setStandardToolBarMenuEnabled (bool);
@@ -110,10 +110,10 @@ public:
Create
};
- void setupGUI (int = ToolBar |Keys |StatusBar |Save |Create , const QString& = QString ::null );
+ void setupGUI (int = ToolBar |Keys |StatusBar |Save |Create , const TQString& = TQString ::null );
%If ( KDE_3_5_0 - )
- void setupGUI (QSize, int = ToolBar |Keys |StatusBar |Save |Create , const QString& = QString ::null );
+ void setupGUI (TQSize, int = ToolBar |Keys |StatusBar |Save |Create , const TQString& = TQString ::null );
%End
%End
@@ -136,10 +136,10 @@ public:
void ignoreInitialGeometry ();
%End
- QSize sizeForCentralWidgetSize (QSize);
+ TQSize sizeForCentralWidgetSize (TQSize);
%If ( KDE_3_3_2 - )
- virtual void setIcon (const QPixmap&);
+ virtual void setIcon (const TQPixmap&);
%End
@@ -149,23 +149,23 @@ public slots:
int configureToolbars ();
%End
- virtual void setCaption (const QString&);
- virtual void setCaption (const QString&, bool);
- virtual void setPlainCaption (const QString&);
+ virtual void setCaption (const TQString&);
+ virtual void setCaption (const TQString&, bool);
+ virtual void setPlainCaption (const TQString&);
void appHelpActivated ();
- virtual void slotStateChanged (const QString&);
+ virtual void slotStateChanged (const TQString&);
%If ( KDE_3_1_0 - )
- void slotStateChanged (const QString&, KXMLGUIClient::ReverseStateChange);
+ void slotStateChanged (const TQString&, KXMLGUIClient::ReverseStateChange);
%End
void setSettingsDirty ();
protected:
- void paintEvent (QPaintEvent*);
- void childEvent (QChildEvent*);
- void resizeEvent (QResizeEvent*);
- virtual void closeEvent (QCloseEvent*);
+ void paintEvent (TQPaintEvent*);
+ void childEvent (TQChildEvent*);
+ void resizeEvent (TQResizeEvent*);
+ virtual void closeEvent (TQCloseEvent*);
virtual bool queryExit ();
virtual bool queryClose ();
virtual void saveProperties (KConfig*);
@@ -175,7 +175,7 @@ protected:
void savePropertiesInternal (KConfig*, int);
bool readPropertiesInternal (KConfig*, int);
bool settingsDirty () const;
- QString settingsGroup () const;
+ TQString settingsGroup () const;
void saveWindowSize (KConfig*) const;
void restoreWindowSize (KConfig*);
void parseGeometry (bool);
@@ -200,7 +200,7 @@ protected:
-%MappedType QPtrList<KMainWindow>
+%MappedType TQPtrList<KMainWindow>
//converts a Python list of KMainWindow
{
%TypeHeaderCode
@@ -221,7 +221,7 @@ protected:
// Get it.
- QPtrList<KMainWindow> *cpplist = (QPtrList<KMainWindow> *)sipCpp;
+ TQPtrList<KMainWindow> *cpplist = (TQPtrList<KMainWindow> *)sipCpp;
KMainWindow *cpp;
PyObject *inst;
@@ -243,7 +243,7 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KMainWindow> *cpplist = new QPtrList<KMainWindow>;
+ TQPtrList<KMainWindow> *cpplist = new TQPtrList<KMainWindow>;
PyObject *elem;
KMainWindow *cpp;
diff --git a/sip/tdeui/kmainwindowiface.sip b/sip/tdeui/kmainwindowiface.sip
index 0f739fc..9260e51 100644
--- a/sip/tdeui/kmainwindowiface.sip
+++ b/sip/tdeui/kmainwindowiface.sip
@@ -34,26 +34,26 @@ class KMainWindowInterface : DCOPObject
public:
%If ( KDE_3_1_4 - )
- virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&);
- QCStringList functions ();
- QCStringList interfaces ();
+ virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
+ TQCStringList functions ();
+ TQCStringList interfaces ();
%End
public:
KMainWindowInterface (KMainWindow*);
- QCStringList functionsDynamic ();
- bool processDynamic (const QCString&, const QByteArray&, QCString&, QByteArray&);
+ TQCStringList functionsDynamic ();
+ bool processDynamic (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
public:
- QCStringList actions ();
- bool activateAction (QCString);
- bool disableAction (QCString);
- bool enableAction (QCString);
- bool actionIsEnabled (QCString);
- QCString actionToolTip (QCString);
- DCOPRef action (const QCString&);
- QMap<QCString,DCOPRef> actionMap ();
+ TQCStringList actions ();
+ bool activateAction (TQCString);
+ bool disableAction (TQCString);
+ bool enableAction (TQCString);
+ bool actionIsEnabled (TQCString);
+ TQCString actionToolTip (TQCString);
+ DCOPRef action (const TQCString&);
+ TQMap<TQCString,DCOPRef> actionMap ();
int getWinID ();
void grabWindowToClipBoard ();
void hide ();
diff --git a/sip/tdeui/kmenubar.sip b/sip/tdeui/kmenubar.sip
index b5b420b..0ff0b58 100644
--- a/sip/tdeui/kmenubar.sip
+++ b/sip/tdeui/kmenubar.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMenuBar : QMenuBar
+class KMenuBar : TQMenuBar
{
%TypeHeaderCode
#include <kmenubar.h>
@@ -32,19 +32,19 @@ class KMenuBar : QMenuBar
public:
- KMenuBar (QWidget* /TransferThis/ = 0, const char* = 0);
+ KMenuBar (TQWidget* /TransferThis/ = 0, const char* = 0);
void setTopLevelMenu (bool = 1);
bool isTopLevelMenu () const;
%If ( KDE_3_1_0 - )
- virtual void setGeometry (const QRect&);
+ virtual void setGeometry (const TQRect&);
%End
virtual void setGeometry (int, int, int, int);
%If ( KDE_3_2_0 - )
virtual void resize (int, int);
- void resize (const QSize&);
+ void resize (const TQSize&);
%End
virtual void show ();
@@ -55,7 +55,7 @@ public:
virtual void setMargin (int);
%If ( KDE_3_4_0 - )
- virtual QSize sizeHint () const;
+ virtual TQSize sizeHint () const;
%End
%End
@@ -67,16 +67,16 @@ protected slots:
protected:
%If ( KDE_3_1_0 - )
- virtual void showEvent (QShowEvent*);
- virtual void resizeEvent (QResizeEvent*);
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual void showEvent (TQShowEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
//ig virtual bool x11Event (XEvent*);
%If ( KDE_3_2_3 - )
- virtual void closeEvent (QCloseEvent*);
+ virtual void closeEvent (TQCloseEvent*);
%If ( KDE_3_3_0 - )
- virtual void drawContents (QPainter*);
+ virtual void drawContents (TQPainter*);
%End
%End
diff --git a/sip/tdeui/kmessagebox.sip b/sip/tdeui/kmessagebox.sip
index 557a419..01a5105 100644
--- a/sip/tdeui/kmessagebox.sip
+++ b/sip/tdeui/kmessagebox.sip
@@ -69,104 +69,104 @@ public:
%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 );
+ static int questionYesNo (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::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 );
+ static int questionYesNoWId (WId, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::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 );
+ static int questionYesNoCancel (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::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 );
+ static int questionYesNoCancelWId (WId, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::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 );
+ static int questionYesNoList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::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 );
+ static int questionYesNoListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::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 );
+ static int warningYesNo (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::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 );
+ static int warningYesNoWId (WId, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify |Dangerous );
+ static int warningYesNoList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify |Dangerous );
+ static int warningYesNoListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::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 );
+ static int warningContinueCancel (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::cont (), const TQString& = TQString ::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 );
+ static int warningContinueCancelWId (WId, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::cont (), const TQString& = TQString ::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 );
+ static int warningContinueCancelList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::cont (), const TQString& = TQString ::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 );
+ static int warningContinueCancelListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::cont (), const TQString& = TQString ::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 );
+ static int warningYesNoCancel (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::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 );
+ static int warningYesNoCancelWId (WId, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify );
+ static int warningYesNoCancelList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify );
+ static int warningYesNoCancelListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify );
%End
- static void error (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1);
+ static void error (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , bool = 1);
%If ( KDE_3_2_0 - )
- static void errorWId (WId, const QString&, const QString& = QString ::null , int = Notify );
+ static void errorWId (WId, const TQString&, const TQString& = TQString ::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 );
+ static void errorList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , int = Notify );
+ static void errorListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , int = Notify );
%End
%End
- static void detailedError (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null , bool = 1);
+ static void detailedError (TQWidget* /Transfer/, const TQString&, const TQString&, const TQString& = TQString ::null , bool = 1);
%If ( KDE_3_2_0 - )
- static void detailedErrorWId (WId, const QString&, const QString&, const QString& = QString ::null , int = Notify );
+ static void detailedErrorWId (WId, const TQString&, const TQString&, const TQString& = TQString ::null , int = Notify );
%End
- static void queuedDetailedError (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null );
+ static void queuedDetailedError (TQWidget* /Transfer/, const TQString&, const TQString&, const TQString& = TQString ::null );
%If ( KDE_3_2_0 - )
- static void queuedDetailedErrorWId (WId, const QString&, const QString&, const QString& = QString ::null );
+ static void queuedDetailedErrorWId (WId, const TQString&, const TQString&, const TQString& = TQString ::null );
%End
- static void sorry (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1);
+ static void sorry (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , bool = 1);
%If ( KDE_3_2_0 - )
- static void sorryWId (WId, const QString&, const QString& = QString ::null , int = Notify );
+ static void sorryWId (WId, const TQString&, const TQString& = TQString ::null , int = Notify );
%End
- static void detailedSorry (QWidget* /Transfer/, const QString&, const QString&, const QString& = QString ::null , bool = 1);
+ static void detailedSorry (TQWidget* /Transfer/, const TQString&, const TQString&, const TQString& = TQString ::null , bool = 1);
%If ( KDE_3_2_0 - )
- static void detailedSorryWId (WId, const QString&, const QString&, const QString& = QString ::null , int = Notify );
+ static void detailedSorryWId (WId, const TQString&, const TQString&, const TQString& = TQString ::null , int = Notify );
%End
- static void information (QWidget* /Transfer/, const QString&, const QString& = QString ::null , const QString& = QString ::null , bool = 1);
+ static void information (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , bool = 1);
%If ( KDE_3_2_0 - )
- static void informationWId (WId, const QString&, const QString& = QString ::null , const QString& = QString ::null , int = Notify );
+ static void informationWId (WId, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::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 );
+ static void informationList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const TQString& = TQString ::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 );
+ static void informationListWId (WId, const TQString&, const TQStringList&, const TQString& = TQString ::null , const TQString& = TQString ::null , int = Notify );
%End
%End
@@ -174,44 +174,44 @@ public:
static void enableAllMessages ();
%If ( KDE_3_2_0 - )
- static void enableMessage (const QString&);
+ static void enableMessage (const TQString&);
%End
- static void about (QWidget* /Transfer/, const QString&, const QString& = QString ::null , bool = 1);
+ static void about (TQWidget* /Transfer/, const TQString&, const TQString& = TQString ::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 );
+ static int messageBox (TQWidget* /Transfer/, KMessageBox::DialogType, const TQString&, const TQString&, const KGuiItem&, const KGuiItem&, const TQString&, 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 );
+ static int messageBox (TQWidget* /Transfer/, KMessageBox::DialogType, const TQString&, const TQString& = TQString ::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 );
+ static int messageBoxWId (WId, KMessageBox::DialogType, const TQString&, const TQString& = TQString ::null , const KGuiItem& = KStdGuiItem ::yes (), const KGuiItem& = KStdGuiItem ::no (), const TQString& = TQString ::null , int = Notify );
%End
%If ( KDE_3_1_0 - )
- static void queuedMessageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString&, int);
+ static void queuedMessageBox (TQWidget* /Transfer/, KMessageBox::DialogType, const TQString&, const TQString&, int);
%If ( KDE_3_2_0 - )
- static void queuedMessageBoxWId (WId, KMessageBox::DialogType, const QString&, const QString&, int);
+ static void queuedMessageBoxWId (WId, KMessageBox::DialogType, const TQString&, const TQString&, int);
%End
%End
- static void queuedMessageBox (QWidget* /Transfer/, KMessageBox::DialogType, const QString&, const QString& = QString ::null );
+ static void queuedMessageBox (TQWidget* /Transfer/, KMessageBox::DialogType, const TQString&, const TQString& = TQString ::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 queuedMessageBoxWId (WId, KMessageBox::DialogType, const TQString&, const TQString& = TQString ::null );
+ static bool shouldBeShownYesNo (const TQString&, KMessageBox::ButtonCode&);
+ static bool shouldBeShownContinue (const TQString&);
+ static void saveDontShowAgainYesNo (const TQString&, KMessageBox::ButtonCode);
+ static void saveDontShowAgainContinue (const TQString&);
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 );
+ static int createKMessageBox (KDialogBase*, TQMessageBox::Icon, const TQString&, const TQStringList&, const TQString&, bool*, int, const TQString& = TQString ::null );
+ static int createKMessageBox (KDialogBase*, TQPixmap, const TQString&, const TQStringList&, const TQString&, bool*, int, const TQString& = TQString ::null , TQMessageBox::Icon = TQMessageBox ::Information );
%End
%End
@@ -247,12 +247,12 @@ public:
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 );
+//ig static int warningContinueCancelList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = TQString ::null , const TQString& = TQString ::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 );
+ static int warningContinueCancelList (TQWidget* /Transfer/, const TQString&, const TQStringList&, const TQString& = TQString ::null , const KGuiItem& = KGuiItem (), const TQString& = TQString ::null , int = Notify );
%End
diff --git a/sip/tdeui/knuminput.sip b/sip/tdeui/knuminput.sip
index 56e9501..ed79dd9 100644
--- a/sip/tdeui/knuminput.sip
+++ b/sip/tdeui/knuminput.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KNumInput : QWidget
+class KNumInput : TQWidget
{
%TypeHeaderCode
#include <knuminput.h>
@@ -32,18 +32,18 @@ class KNumInput : QWidget
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;
+ KNumInput (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KNumInput (KNumInput*, TQWidget* /TransferThis/ = 0, const char* = 0);
+ virtual void setLabel (const TQString&, int = AlignLeft |AlignTop );
+ TQString label () const;
%If ( KDE_3_1_0 - )
bool showSlider () const;
%End
void setSteps (int, int);
- QSizePolicy sizePolicy () const;
- virtual QSize sizeHint () const;
+ TQSizePolicy sizePolicy () const;
+ virtual TQSize sizeHint () const;
protected:
void layout (bool);
@@ -63,9 +63,9 @@ class KIntNumInput : KNumInput
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);
+ KIntNumInput (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KIntNumInput (int, TQWidget* /TransferThis/ = 0, int = 10, const char* = 0);
+ KIntNumInput (KNumInput*, int, TQWidget* /TransferThis/ = 0, int = 10, const char* = 0);
int value () const;
%If ( KDE_3_1_0 - )
@@ -73,17 +73,17 @@ public:
int referencePoint () const;
%End
- QString suffix () const;
- QString prefix () const;
- QString specialValueText () const;
+ TQString suffix () const;
+ TQString prefix () const;
+ TQString 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;
+ void setSpecialValueText (const TQString&);
+ virtual void setLabel (const TQString&, int = AlignLeft |AlignTop );
+ virtual TQSize minimumSizeHint () const;
public slots:
void setValue (int);
@@ -93,8 +93,8 @@ public slots:
void setReferencePoint (int);
%End
- void setSuffix (const QString&);
- void setPrefix (const QString&);
+ void setSuffix (const TQString&);
+ void setPrefix (const TQString&);
void setEditFocus (bool = 1);
signals:
@@ -107,7 +107,7 @@ signals:
protected:
virtual void doLayout ();
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -123,24 +123,24 @@ class KDoubleNumInput : KNumInput
public:
- KDoubleNumInput (QWidget* /TransferThis/ = 0, const char* = 0);
- KDoubleNumInput (double, QWidget* /TransferThis/ = 0, const char* = 0);
+ KDoubleNumInput (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KDoubleNumInput (double, TQWidget* /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);
+ KDoubleNumInput (double, double, double, double = 0.01, int = 2, TQWidget* /TransferThis/ = 0, const char* = 0);
%End
- KDoubleNumInput (KNumInput*, double, QWidget* /TransferThis/ = 0, const char* = 0);
+ KDoubleNumInput (KNumInput*, double, TQWidget* /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);
+ KDoubleNumInput (KNumInput*, double, double, double, double = 0.02, int = 2, TQWidget* /TransferThis/ = 0, const char* = 0);
%End
double value () const;
- QString suffix () const;
- QString prefix () const;
+ TQString suffix () const;
+ TQString prefix () const;
int precision () const;
- QString specialValueText () const;
+ TQString specialValueText () const;
void setRange (double, double, double = 1, bool = 1);
void setMinValue (double);
double minValue () const;
@@ -153,10 +153,10 @@ public:
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*);
+ void setSpecialValueText (const TQString&);
+ virtual void setLabel (const TQString&, int = AlignLeft |AlignTop );
+ virtual TQSize minimumSizeHint () const;
+ virtual bool eventFilter (TQObject*, TQEvent*);
public slots:
void setValue (double);
@@ -166,8 +166,8 @@ public slots:
void setReferencePoint (double);
%End
- void setSuffix (const QString&);
- void setPrefix (const QString&);
+ void setSuffix (const TQString&);
+ void setPrefix (const TQString&);
signals:
void valueChanged (double);
@@ -179,7 +179,7 @@ signals:
protected:
virtual void doLayout ();
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
virtual void resetEditBox ();
protected:
@@ -188,7 +188,7 @@ protected:
}; // class KDoubleNumInput
-class KIntSpinBox : QSpinBox
+class KIntSpinBox : TQSpinBox
{
%TypeHeaderCode
#include <knuminput.h>
@@ -196,14 +196,14 @@ class KIntSpinBox : QSpinBox
public:
- KIntSpinBox (QWidget* /TransferThis/ = 0, const char* = 0);
- KIntSpinBox (int, int, int, int, int = 10, QWidget* /TransferThis/ = 0, const char* = 0);
+ KIntSpinBox (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KIntSpinBox (int, int, int, int, int = 10, TQWidget* /TransferThis/ = 0, const char* = 0);
void setBase (int);
int base () const;
void setEditFocus (bool);
protected:
- virtual QString mapValueToText (int);
+ virtual TQString mapValueToText (int);
//ig virtual int mapTextToValue (bool*);
protected:
@@ -214,7 +214,7 @@ protected:
%If ( KDE_3_1_0 - )
-class KDoubleSpinBox : QSpinBox
+class KDoubleSpinBox : TQSpinBox
{
%TypeHeaderCode
#include <knuminput.h>
@@ -222,8 +222,8 @@ class KDoubleSpinBox : QSpinBox
public:
- KDoubleSpinBox (QWidget* /TransferThis/ = 0, const char* = 0);
- KDoubleSpinBox (double, double, double, double, int = 2, QWidget* /TransferThis/ = 0, const char* = 0);
+ KDoubleSpinBox (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KDoubleSpinBox (double, double, double, double, int = 2, TQWidget* /TransferThis/ = 0, const char* = 0);
bool acceptLocalizedNumbers () const;
virtual void setAcceptLocalizedNumbers (bool);
void setRange (double, double, double = 0.01, int = 2);
@@ -237,7 +237,7 @@ public:
void setMaxValue (double);
double lineStep () const;
void setLineStep (double);
- void setValidator (const QValidator*);
+ void setValidator (const TQValidator*);
signals:
void valueChanged (double);
@@ -246,7 +246,7 @@ public slots:
virtual void setValue (double);
protected:
- virtual QString mapValueToText (int);
+ virtual TQString mapValueToText (int);
//ig virtual int mapTextToValue (bool*);
protected slots:
diff --git a/sip/tdeui/knumvalidator.sip b/sip/tdeui/knumvalidator.sip
index d79d6e9..5ee4462 100644
--- a/sip/tdeui/knumvalidator.sip
+++ b/sip/tdeui/knumvalidator.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KIntValidator : QValidator
+class KIntValidator : TQValidator
{
%TypeHeaderCode
#include <knumvalidator.h>
@@ -32,10 +32,10 @@ class KIntValidator : QValidator
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;
+ KIntValidator (TQWidget* /TransferThis/, int = 10, const char* = 0);
+ KIntValidator (int, int, TQWidget* /TransferThis/, int = 10, const char* = 0);
+ virtual State validate (TQString&, int&) const;
+ virtual void fixup (TQString&) const;
virtual void setRange (int, int);
virtual void setBase (int);
virtual int bottom () const;
@@ -45,7 +45,7 @@ public:
}; // class KIntValidator
-class KFloatValidator : QValidator
+class KFloatValidator : TQValidator
{
%TypeHeaderCode
#include <knumvalidator.h>
@@ -53,11 +53,11 @@ class KFloatValidator : QValidator
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;
+ KFloatValidator (TQWidget* /TransferThis/, const char* = 0);
+ KFloatValidator (double, double, TQWidget* /TransferThis/, const char* = 0);
+ KFloatValidator (double, double, bool, TQWidget* /TransferThis/, const char* = 0);
+ virtual State validate (TQString&, int&) const;
+ virtual void fixup (TQString&) const;
virtual void setRange (double, double);
virtual double bottom () const;
virtual double top () const;
@@ -69,7 +69,7 @@ public:
%If ( KDE_3_1_0 - )
-class KDoubleValidator : QDoubleValidator
+class KDoubleValidator : TQDoubleValidator
{
%TypeHeaderCode
#include <knumvalidator.h>
@@ -77,9 +77,9 @@ class KDoubleValidator : QDoubleValidator
public:
- KDoubleValidator (QObject* /TransferThis/, const char* = 0);
- KDoubleValidator (double, double, int, QObject* /TransferThis/, const char* = 0);
- virtual QValidator::State validate (QString&, int&) const;
+ KDoubleValidator (TQObject* /TransferThis/, const char* = 0);
+ KDoubleValidator (double, double, int, TQObject* /TransferThis/, const char* = 0);
+ virtual TQValidator::State validate (TQString&, int&) const;
bool acceptLocalizedNumbers () const;
void setAcceptLocalizedNumbers (bool);
diff --git a/sip/tdeui/kpanelapplet.sip b/sip/tdeui/kpanelapplet.sip
index 0f97cd1..de0f1de 100644
--- a/sip/tdeui/kpanelapplet.sip
+++ b/sip/tdeui/kpanelapplet.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPanelApplet : QFrame
+class KPanelApplet : TQFrame
{
%TypeHeaderCode
#include <kpanelapplet.h>
@@ -74,7 +74,7 @@ public:
Right
};
- KPanelApplet (const QString&, KPanelApplet::Type = Normal , int = 0, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ KPanelApplet (const TQString&, KPanelApplet::Type = Normal , int = 0, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
virtual int widthForHeight (int) const;
virtual int heightForWidth (int) const;
KConfig* config () const;
@@ -88,7 +88,7 @@ public:
virtual void action (KPanelApplet::Action);
%If ( KDE_3_2_0 - )
- const QPopupMenu* customMenu () const;
+ const TQPopupMenu* customMenu () const;
%End
void setPosition (KPanelApplet::Position);
@@ -115,10 +115,10 @@ protected:
virtual void alignmentChange (KPanelApplet::Alignment);
%If ( KDE_3_2_0 - )
- void setCustomMenu (const QPopupMenu*);
+ void setCustomMenu (const TQPopupMenu*);
%If ( KDE_3_4_0 - )
- void watchForFocus (QWidget*, bool = 1);
+ void watchForFocus (TQWidget*, bool = 1);
void needsFocus (bool);
%End
@@ -129,7 +129,7 @@ protected:
virtual void popupDirectionChange (KPanelApplet::Direction);
%If ( KDE_3_4_0 - )
- bool eventFilter (QObject*, QEvent*);
+ bool eventFilter (TQObject*, TQEvent*);
%End
diff --git a/sip/tdeui/kpanelappmenu.sip b/sip/tdeui/kpanelappmenu.sip
index 97fe0a2..9de7894 100644
--- a/sip/tdeui/kpanelappmenu.sip
+++ b/sip/tdeui/kpanelappmenu.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPanelAppMenu : QObject, DCOPObject
+class KPanelAppMenu : TQObject, DCOPObject
{
%TypeHeaderCode
#include <kpanelappmenu.h>
@@ -32,20 +32,20 @@ class KPanelAppMenu : QObject, DCOPObject
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);
+ KPanelAppMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0);
+ KPanelAppMenu (const TQPixmap&, const TQString&, TQObject* /TransferThis/, const char*);
+ KPanelAppMenu (TQObject* /TransferThis/, const char*);
+ int insertItem (const TQString&, int = -1);
+ int insertItem (const TQPixmap&, const TQString&, int = -1);
+ KPanelAppMenu* insertMenu (const TQPixmap&, const TQString&, int = -1);
void clear ();
- bool process (const QCString&, const QByteArray&, QCString&, QByteArray&);
+ bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
signals:
void activated (int);
protected:
- void init (const QPixmap&, const QString&);
+ void init (const TQPixmap&, const TQString&);
}; // class KPanelAppMenu
diff --git a/sip/tdeui/kpanelextension.sip b/sip/tdeui/kpanelextension.sip
index d1b8d8f..26206ec 100644
--- a/sip/tdeui/kpanelextension.sip
+++ b/sip/tdeui/kpanelextension.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPanelExtension : QFrame
+class KPanelExtension : TQFrame
{
%TypeHeaderCode
#include <kpanelextension.h>
@@ -84,8 +84,8 @@ public:
%End
- KPanelExtension (const QString&, KPanelExtension::Type = Normal , int = 0, QWidget* /TransferThis/ = 0, const char* = 0);
- virtual QSize sizeHint (KPanelExtension::Position, QSize) const;
+ KPanelExtension (const TQString&, KPanelExtension::Type = Normal , int = 0, TQWidget* /TransferThis/ = 0, const char* = 0);
+ virtual TQSize sizeHint (KPanelExtension::Position, TQSize) const;
KConfig* config () const;
Type type () const;
int actions () const;
@@ -100,7 +100,7 @@ public:
int customSize () const;
%If ( KDE_3_4_0 - )
- QPopupMenu* customMenu () const;
+ TQPopupMenu* customMenu () const;
bool reserveStrut () const;
%End
@@ -132,7 +132,7 @@ protected:
virtual void alignmentChange (KPanelExtension::Alignment);
%If ( KDE_3_4_0 - )
- void setCustomMenu (QPopupMenu*);
+ void setCustomMenu (TQPopupMenu*);
void setReserveStrut (bool);
%End
diff --git a/sip/tdeui/kpanelmenu.sip b/sip/tdeui/kpanelmenu.sip
index b8da99c..ea0da29 100644
--- a/sip/tdeui/kpanelmenu.sip
+++ b/sip/tdeui/kpanelmenu.sip
@@ -32,10 +32,10 @@ class KPanelMenu : KPopupMenu
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&);
+ KPanelMenu (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KPanelMenu (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0);
+ const TQString& path () const;
+ void setPath (const TQString&);
bool initialized () const;
void setInitialized (bool);
void disableAutoClear ();
@@ -55,8 +55,8 @@ protected slots:
void slotClear ();
protected:
- virtual void hideEvent (QHideEvent*);
- void init (const QString& = QString ::null );
+ virtual void hideEvent (TQHideEvent*);
+ void init (const TQString& = TQString ::null );
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kpassdlg.sip b/sip/tdeui/kpassdlg.sip
index 45c0780..d23451a 100644
--- a/sip/tdeui/kpassdlg.sip
+++ b/sip/tdeui/kpassdlg.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPasswordEdit : QLineEdit
+class KPasswordEdit : TQLineEdit
{
%TypeHeaderCode
#include <kpassdlg.h>
@@ -40,14 +40,14 @@ public:
NoEcho
};
- KPasswordEdit (QWidget* /TransferThis/ = 0, const char* = 0);
- KPasswordEdit (EchoMode, QWidget* /TransferThis/, const char*);
+ KPasswordEdit (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KPasswordEdit (EchoMode, TQWidget* /TransferThis/, const char*);
%If ( KDE_3_2_0 - )
- KPasswordEdit (KPasswordEdit::EchoModes, QWidget* /TransferThis/, const char*);
+ KPasswordEdit (KPasswordEdit::EchoModes, TQWidget* /TransferThis/, const char*);
%End
- KPasswordEdit (QWidget* /TransferThis/, const char*, int);
+ KPasswordEdit (TQWidget* /TransferThis/, const char*, int);
const char* password ();
void erase ();
//ig const int PassLen;
@@ -61,14 +61,14 @@ public:
public slots:
%If ( KDE_3_1_2 - )
- virtual void insert (const QString&);
+ virtual void insert (const TQString&);
%End
protected:
- virtual void keyPressEvent (QKeyEvent*);
- virtual void focusInEvent (QFocusEvent*);
- virtual bool event (QEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void focusInEvent (TQFocusEvent*);
+ virtual bool event (TQEvent*);
}; // class KPasswordEdit
@@ -88,16 +88,16 @@ public:
NewPassword
};
- KPasswordDialog (KPasswordDialog::Types, bool, int, QWidget* /TransferThis/ = 0, const char* = 0);
- KPasswordDialog (int, QString, bool = 0, int = 0);
+ KPasswordDialog (KPasswordDialog::Types, bool, int, TQWidget* /TransferThis/ = 0, const char* = 0);
+ KPasswordDialog (int, TQString, bool = 0, int = 0);
%If ( KDE_3_3_0 - )
- KPasswordDialog (KPasswordDialog::Types, bool, int, const QString&, QWidget* /TransferThis/ = 0, const char* = 0);
+ KPasswordDialog (KPasswordDialog::Types, bool, int, const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0);
%End
- void setPrompt (QString);
- QString prompt () const;
- void addLine (QString, QString);
+ void setPrompt (TQString);
+ TQString prompt () const;
+ void addLine (TQString, TQString);
%If ( KDE_3_4_0 - )
void setAllowEmptyPasswords (bool);
@@ -119,8 +119,8 @@ public:
%End
bool keep () const;
- static int getPassword (QCString&, QString, int* = 0);
- static int getNewPassword (QCString&, QString);
+ static int getPassword (TQCString&, TQString, int* = 0);
+ static int getNewPassword (TQCString&, TQString);
static void disableCoreDumps ();
protected slots:
diff --git a/sip/tdeui/kpassivepopup.sip b/sip/tdeui/kpassivepopup.sip
index 1cb7972..243e82b 100644
--- a/sip/tdeui/kpassivepopup.sip
+++ b/sip/tdeui/kpassivepopup.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_1_0 - )
-class KPassivePopup : QFrame
+class KPassivePopup : TQFrame
{
%TypeHeaderCode
#include <kpassivepopup.h>
@@ -46,37 +46,37 @@ public:
%End
- KPassivePopup (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ KPassivePopup (TQWidget* /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, TQWidget* /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;
+ void setView (TQWidget*);
+ void setView (const TQString&, const TQString& = TQString ::null );
+ virtual void setView (const TQString&, const TQString&, const TQPixmap&);
+ TQVBox* standardView (const TQString&, const TQString&, const TQPixmap&, TQWidget* /Transfer/ = 0);
+ TQWidget* view () const;
int timeout () const;
virtual void setAutoDelete (bool);
bool autoDelete () const;
%If ( KDE_3_5_0 - )
- void setAnchor (const QPoint&);
+ void setAnchor (const TQPoint&);
%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);
+ static KPassivePopup* message (const TQString&, TQWidget* /Transfer/, const char* = 0);
+ static KPassivePopup* message (const TQString&, const TQString&, TQWidget* /Transfer/, const char* = 0);
+ static KPassivePopup* message (const TQString&, const TQString&, const TQPixmap&, TQWidget* /Transfer/, const char* = 0, int = -1);
+ static KPassivePopup* message (const TQString&, const TQString&, const TQPixmap&, 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);
+ static KPassivePopup* message (int, const TQString&, TQWidget* /Transfer/, const char* = 0);
+ static KPassivePopup* message (int, const TQString&, const TQString&, TQWidget* /Transfer/, const char* = 0);
+ static KPassivePopup* message (int, const TQString&, const TQString&, const TQPixmap&, TQWidget* /Transfer/, const char* = 0, int = -1);
+ static KPassivePopup* message (int, const TQString&, const TQString&, const TQPixmap&, WId, const char* = 0, int = -1);
%End
@@ -85,24 +85,24 @@ public slots:
virtual void show ();
%If ( KDE_3_5_0 - )
- void show (const QPoint&);
+ void show (const TQPoint&);
%End
signals:
void clicked ();
- void clicked (QPoint);
+ void clicked (TQPoint);
protected:
virtual void positionSelf ();
- virtual void hideEvent (QHideEvent*);
- void moveNear (QRect);
- virtual void mouseReleaseEvent (QMouseEvent*);
- QRect defaultArea () const;
+ virtual void hideEvent (TQHideEvent*);
+ void moveNear (TQRect);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ TQRect defaultArea () const;
%If ( KDE_3_5_0 - )
void updateMask ();
- virtual void paintEvent (QPaintEvent*);
+ virtual void paintEvent (TQPaintEvent*);
%End
diff --git a/sip/tdeui/kpixmapio.sip b/sip/tdeui/kpixmapio.sip
index be5a5fa..98a2d3a 100644
--- a/sip/tdeui/kpixmapio.sip
+++ b/sip/tdeui/kpixmapio.sip
@@ -33,12 +33,12 @@ class KPixmapIO
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&);
+ TQPixmap convertToPixmap (const TQImage&);
+ TQImage convertToImage (const TQPixmap&);
+ void putImage (TQPixmap*, int, int, const TQImage*);
+ void putImage (TQPixmap*, const TQPoint&, const TQImage*);
+ TQImage getImage (const TQPixmap*, int, int, int, int);
+ TQImage getImage (const TQPixmap*, const TQRect&);
enum ShmPolicies
{
diff --git a/sip/tdeui/kpixmapregionselectordialog.sip b/sip/tdeui/kpixmapregionselectordialog.sip
index 8c68828..d1f7d07 100644
--- a/sip/tdeui/kpixmapregionselectordialog.sip
+++ b/sip/tdeui/kpixmapregionselectordialog.sip
@@ -34,12 +34,12 @@ class KPixmapRegionSelectorDialog : KDialogBase
public:
- KPixmapRegionSelectorDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
+ KPixmapRegionSelectorDialog (TQWidget* /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);
+ static TQRect getSelectedRegion (const TQPixmap&, TQWidget* /Transfer/ = 0);
+ static TQRect getSelectedRegion (const TQPixmap&, int, int, TQWidget* /Transfer/ = 0);
+ static TQImage getSelectedImage (const TQPixmap&, TQWidget* /Transfer/ = 0);
+ static TQImage getSelectedImage (const TQPixmap&, int, int, TQWidget* /Transfer/ = 0);
protected:
diff --git a/sip/tdeui/kpixmapregionselectorwidget.sip b/sip/tdeui/kpixmapregionselectorwidget.sip
index fb756aa..3148992 100644
--- a/sip/tdeui/kpixmapregionselectorwidget.sip
+++ b/sip/tdeui/kpixmapregionselectorwidget.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_4_0 - )
-class KPixmapRegionSelectorWidget : QWidget
+class KPixmapRegionSelectorWidget : TQWidget
{
%TypeHeaderCode
#include <kpixmapregionselectorwidget.h>
@@ -34,14 +34,14 @@ class KPixmapRegionSelectorWidget : QWidget
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;
+ KPixmapRegionSelectorWidget (TQWidget* /TransferThis/ = 0, const char* = 0);
+ void setPixmap (const TQPixmap&);
+ TQPixmap pixmap () const;
+ void setSelectedRegion (const TQRect&);
+ TQRect selectedRegion () const;
+ TQRect unzoomedSelectedRegion () const;
void resetSelection ();
- QImage selectedImage () const;
+ TQImage selectedImage () const;
void setSelectionAspectRatio (int, int);
void setFreeSelectionAspectRatio ();
void setMaximumWidgetSize (int, int);
diff --git a/sip/tdeui/kpopupmenu.sip b/sip/tdeui/kpopupmenu.sip
index b3fcb50..e7a8a6f 100644
--- a/sip/tdeui/kpopupmenu.sip
+++ b/sip/tdeui/kpopupmenu.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPopupTitle : QWidget
+class KPopupTitle : TQWidget
{
%TypeHeaderCode
#include <kpopupmenu.h>
@@ -32,19 +32,19 @@ class KPopupTitle : QWidget
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;
+ KPopupTitle (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KPopupTitle (KPixmapEffect::GradientType, const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0);
+ KPopupTitle (const KPixmap&, const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0);
+ void setTitle (const TQString&, const TQPixmap* = 0);
+ TQString title ();
+ TQPixmap icon ();
+ TQSize sizeHint () const;
public slots:
%If ( KDE_3_1_0 - )
- void setText (const QString&);
- void setIcon (const QPixmap&);
+ void setText (const TQString&);
+ void setIcon (const TQPixmap&);
%End
@@ -54,7 +54,7 @@ protected:
void calcSize ();
%End
- void paintEvent (QPaintEvent*);
+ void paintEvent (TQPaintEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -62,7 +62,7 @@ protected:
}; // class KPopupTitle
-class KPopupMenu : QPopupMenu
+class KPopupMenu : TQPopupMenu
{
%TypeHeaderCode
#include <kpopupmenu.h>
@@ -70,31 +70,31 @@ class KPopupMenu : QPopupMenu
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);
+ KPopupMenu (TQWidget* /TransferThis/ = 0, const char* = 0);
+ int insertTitle (const TQString&, int = -1, int = -1);
+ int insertTitle (const TQPixmap&, const TQString&, int = -1, int = -1);
+ void changeTitle (int, const TQString&);
+ void changeTitle (int, const TQPixmap&, const TQString&);
+ TQString title (int = -1);
+ TQPixmap 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&);
+ KPopupMenu (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0);
+ void setTitle (const TQString&);
%If ( KDE_3_2_0 - )
- QPopupMenu* contextMenu ();
+ TQPopupMenu* contextMenu ();
void hideContextMenu ();
static KPopupMenu* contextMenuFocus ();
static int contextMenuFocusItem ();
%If ( KDE_3_4_0 - )
virtual void activateItemAt (int);
- Qt::ButtonState state () const;
+ TQt::ButtonState state () const;
%End
%End
@@ -103,26 +103,26 @@ public:
signals:
%If ( KDE_3_2_0 - )
- void aboutToShowContextMenu (KPopupMenu*, int, QPopupMenu*);
+ void aboutToShowContextMenu (KPopupMenu*, int, TQPopupMenu*);
%End
protected:
%If ( KDE_3_1_0 - )
- virtual void closeEvent (QCloseEvent*);
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void closeEvent (TQCloseEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
%If ( KDE_3_4_0 - )
- virtual void mouseReleaseEvent (QMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
%End
%If ( KDE_3_2_0 - )
- virtual void mousePressEvent (QMouseEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
virtual bool focusNextPrevChild (bool);
- virtual void contextMenuEvent (QContextMenuEvent*);
- virtual void hideEvent (QHideEvent*);
+ virtual void contextMenuEvent (TQContextMenuEvent*);
+ virtual void hideEvent (TQHideEvent*);
%End
%End
@@ -132,12 +132,12 @@ protected:
protected slots:
%If ( KDE_3_1_0 - )
- QString underlineText (const QString&, uint);
+ TQString underlineText (const TQString&, uint);
void resetKeyboardVars (bool = 0);
%If ( KDE_3_2_0 - )
void itemHighlighted (int);
- void showCtxMenu (QPoint);
+ void showCtxMenu (TQPoint);
void ctxMenuHiding ();
void ctxMenuHideShowingMenu ();
%End
diff --git a/sip/tdeui/kprogress.sip b/sip/tdeui/kprogress.sip
index 7195db5..1cf7d21 100644
--- a/sip/tdeui/kprogress.sip
+++ b/sip/tdeui/kprogress.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KProgress : QProgressBar
+class KProgress : TQProgressBar
{
%TypeHeaderCode
#include <kprogress.h>
@@ -32,17 +32,17 @@ class KProgress : QProgressBar
public:
- KProgress (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
- KProgress (int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ KProgress (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ KProgress (int, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
void setTextEnabled (bool);
int value () const;
bool textEnabled () const;
- QString format () const;
+ TQString format () const;
void setRange (int, int);
int maxValue ();
public slots:
- void setFormat (const QString&);
+ void setFormat (const TQString&);
void setTotalSteps (int);
virtual void setProgress (int);
void setValue (int);
@@ -52,7 +52,7 @@ signals:
void percentageChanged (int);
protected:
- virtual bool setIndicator (QString&, int, int);
+ virtual bool setIndicator (TQString&, int, int);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -68,10 +68,10 @@ class KProgressDialog : KDialogBase
public:
- KProgressDialog (QWidget* /TransferThis/ = 0, const char* = 0, const QString& = QString ::null , const QString& = QString ::null , bool = 0);
+ KProgressDialog (TQWidget* /TransferThis/ = 0, const char* = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , bool = 0);
KProgress* progressBar ();
- void setLabel (const QString&);
- QString labelText ();
+ void setLabel (const TQString&);
+ TQString labelText ();
void setAllowCancel (bool);
bool allowCancel ();
void showCancelButton (bool);
@@ -80,8 +80,8 @@ public:
void setAutoReset (bool);
bool autoReset ();
bool wasCancelled ();
- void setButtonText (const QString&);
- QString buttonText ();
+ void setButtonText (const TQString&);
+ TQString buttonText ();
void setMinimumDuration (int);
int minimumDuration ();
diff --git a/sip/tdeui/kpushbutton.sip b/sip/tdeui/kpushbutton.sip
index 25dc131..a5b795d 100644
--- a/sip/tdeui/kpushbutton.sip
+++ b/sip/tdeui/kpushbutton.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPushButton : QPushButton
+class KPushButton : TQPushButton
{
%TypeHeaderCode
#include <kpushbutton.h>
@@ -32,10 +32,10 @@ class KPushButton : QPushButton
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);
+ KPushButton (TQWidget* /TransferThis/, const char* = 0);
+ KPushButton (const TQString&, TQWidget* /TransferThis/, const char* = 0);
+ KPushButton (const TQIconSet&, const TQString&, TQWidget* /TransferThis/, const char* = 0);
+ KPushButton (const KGuiItem&, TQWidget* /TransferThis/, const char* = 0);
void setDragEnabled (bool);
bool isDragEnabled () const;
void setGuiItem (const KGuiItem&);
@@ -49,15 +49,15 @@ public:
%If ( KDE_3_2_0 - )
- void setIconSet (const QIconSet&);
- void setText (const QString&);
+ void setIconSet (const TQIconSet&);
+ void setText (const TQString&);
%End
protected:
- virtual QDragObject* dragObject ();
- virtual void mousePressEvent (QMouseEvent*);
- virtual void mouseMoveEvent (QMouseEvent*);
+ virtual TQDragObject* dragObject ();
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
virtual void startDrag ();
protected:
diff --git a/sip/tdeui/krestrictedline.sip b/sip/tdeui/krestrictedline.sip
index 4739fe2..bab8a14 100644
--- a/sip/tdeui/krestrictedline.sip
+++ b/sip/tdeui/krestrictedline.sip
@@ -32,15 +32,15 @@ class KRestrictedLine : KLineEdit
public:
- KRestrictedLine (QWidget* /TransferThis/ = 0, const char* = 0, const QString& = QString ::null );
- void setValidChars (const QString&);
- QString validChars () const;
+ KRestrictedLine (TQWidget* /TransferThis/ = 0, const char* = 0, const TQString& = TQString ::null );
+ void setValidChars (const TQString&);
+ TQString validChars () const;
signals:
void invalidChar (int);
protected:
- void keyPressEvent (QKeyEvent*);
+ void keyPressEvent (TQKeyEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/krootpixmap.sip b/sip/tdeui/krootpixmap.sip
index a4ce0d3..59b9088 100644
--- a/sip/tdeui/krootpixmap.sip
+++ b/sip/tdeui/krootpixmap.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KRootPixmap : QObject
+class KRootPixmap : TQObject
{
%TypeHeaderCode
#include <krootpixmap.h>
@@ -32,8 +32,8 @@ class KRootPixmap : QObject
public:
- KRootPixmap (QWidget*, const char* = 0);
- KRootPixmap (QWidget*, QObject* /TransferThis/, const char* = 0);
+ KRootPixmap (TQWidget*, const char* = 0);
+ KRootPixmap (TQWidget*, TQObject* /TransferThis/, const char* = 0);
bool isAvailable () const;
bool isActive () const;
int currentDesktop () const;
@@ -41,7 +41,7 @@ public:
bool checkAvailable (bool);
%If ( KDE_3_2_0 - )
- const QColor& color () const;
+ const TQColor& color () const;
double opacity () const;
%End
@@ -49,22 +49,22 @@ public:
public slots:
virtual void start ();
virtual void stop ();
- void setFadeEffect (double, const QColor&);
+ void setFadeEffect (double, const TQColor&);
void repaint (bool);
void repaint ();
void setCustomPainting (bool);
void enableExports ();
%If ( KDE_3_2_0 - )
-//ig static QString pixmapName (int);
+//ig static TQString pixmapName (int);
%End
signals:
- void backgroundUpdated (const QPixmap&);
+ void backgroundUpdated (const TQPixmap&);
protected:
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
//ig virtual void updateBackground (KSharedPixmap*);
}; // class KRootPixmap
diff --git a/sip/tdeui/kruler.sip b/sip/tdeui/kruler.sip
index 40458a2..7068889 100644
--- a/sip/tdeui/kruler.sip
+++ b/sip/tdeui/kruler.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KRuler : QFrame
+class KRuler : TQFrame
{
%TypeHeaderCode
#include <kruler.h>
@@ -43,9 +43,9 @@ public:
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);
+ KRuler (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KRuler (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ KRuler (Orientation, int, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
void setMinValue (int);
int minValue () const;
void setMaxValue (int);
@@ -78,8 +78,8 @@ public:
void setValuePerBigMark (int);
void setShowEndLabel (bool);
bool showEndLabel () const;
- void setEndLabel (const QString&);
- QString endLabel () const;
+ void setEndLabel (const TQString&);
+ TQString endLabel () const;
void setRulerMetricStyle (KRuler::MetricStyle);
void setPixelPerMark (double);
double pixelPerMark () const;
@@ -99,7 +99,7 @@ public slots:
void slotEndOffset (int);
protected:
- virtual void drawContents (QPainter*);
+ virtual void drawContents (TQPainter*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kscrollview.sip b/sip/tdeui/kscrollview.sip
index 8a10fa9..599e36b 100644
--- a/sip/tdeui/kscrollview.sip
+++ b/sip/tdeui/kscrollview.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_5_0 - )
-class KScrollView : QScrollView
+class KScrollView : TQScrollView
{
%TypeHeaderCode
#include <kscrollview.h>
@@ -34,13 +34,13 @@ class KScrollView : QScrollView
public:
- KScrollView (QWidget* /TransferThis/ = 0, const char* = 0, Qt::WFlags = 0);
+ KScrollView (TQWidget* /TransferThis/ = 0, const char* = 0, TQt::WFlags = 0);
public slots:
void scrollBy (int, int);
protected:
- virtual void wheelEvent (QWheelEvent*);
+ virtual void wheelEvent (TQWheelEvent*);
void startScrolling ();
void stopScrolling ();
diff --git a/sip/tdeui/kselect.sip b/sip/tdeui/kselect.sip
index 06650d9..9d3148a 100644
--- a/sip/tdeui/kselect.sip
+++ b/sip/tdeui/kselect.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KXYSelector : QWidget
+class KXYSelector : TQWidget
{
%TypeHeaderCode
#include <kselect.h>
@@ -32,7 +32,7 @@ class KXYSelector : QWidget
public:
- KXYSelector (QWidget* /TransferThis/ = 0, const char* = 0);
+ KXYSelector (TQWidget* /TransferThis/ = 0, const char* = 0);
void setValues (int, int);
%If ( KDE_3_3_0 - )
@@ -43,20 +43,20 @@ public:
void setRange (int, int, int, int);
int xValue ();
int yValue ();
- QRect contentsRect () const;
+ TQRect 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*);
+ virtual void drawContents (TQPainter*);
+ virtual void drawCursor (TQPainter*, int, int);
+ virtual void paintEvent (TQPaintEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
%If ( KDE_3_2_0 - )
- virtual void wheelEvent (QWheelEvent*);
+ virtual void wheelEvent (TQWheelEvent*);
void valuesFromPosition (int, int, int&, int&) const;
%End
@@ -67,7 +67,7 @@ protected:
}; // class KXYSelector
-class KSelector : QWidget, QRangeControl
+class KSelector : TQWidget, TQRangeControl
{
%TypeHeaderCode
#include <kselect.h>
@@ -75,10 +75,10 @@ class KSelector : QWidget, QRangeControl
public:
- KSelector (QWidget* /TransferThis/ = 0, const char* = 0);
- KSelector (Orientation, QWidget* /TransferThis/ = 0, const char* = 0);
+ KSelector (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KSelector (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0);
Orientation orientation () const;
- QRect contentsRect () const;
+ TQRect contentsRect () const;
void setIndent (bool);
bool indent () const;
void setValue (int);
@@ -92,15 +92,15 @@ signals:
void valueChanged (int);
protected:
- virtual void drawContents (QPainter*);
- virtual void drawArrow (QPainter*, bool, const QPoint&);
+ virtual void drawContents (TQPainter*);
+ virtual void drawArrow (TQPainter*, bool, const TQPoint&);
virtual void valueChange ();
- virtual void paintEvent (QPaintEvent*);
- virtual void mousePressEvent (QMouseEvent*);
- virtual void mouseMoveEvent (QMouseEvent*);
+ virtual void paintEvent (TQPaintEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
%If ( KDE_3_2_0 - )
- virtual void wheelEvent (QWheelEvent*);
+ virtual void wheelEvent (TQWheelEvent*);
%End
@@ -118,22 +118,22 @@ class KGradientSelector : KSelector
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;
+ KGradientSelector (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KGradientSelector (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0);
+ void setColors (const TQColor&, const TQColor&);
+ void setText (const TQString&, const TQString&);
+ void setFirstColor (const TQColor&);
+ void setSecondColor (const TQColor&);
+ void setFirstText (const TQString&);
+ void setSecondText (const TQString&);
+ const TQColor firstColor () const;
+ const TQColor secondColor () const;
+ const TQString firstText () const;
+ const TQString secondText () const;
protected:
- virtual void drawContents (QPainter*);
- virtual QSize minimumSize () const;
+ virtual void drawContents (TQPainter*);
+ virtual TQSize minimumSize () const;
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kseparator.sip b/sip/tdeui/kseparator.sip
index 1c2425d..c0b0ee0 100644
--- a/sip/tdeui/kseparator.sip
+++ b/sip/tdeui/kseparator.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KSeparator : QFrame
+class KSeparator : TQFrame
{
%TypeHeaderCode
#include <kseparator.h>
@@ -32,14 +32,14 @@ class KSeparator : QFrame
public:
- KSeparator (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
- KSeparator (int, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ KSeparator (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ KSeparator (int, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
int orientation () const;
void setOrientation (int);
- virtual QSize sizeHint () const;
+ virtual TQSize sizeHint () const;
protected:
- virtual void drawFrame (QPainter*);
+ virtual void drawFrame (TQPainter*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/ksharedpixmap.sip b/sip/tdeui/ksharedpixmap.sip
index 003873f..1ffec51 100644
--- a/sip/tdeui/ksharedpixmap.sip
+++ b/sip/tdeui/ksharedpixmap.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KSharedPixmap : QWidget, KPixmap
+class KSharedPixmap : TQWidget, KPixmap
{
%TypeHeaderCode
#include <qwidget.h>
@@ -39,8 +39,8 @@ public:
KSharedPixmap ();
%If ( KDE_3_1_2 - )
- bool loadFromShared (const QString&, const QRect& = QRect ());
- bool isAvailable (const QString&) const;
+ bool loadFromShared (const TQString&, const TQRect& = TQRect ());
+ bool isAvailable (const TQString&) const;
%End
@@ -53,8 +53,8 @@ protected:
public:
%If ( - KDE_3_1_2 )
- bool loadFromShared (QString, QRect = QRect ());
- bool isAvailable (QString);
+ bool loadFromShared (TQString, TQRect = TQRect ());
+ bool isAvailable (TQString);
%End
diff --git a/sip/tdeui/kshortcutdialog.sip b/sip/tdeui/kshortcutdialog.sip
index d671f91..a244150 100644
--- a/sip/tdeui/kshortcutdialog.sip
+++ b/sip/tdeui/kshortcutdialog.sip
@@ -34,7 +34,7 @@ class KShortcutDialog : KDialogBase
public:
- KShortcutDialog (const KShortcut&, bool, QWidget* /TransferThis/ = 0, const char* = 0);
+ KShortcutDialog (const KShortcut&, bool, TQWidget* /TransferThis/ = 0, const char* = 0);
void setShortcut (const KShortcut&);
const KShortcut& shortcut () const;
diff --git a/sip/tdeui/ksplashscreen.sip b/sip/tdeui/ksplashscreen.sip
index 351fc73..aa16c59 100644
--- a/sip/tdeui/ksplashscreen.sip
+++ b/sip/tdeui/ksplashscreen.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_2_0 - )
-class KSplashScreen : QSplashScreen
+class KSplashScreen : TQSplashScreen
{
%TypeHeaderCode
#include <ksplashscreen.h>
@@ -34,7 +34,7 @@ class KSplashScreen : QSplashScreen
public:
- KSplashScreen (const QPixmap&, WFlags = 0);
+ KSplashScreen (const TQPixmap&, WFlags = 0);
}; // class KSplashScreen
diff --git a/sip/tdeui/ksqueezedtextlabel.sip b/sip/tdeui/ksqueezedtextlabel.sip
index c983d19..bbac4f2 100644
--- a/sip/tdeui/ksqueezedtextlabel.sip
+++ b/sip/tdeui/ksqueezedtextlabel.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KSqueezedTextLabel : QLabel
+class KSqueezedTextLabel : TQLabel
{
%TypeHeaderCode
#include <ksqueezedtextlabel.h>
@@ -32,12 +32,12 @@ class KSqueezedTextLabel : QLabel
public:
- KSqueezedTextLabel (QWidget* /TransferThis/, const char* = 0);
- KSqueezedTextLabel (const QString&, QWidget* /TransferThis/, const char* = 0);
- virtual QSize minimumSizeHint () const;
+ KSqueezedTextLabel (TQWidget* /TransferThis/, const char* = 0);
+ KSqueezedTextLabel (const TQString&, TQWidget* /TransferThis/, const char* = 0);
+ virtual TQSize minimumSizeHint () const;
%If ( KDE_3_3_0 - )
- virtual QSize sizeHint () const;
+ virtual TQSize sizeHint () const;
%If ( KDE_3_4_0 - )
virtual void setAlignment (int);
@@ -47,10 +47,10 @@ public:
public slots:
- void setText (const QString&);
+ void setText (const TQString&);
protected:
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
void squeezeTextToLabel ();
protected:
diff --git a/sip/tdeui/kstatusbar.sip b/sip/tdeui/kstatusbar.sip
index 9d12f75..b9fab50 100644
--- a/sip/tdeui/kstatusbar.sip
+++ b/sip/tdeui/kstatusbar.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KStatusBarLabel : QLabel
+class KStatusBarLabel : TQLabel
{
%TypeHeaderCode
#include <kstatusbar.h>
@@ -32,11 +32,11 @@ class KStatusBarLabel : QLabel
public:
- KStatusBarLabel (const QString&, int, KStatusBar* /TransferThis/ = 0, const char* = 0);
+ KStatusBarLabel (const TQString&, int, KStatusBar* /TransferThis/ = 0, const char* = 0);
protected:
- void mousePressEvent (QMouseEvent*);
- void mouseReleaseEvent (QMouseEvent*);
+ void mousePressEvent (TQMouseEvent*);
+ void mouseReleaseEvent (TQMouseEvent*);
signals:
void itemPressed (int);
@@ -45,7 +45,7 @@ signals:
}; // class KStatusBarLabel
-class KStatusBar : QStatusBar
+class KStatusBar : TQStatusBar
{
%TypeHeaderCode
#include <kstatusbar.h>
@@ -61,16 +61,16 @@ public:
Hide
};
- KStatusBar (QWidget* /TransferThis/ = 0, const char* = 0);
- void insertItem (const QString&, int, int = 0, bool = 0);
- void insertFixedItem (const QString&, int, bool = 0);
+ KStatusBar (TQWidget* /TransferThis/ = 0, const char* = 0);
+ void insertItem (const TQString&, int, int = 0, bool = 0);
+ void insertFixedItem (const TQString&, int, bool = 0);
void removeItem (int);
%If ( KDE_3_2_0 - )
bool hasItem (int) const;
%End
- void changeItem (const QString&, int);
+ void changeItem (const TQString&, int);
void setItemAlignment (int, int);
void setItemFixed (int, int = -1);
diff --git a/sip/tdeui/kstdaction.sip b/sip/tdeui/kstdaction.sip
index 8ba3428..a96be92 100644
--- a/sip/tdeui/kstdaction.sip
+++ b/sip/tdeui/kstdaction.sip
@@ -101,7 +101,7 @@ KAction* create (KStdAction::StdAction, const char*, SIP_RXOBJ_CON,
const char* name (KStdAction::StdAction);
%If ( KDE_3_1_0 - )
-QStringList stdNames ();
+TQStringList stdNames ();
%End
KAction* openNew (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0);
@@ -164,7 +164,7 @@ KToggleToolBarAction* showToolbar (const char*, KActionCollection* /Transfer/, c
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);
+KToggleFullScreenAction* fullScreen (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection*, TQWidget*, const char* = 0);
%End
KAction* saveOptions (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0);
diff --git a/sip/tdeui/kstdguiitem.sip b/sip/tdeui/kstdguiitem.sip
index 7a26b12..eb9d550 100644
--- a/sip/tdeui/kstdguiitem.sip
+++ b/sip/tdeui/kstdguiitem.sip
@@ -80,7 +80,7 @@ public:
%End
static KGuiItem guiItem (KStdGuiItem::StdItem);
- static QString stdItem (KStdGuiItem::StdItem);
+ static TQString stdItem (KStdGuiItem::StdItem);
static KGuiItem ok ();
static KGuiItem cancel ();
static KGuiItem yes ();
@@ -134,7 +134,7 @@ public:
static KGuiItem configure ();
%End
- static QPair<KGuiItem,KGuiItem> backAndForward ();
+ static TQPair<KGuiItem,KGuiItem> backAndForward ();
%If ( KDE_3_2_0 - )
static KGuiItem quit ();
@@ -287,7 +287,7 @@ public:
-%MappedType QPair<KGuiItem,KGuiItem>
+%MappedType TQPair<KGuiItem,KGuiItem>
//converts a Python tuple (KGuiItem,KGuiItem)
{
%TypeHeaderCode
@@ -303,7 +303,7 @@ public:
if ((pytuple = PyTuple_New(0)) == NULL)
return NULL;
- QPair<KGuiItem,KGuiItem> *cpp = (QPair<KGuiItem,KGuiItem> *)sipCpp;
+ TQPair<KGuiItem,KGuiItem> *cpp = (TQPair<KGuiItem,KGuiItem> *)sipCpp;
PyObject *inst = NULL;
// Get it.
@@ -341,7 +341,7 @@ public:
return 0;
}
- *sipCppPtr = new QPair<KGuiItem, KGuiItem> (*g1, *g2);
+ *sipCppPtr = new TQPair<KGuiItem, KGuiItem> (*g1, *g2);
return 1;
%End
diff --git a/sip/tdeui/kstringvalidator.sip b/sip/tdeui/kstringvalidator.sip
index b917566..9f03da7 100644
--- a/sip/tdeui/kstringvalidator.sip
+++ b/sip/tdeui/kstringvalidator.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KStringListValidator : QValidator
+class KStringListValidator : TQValidator
{
%TypeHeaderCode
#include <kstringvalidator.h>
@@ -32,22 +32,22 @@ class KStringListValidator : QValidator
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;
+ KStringListValidator (const TQStringList& = TQStringList (), bool = 1, bool = 0, TQObject* /TransferThis/ = 0, const char* = 0);
+ virtual State validate (TQString&, int&) const;
+ virtual void fixup (TQString&) const;
void setRejecting (bool);
bool isRejecting () const;
void setFixupEnabled (bool);
bool isFixupEnabled () const;
- void setStringList (const QStringList&);
- QStringList stringList () const;
+ void setStringList (const TQStringList&);
+ TQStringList stringList () const;
protected:
}; // class KStringListValidator
-class KMimeTypeValidator : QValidator
+class KMimeTypeValidator : TQValidator
{
%TypeHeaderCode
#include <kstringvalidator.h>
@@ -55,9 +55,9 @@ class KMimeTypeValidator : QValidator
public:
- KMimeTypeValidator (QObject* /TransferThis/, const char* = 0);
- virtual State validate (QString&, int&) const;
- virtual void fixup (QString&) const;
+ KMimeTypeValidator (TQObject* /TransferThis/, const char* = 0);
+ virtual State validate (TQString&, int&) const;
+ virtual void fixup (TQString&) const;
}; // class KMimeTypeValidator
diff --git a/sip/tdeui/ksystemtray.sip b/sip/tdeui/ksystemtray.sip
index 444f922..89b1081 100644
--- a/sip/tdeui/ksystemtray.sip
+++ b/sip/tdeui/ksystemtray.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KSystemTray : QLabel
+class KSystemTray : TQLabel
{
%TypeHeaderCode
#include <ksystemtray.h>
@@ -32,18 +32,18 @@ class KSystemTray : QLabel
public:
- KSystemTray (QWidget* /TransferThis/ = 0, const char* = 0);
+ KSystemTray (TQWidget* /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&);
+ virtual void setPixmap (const TQPixmap&);
+ virtual void setCaption (const TQString&);
%End
- static QPixmap loadIcon (const QString&, KInstance* = KGlobal ::instance ());
+ static TQPixmap loadIcon (const TQString&, KInstance* = KGlobal ::instance ());
%End
@@ -64,11 +64,11 @@ public slots:
protected:
- void mousePressEvent (QMouseEvent*);
- void mouseReleaseEvent (QMouseEvent*);
+ void mousePressEvent (TQMouseEvent*);
+ void mouseReleaseEvent (TQMouseEvent*);
virtual void contextMenuAboutToShow (KPopupMenu*);
- void showEvent (QShowEvent*);
- void enterEvent (QEvent*);
+ void showEvent (TQShowEvent*);
+ void enterEvent (TQEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/ktabbar.sip b/sip/tdeui/ktabbar.sip
index 27ed2b7..f271afc 100644
--- a/sip/tdeui/ktabbar.sip
+++ b/sip/tdeui/ktabbar.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_2_0 - )
-class KTabBar : QTabBar
+class KTabBar : TQTabBar
{
%TypeHeaderCode
#include <ktabbar.h>
@@ -34,16 +34,16 @@ class KTabBar : QTabBar
public:
- KTabBar (QWidget* /TransferThis/ = 0, const char* = 0);
+ KTabBar (TQWidget* /TransferThis/ = 0, const char* = 0);
virtual void setTabEnabled (int, bool);
- const QColor& tabColor (int) const;
- void setTabColor (int, const QColor&);
+ const TQColor& tabColor (int) const;
+ void setTabColor (int, const TQColor&);
%If ( KDE_3_3_0 - )
- virtual int insertTab (QTab*, int = -1);
+ virtual int insertTab (TQTab*, int = -1);
%End
- virtual void removeTab (QTab*);
+ virtual void removeTab (TQTab*);
void setTabReorderingEnabled (bool);
bool isTabReorderingEnabled () const;
void setHoverCloseButton (bool);
@@ -58,12 +58,12 @@ public:
signals:
- void contextMenu (int, const QPoint&);
+ void contextMenu (int, const TQPoint&);
void mouseDoubleClick (int);
void mouseMiddleClick (int);
void initiateDrag (int);
-//ig void testCanDecode (const QDragMoveEvent*, bool&);
- void receivedDropEvent (int, QDropEvent*);
+//ig void testCanDecode (const TQDragMoveEvent*, bool&);
+ void receivedDropEvent (int, TQDropEvent*);
void moveTab (int, int);
void closeRequest (int);
@@ -73,18 +73,18 @@ signals:
protected:
- virtual void mouseDoubleClickEvent (QMouseEvent*);
- virtual void mousePressEvent (QMouseEvent*);
- virtual void mouseMoveEvent (QMouseEvent*);
- virtual void mouseReleaseEvent (QMouseEvent*);
+ virtual void mouseDoubleClickEvent (TQMouseEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
%If ( KDE_3_3_0 - )
- virtual void wheelEvent (QWheelEvent*);
+ virtual void wheelEvent (TQWheelEvent*);
%End
- virtual void dragMoveEvent (QDragMoveEvent*);
- virtual void dropEvent (QDropEvent*);
- virtual void paintLabel (QPainter*, const QRect&, QTab*, bool) const;
+ virtual void dragMoveEvent (TQDragMoveEvent*);
+ virtual void dropEvent (TQDropEvent*);
+ virtual void paintLabel (TQPainter*, const TQRect&, TQTab*, bool) const;
protected slots:
virtual void closeButtonClicked ();
diff --git a/sip/tdeui/ktabctl.sip b/sip/tdeui/ktabctl.sip
index 26bdfa9..1ab1c5f 100644
--- a/sip/tdeui/ktabctl.sip
+++ b/sip/tdeui/ktabctl.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KTabCtl : QWidget
+class KTabCtl : TQWidget
{
%TypeHeaderCode
#include <ktabctl.h>
@@ -32,20 +32,20 @@ class KTabCtl : QWidget
public:
- KTabCtl (QWidget* /TransferThis/ = 0, const char* = 0);
+ KTabCtl (TQWidget* /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 setFont (const TQFont&);
+ void setTabFont (const TQFont&);
+ void addTab (TQWidget*, const TQString&);
+ bool isTabEnabled (const TQString&);
+ void setTabEnabled (const TQString&, bool);
void setBorder (bool);
- void setShape (QTabBar::Shape);
- virtual QSize sizeHint () const;
+ void setShape (TQTabBar::Shape);
+ virtual TQSize sizeHint () const;
protected:
- void paintEvent (QPaintEvent*);
- void resizeEvent (QResizeEvent*);
+ void paintEvent (TQPaintEvent*);
+ void resizeEvent (TQResizeEvent*);
signals:
void tabSelected (int);
@@ -55,7 +55,7 @@ protected slots:
protected:
void setSizes ();
- QRect getChildRect () const;
+ TQRect getChildRect () const;
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/ktabwidget.sip b/sip/tdeui/ktabwidget.sip
index e828e7b..5feeccd 100644
--- a/sip/tdeui/ktabwidget.sip
+++ b/sip/tdeui/ktabwidget.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_2_0 - )
-class KTabWidget : QTabWidget
+class KTabWidget : TQTabWidget
{
%TypeHeaderCode
#include <ktabwidget.h>
@@ -34,9 +34,9 @@ class KTabWidget : QTabWidget
public:
- KTabWidget (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
- void setTabColor (QWidget*, const QColor&);
- QColor tabColor (QWidget*) const;
+ KTabWidget (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ void setTabColor (TQWidget*, const TQColor&);
+ TQColor tabColor (TQWidget*) const;
bool isTabReorderingEnabled () const;
bool hoverCloseButton () const;
bool hoverCloseButtonDelayed () const;
@@ -48,14 +48,14 @@ public:
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&);
+ virtual void insertTab (TQWidget*, const TQString&, int = -1);
+ virtual void insertTab (TQWidget*, const TQIconSet&, const TQString&, int = -1);
+ virtual void insertTab (TQWidget*, TQTab*, int = -1);
+ void changeTab (TQWidget*, const TQString&);
+ void changeTab (TQWidget*, const TQIconSet&, const TQString&);
+ TQString label (int) const;
+ TQString tabLabel (TQWidget*) const;
+ void setTabLabel (TQWidget*, const TQString&);
%End
%End
@@ -65,7 +65,7 @@ public slots:
virtual void moveTab (int, int);
%If ( KDE_3_4_0 - )
- virtual void removePage (QWidget*);
+ virtual void removePage (TQWidget*);
%End
void setTabReorderingEnabled (bool);
@@ -83,32 +83,32 @@ public slots:
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&);
+//ig void testCanDecode (const TQDragMoveEvent*, bool&);
+ void receivedDropEvent (TQDropEvent*);
+ void receivedDropEvent (TQWidget*, TQDropEvent*);
+ void initiateDrag (TQWidget*);
+//ig void contextMenu (const TQPoint&);
+ void contextMenu (TQWidget*, const TQPoint&);
void movedTab (int, int);
%If ( KDE_3_3_0 - )
void mouseDoubleClick ();
%End
- void mouseDoubleClick (QWidget*);
+ void mouseDoubleClick (TQWidget*);
void mouseMiddleClick ();
- void mouseMiddleClick (QWidget*);
- void closeRequest (QWidget*);
+ void mouseMiddleClick (TQWidget*);
+ void closeRequest (TQWidget*);
protected:
%If ( KDE_3_3_0 - )
- virtual void mouseDoubleClickEvent (QMouseEvent*);
+ virtual void mouseDoubleClickEvent (TQMouseEvent*);
%End
- virtual void mousePressEvent (QMouseEvent*);
- virtual void dragMoveEvent (QDragMoveEvent*);
- virtual void dropEvent (QDropEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void dragMoveEvent (TQDragMoveEvent*);
+ virtual void dropEvent (TQDropEvent*);
%If ( KDE_3_4_0 - )
uint tabBarWidthForMaxChars (uint);
@@ -116,19 +116,19 @@ protected:
%If ( KDE_3_3_0 - )
- virtual void wheelEvent (QWheelEvent*);
+ virtual void wheelEvent (TQWheelEvent*);
%If ( KDE_3_4_0 - )
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
%End
%End
protected slots:
-//ig virtual void receivedDropEvent (int, QDropEvent*);
+//ig virtual void receivedDropEvent (int, TQDropEvent*);
//ig virtual void initiateDrag (int);
-//ig virtual void contextMenu (int, const QPoint&);
+//ig virtual void contextMenu (int, const TQPoint&);
//ig virtual void mouseDoubleClick (int);
//ig virtual void mouseMiddleClick (int);
//ig virtual void closeRequest (int);
diff --git a/sip/tdeui/ktextbrowser.sip b/sip/tdeui/ktextbrowser.sip
index 91a1fc3..acc922e 100644
--- a/sip/tdeui/ktextbrowser.sip
+++ b/sip/tdeui/ktextbrowser.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KTextBrowser : QTextBrowser
+class KTextBrowser : TQTextBrowser
{
%TypeHeaderCode
#include <ktextbrowser.h>
@@ -32,24 +32,24 @@ class KTextBrowser : QTextBrowser
public:
- KTextBrowser (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
+ KTextBrowser (TQWidget* /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*);
+ void setSource (const TQString&);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void viewportMouseMoveEvent (TQMouseEvent*);
+ virtual void contentsWheelEvent (TQWheelEvent*);
%If ( KDE_3_3_0 - )
- virtual QPopupMenu* createPopupMenu (const QPoint&);
+ virtual TQPopupMenu* createPopupMenu (const TQPoint&);
%End
signals:
- void mailClick (const QString&, const QString&);
- void urlClick (const QString&);
+ void mailClick (const TQString&, const TQString&);
+ void urlClick (const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/ktextedit.sip b/sip/tdeui/ktextedit.sip
index e85bcff..7f9b60c 100644
--- a/sip/tdeui/ktextedit.sip
+++ b/sip/tdeui/ktextedit.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_1_0 - )
-class KTextEdit : QTextEdit
+class KTextEdit : TQTextEdit
{
%TypeHeaderCode
#include <ktextedit.h>
@@ -34,12 +34,12 @@ class KTextEdit : QTextEdit
public:
- KTextEdit (const QString&, const QString& = QString ::null , QWidget* /TransferThis/ = 0, const char* = 0);
- KTextEdit (QWidget* /TransferThis/ = 0, const char* = 0);
+ KTextEdit (const TQString&, const TQString& = TQString ::null , TQWidget* /TransferThis/ = 0, const char* = 0);
+ KTextEdit (TQWidget* /TransferThis/ = 0, const char* = 0);
virtual void setReadOnly (bool);
%If ( KDE_3_1_1 - )
- virtual void setPalette (const QPalette&);
+ virtual void setPalette (const TQPalette&);
%If ( KDE_3_2_0 - )
void setCheckSpellingEnabled (bool);
@@ -58,19 +58,19 @@ public slots:
protected:
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
%If ( KDE_3_2_0 - )
- virtual void focusInEvent (QFocusEvent*);
+ virtual void focusInEvent (TQFocusEvent*);
%End
- virtual void contentsWheelEvent (QWheelEvent*);
+ virtual void contentsWheelEvent (TQWheelEvent*);
virtual void deleteWordBack ();
virtual void deleteWordForward ();
%If ( KDE_3_2_0 - )
- virtual QPopupMenu* createPopupMenu (const QPoint&);
- virtual QPopupMenu* createPopupMenu ();
+ virtual TQPopupMenu* createPopupMenu (const TQPoint&);
+ virtual TQPopupMenu* createPopupMenu ();
%End
diff --git a/sip/tdeui/kthemebase.sip b/sip/tdeui/kthemebase.sip
index 6909d32..0a1db3f 100644
--- a/sip/tdeui/kthemebase.sip
+++ b/sip/tdeui/kthemebase.sip
@@ -47,8 +47,8 @@ public:
KThemePixmap (bool = 1);
KThemePixmap (const KThemePixmap&);
- QPixmap* border (KThemePixmap::BorderType);
- void setBorder (KThemePixmap::BorderType, const QPixmap&);
+ TQPixmap* border (KThemePixmap::BorderType);
+ void setBorder (KThemePixmap::BorderType, const TQPixmap&);
void updateAccessed ();
bool isOld ();
@@ -57,7 +57,7 @@ protected:
}; // class KThemePixmap
-class KThemeCache : QObject
+class KThemeCache : TQObject
{
%TypeHeaderCode
#include <kthemebase.h>
@@ -73,7 +73,7 @@ public:
VerticalScale
};
- KThemeCache (int, QObject*/TransferThis/ = 0, const char* = 0);
+ KThemeCache (int, TQObject*/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);
@@ -95,7 +95,7 @@ class KThemeBase : KStyle
public:
- KThemeBase (const QString&);
+ KThemeBase (const TQString&);
enum ScaleHint
{
@@ -204,8 +204,8 @@ public:
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);
+ const TQColorGroup* colorGroup (const TQColorGroup&, KThemeBase::WidgetType) const;
+ TQBrush pixmapBrush (const TQColorGroup&, TQColorGroup::ColorRole, int, int, KThemeBase::WidgetType);
bool isPixmap (KThemeBase::WidgetType) const;
bool isColor (KThemeBase::WidgetType) const;
bool is3DFocus () const;
@@ -232,16 +232,16 @@ public:
bool inactiveTabLine () const;
KThemePixmap* uncached (KThemeBase::WidgetType) const;
virtual KThemePixmap* scalePixmap (int, int, KThemeBase::WidgetType);
- static void applyConfigFile (const QString&);
+ static void applyConfigFile (const TQString&);
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);
+ TQImage* image (KThemeBase::WidgetType) const;
+ TQColor* gradientHigh (KThemeBase::WidgetType) const;
+ TQColor* gradientLow (KThemeBase::WidgetType) const;
+ void readConfig (TQt::GUIStyle = TQt::WindowsStyle);
+//ig void readWidgetConfig (int, KConfig*, TQString*, TQString*, bool*);
+ void copyWidgetConfig (int, int, TQString*, TQString*);
+ TQColorGroup* makeColorGroup (TQColor&, TQColor&, TQt::GUIStyle = TQt::WindowsStyle);
KThemePixmap* scale (int, int, KThemeBase::WidgetType);
KThemePixmap* scaleBorder (int, int, KThemeBase::WidgetType);
KThemePixmap* gradient (int, int, KThemeBase::WidgetType);
@@ -249,10 +249,10 @@ protected:
void generateBorderPix (int);
void applyResourceGroup (KConfig*, int);
void applyMiscResourceGroup (KConfig*);
- void readResourceGroup (int, QString*, QString*, bool*);
+ void readResourceGroup (int, TQString*, TQString*, bool*);
void readMiscResourceGroup ();
- KThemePixmap* loadPixmap (QString&);
- QImage* loadImage (QString&);
+ KThemePixmap* loadPixmap (TQString&);
+ TQImage* loadImage (TQString&);
}; // class KThemeBase
diff --git a/sip/tdeui/kthemestyle.sip b/sip/tdeui/kthemestyle.sip
index 6521f00..d554b06 100644
--- a/sip/tdeui/kthemestyle.sip
+++ b/sip/tdeui/kthemestyle.sip
@@ -32,56 +32,56 @@ class KThemeStyle : KThemeBase
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*);
+ KThemeStyle (const TQString& = TQString::null);
+ virtual void polish (TQWidget*);
+ virtual void unPolish (TQWidget*);
+ virtual void polish (TQApplication*);
+ virtual void unPolish (TQApplication*);
+ virtual void polish (TQPalette&);
+ virtual void drawBaseButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 0, WidgetType = Bevel, const TQBrush* = 0);
+ virtual void drawBaseMask (TQPainter*, int, int, int, int, bool);
+ virtual void drawButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+ virtual void drawBevelButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
+ virtual void drawKToolBarButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const TQString& = TQString::null, const TQPixmap* = 0, TQFont* = 0, TQWidget* = 0);
+ void drawKBarHandle (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0);
+ void drawKToolBar (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0);
+ virtual TQRect buttonRect (int, int, int, int);
+ virtual void drawArrow (TQPainter*, TQt::ArrowType, bool, int, int, int, int, const TQColorGroup&, bool = 1, const TQBrush* = 0);
+ virtual TQSize exclusiveIndicatorSize () const;
+ virtual void drawExclusiveIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool = 0, bool = 1);
+ virtual void drawExclusiveIndicatorMask (TQPainter*, int, int, int, int, bool);
+ virtual void drawIndicatorMask (TQPainter*, int, int, int, int, int);
+ virtual void drawButtonMask (TQPainter*, int, int, int, int);
+ virtual void drawComboButtonMask (TQPainter*, int, int, int, int);
+ virtual TQSize indicatorSize () const;
+ virtual void drawIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, int, bool = 0, bool = 1);
+ virtual void drawComboButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 0, bool = 1, const TQBrush* = 0);
+ virtual void drawPushButton (TQPushButton*, TQPainter*);
//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&);
+//ig virtual void scrollBarMetrics (const TQScrollBar*, int&, int&, int&, int&);
+ virtual void drawScrollBarControls (TQPainter*, const TQScrollBar*, int, uint, uint);
+ virtual ScrollControl scrollBarPointOver (const TQScrollBar*, int, const TQPoint&);
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 void drawSlider (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation, bool, bool);
+ void drawSliderGroove (TQPainter*, int, int, int, int, const TQColorGroup&, TQCOORD, Orientation);
+ virtual void drawSliderMask (TQPainter*, int, int, int, int, Orientation, bool, bool);
+ virtual void drawScrollBarGroove (TQPainter*, const TQScrollBar*, bool, TQRect, TQColorGroup);
+ virtual void drawShade (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool, int, int, ShadeStyle);
+ virtual void drawPushButtonLabel (TQPushButton*, TQPainter*);
+ void drawKMenuBar (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQBrush* = 0);
+//ig virtual void drawKMenuItem (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQMenuItem*, TQBrush* = 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);
+ virtual void drawSplitter (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation);
+ virtual void drawCheckMark (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool);
+//ig virtual void drawPopupMenuItem (TQPainter*, bool, int, int, TQMenuItem*, const TQPalette&, bool, bool, int, int, int, int);
+//ig int popupMenuItemHeight (bool, TQMenuItem*, const TQFontMetrics&);
+ void drawFocusRect (TQPainter*, const TQRect&, const TQColorGroup&, const TQColor* = 0, bool = 0);
+ virtual void drawKProgressBlock (TQPainter*, int, int, int, int, const TQColorGroup&, TQBrush*);
+ virtual void getKProgressBackground (const TQColorGroup&, TQBrush&);
+//ig virtual void tabbarMetrics (const TQTabBar*, int&, int&, int&);
+ virtual void drawTab (TQPainter*, const TQTabBar*, TQTab*, bool);
+ virtual void drawTabMask (TQPainter*, const TQTabBar*, TQTab*, bool);
protected:
diff --git a/sip/tdeui/ktimewidget.sip b/sip/tdeui/ktimewidget.sip
index b582698..4386f59 100644
--- a/sip/tdeui/ktimewidget.sip
+++ b/sip/tdeui/ktimewidget.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_2_0 - )
-class KTimeWidget : QWidget
+class KTimeWidget : TQWidget
{
%TypeHeaderCode
#include <ktimewidget.h>
@@ -34,15 +34,15 @@ class KTimeWidget : QWidget
public:
- KTimeWidget (QWidget* /TransferThis/ = 0, const char* = 0);
- KTimeWidget (const QTime&, QWidget* /TransferThis/ = 0, const char* = 0);
- QTime time () const;
+ KTimeWidget (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KTimeWidget (const TQTime&, TQWidget* /TransferThis/ = 0, const char* = 0);
+ TQTime time () const;
public slots:
- void setTime (const QTime&);
+ void setTime (const TQTime&);
signals:
- void valueChanged (const QTime&);
+ void valueChanged (const TQTime&);
}; // class KTimeWidget
diff --git a/sip/tdeui/ktimezonewidget.sip b/sip/tdeui/ktimezonewidget.sip
index fb612ee..98e8023 100644
--- a/sip/tdeui/ktimezonewidget.sip
+++ b/sip/tdeui/ktimezonewidget.sip
@@ -34,10 +34,10 @@ class KTimezoneWidget : KListView
public:
- KTimezoneWidget (QWidget* /TransferThis/ = 0, const char* = 0, KTimezones* = 0);
- QStringList selection () const;
- void setSelected (const QString&, bool);
- static QString displayName (const KTimezone*);
+ KTimezoneWidget (TQWidget* /TransferThis/ = 0, const char* = 0, KTimezones* = 0);
+ TQStringList selection () const;
+ void setSelected (const TQString&, bool);
+ static TQString displayName (const KTimezone*);
}; // class KTimezoneWidget
diff --git a/sip/tdeui/ktip.sip b/sip/tdeui/ktip.sip
index 82be08b..6c93bbb 100644
--- a/sip/tdeui/ktip.sip
+++ b/sip/tdeui/ktip.sip
@@ -32,13 +32,13 @@ class KTipDatabase
public:
- KTipDatabase (const QString& = QString ::null );
+ KTipDatabase (const TQString& = TQString ::null );
%If ( KDE_3_2_0 - )
- KTipDatabase (const QStringList&);
+ KTipDatabase (const TQStringList&);
%End
- QString tip () const;
+ TQString tip () const;
void nextTip ();
void prevTip ();
@@ -55,26 +55,26 @@ class KTipDialog : KDialog
public:
%If ( KDE_3_1_0 - )
- KTipDialog (KTipDatabase*, QWidget* /TransferThis/ = 0, const char* = 0);
+ KTipDialog (KTipDatabase*, TQWidget* /TransferThis/ = 0, const char* = 0);
%End
- static void showTip (QWidget* /Transfer/, const QString& = QString ::null , bool = 0);
+ static void showTip (TQWidget* /Transfer/, const TQString& = TQString ::null , bool = 0);
%If ( KDE_3_2_0 - )
- static void showMultiTip (QWidget* /Transfer/, const QStringList&, bool = 0);
+ static void showMultiTip (TQWidget* /Transfer/, const TQStringList&, bool = 0);
%End
- static void showTip (const QString& = QString ::null , bool = 0);
+ static void showTip (const TQString& = TQString ::null , bool = 0);
static void setShowOnStart (bool);
protected:
- bool eventFilter (QObject*, QEvent*);
+ bool eventFilter (TQObject*, TQEvent*);
//igx virtual void virtual_hook (int, void*);
protected:
%If ( - KDE_3_1_0 )
- KTipDialog (KTipDatabase*, QWidget* /TransferThis/ = 0, const char* = 0);
+ KTipDialog (KTipDatabase*, TQWidget* /TransferThis/ = 0, const char* = 0);
%End
diff --git a/sip/tdeui/ktmainwindow.sip b/sip/tdeui/ktmainwindow.sip
index 90afbab..8c6374e 100644
--- a/sip/tdeui/ktmainwindow.sip
+++ b/sip/tdeui/ktmainwindow.sip
@@ -33,8 +33,8 @@ class KTMainWindow : KMainWindow
public:
KTMainWindow (const char* = 0, WFlags = WDestructiveClose);
- void setView (QWidget*, bool = 0);
- QWidget* view () const;
+ void setView (TQWidget*, bool = 0);
+ TQWidget* 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");
diff --git a/sip/tdeui/ktoolbar.sip b/sip/tdeui/ktoolbar.sip
index 74bdc9e..e36fe0b 100644
--- a/sip/tdeui/ktoolbar.sip
+++ b/sip/tdeui/ktoolbar.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KToolBarSeparator : QFrame
+class KToolBarSeparator : TQFrame
{
%TypeHeaderCode
#include <ktoolbar.h>
@@ -32,27 +32,27 @@ class KToolBarSeparator : QFrame
public:
- KToolBarSeparator (Orientation, bool, QToolBar* /TransferThis/, const char* = 0);
- QSize sizeHint () const;
+ KToolBarSeparator (Orientation, bool, TQToolBar* /TransferThis/, const char* = 0);
+ TQSize sizeHint () const;
Orientation orientation () const;
- QSizePolicy sizePolicy () const;
+ TQSizePolicy sizePolicy () const;
bool showLine () const;
public slots:
void setOrientation (Orientation);
protected:
- void styleChange (QStyle&);
+ void styleChange (TQStyle&);
%If ( KDE_3_2_0 - )
- void drawContents (QPainter*);
+ void drawContents (TQPainter*);
%End
}; // class KToolBarSeparator
-class KToolBar : QToolBar
+class KToolBar : TQToolBar
{
%TypeHeaderCode
#include <ktoolbar.h>
@@ -89,52 +89,52 @@ public:
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 );
+ KToolBar (TQWidget* /TransferThis/, const char* = 0, bool = 0, bool = 1);
+//ig KToolBar (TQMainWindow*, TQMainWindow::ToolBarDock, bool = 0, const char* = 0, bool = 0, bool = 1);
+ KToolBar (TQMainWindow*, TQWidget*, bool = 0, const char* = 0, bool = 0, bool = 1);
+ int insertButton (const TQString&, int, bool = 1, const TQString& = TQString ::null , int = -1, KInstance* = KGlobal ::instance ());
+ int insertButton (const TQString&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const TQString& = TQString ::null , int = -1, KInstance* = KGlobal ::instance ());
+ int insertButton (const TQPixmap&, int, bool = 1, const TQString& = TQString ::null , int = -1);
+ int insertButton (const TQPixmap&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const TQString& = TQString ::null , int = -1);
+ int insertButton (const TQString&, int, TQPopupMenu*, bool, const TQString&, int = -1);
+ int insertButton (const TQPixmap&, int, TQPopupMenu*, bool, const TQString&, int = -1);
+ int insertLined (const TQString&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const TQString& = TQString ::null , int = 70, int = -1);
+ int insertCombo (const TQStringList&, int, bool, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const TQString& = TQString ::null , int = 70, int = -1, TQComboBox::Policy = TQComboBox ::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 );
+ int insertCombo (const TQString&, int, bool, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, const TQString& = TQString ::null , int = 70, int = -1, TQComboBox::Policy = TQComboBox ::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);
+ int insertWidget (int, int, TQWidget*, int = -1);
+ int insertAnimatedWidget (int, SIP_RXOBJ_CON, SIP_SLOT_CON (int), const TQString&, 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 setButtonIcon (int, const TQString&);
+ void setButtonPixmap (int, const TQPixmap&);
+ void setButtonIconSet (int, const TQIconSet&);
+ void setDelayedPopup (int, TQPopupMenu*, 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 setLinedText (int, const TQString&);
+ TQString getLinedText (int);
+ void insertComboItem (int, const TQString&, int);
+ void insertComboList (int, const TQStringList&, int);
void removeComboItem (int, int);
void setCurrentComboItem (int, int);
- void changeComboItem (int, const QString&, int = -1);
+ void changeComboItem (int, const TQString&, int = -1);
void clearCombo (int);
- QString getComboItem (int, int = -1);
+ TQString getComboItem (int, int = -1);
KComboBox* getCombo (int);
KLineEdit* getLined (int);
KToolBarButton* getButton (int);
void alignItemRight (int, bool = 1);
- QWidget* getWidget (int);
+ TQWidget* getWidget (int);
void setItemAutoSized (int, bool = 1);
void clear ();
void removeItem (int);
@@ -161,7 +161,7 @@ public:
int maxHeight ();
void setMaxWidth (int);
int maxWidth ();
- void setTitle (const QString&);
+ void setTitle (const TQString&);
void enableFloating (bool);
void setIconText (KToolBar::IconText);
void setIconText (KToolBar::IconText, bool);
@@ -180,27 +180,27 @@ public:
void setFlat (bool);
int count ();
void saveState ();
- void saveSettings (KConfig*, const QString&);
+ void saveSettings (KConfig*, const TQString&);
%If ( KDE_3_3_0 - )
- void applySettings (KConfig*, const QString&, bool);
+ void applySettings (KConfig*, const TQString&, bool);
%End
- void applySettings (KConfig*, const QString&);
+ void applySettings (KConfig*, const TQString&);
void setXMLGUIClient (KXMLGUIClient*);
- void setText (const QString&);
- QString text () const;
- void setStretchableWidget (QWidget*);
- QSizePolicy sizePolicy () const;
+ void setText (const TQString&);
+ TQString text () const;
+ void setStretchableWidget (TQWidget*);
+ TQSizePolicy sizePolicy () const;
bool highlight () const;
- QSize sizeHint () const;
- QSize minimumSizeHint () const;
- QSize minimumSize () const;
+ TQSize sizeHint () const;
+ TQSize minimumSizeHint () const;
+ TQSize minimumSize () const;
void hide ();
void show ();
void updateRects (bool = 0);
- void loadState (const QDomElement&);
- void saveState (QDomElement&);
+ void loadState (const TQDomElement&);
+ void saveState (TQDomElement&);
void positionYourself (bool);
signals:
@@ -229,16 +229,16 @@ public:
public slots:
- virtual void setIconText (const QString&);
+ virtual void setIconText (const TQString&);
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;
+ void mousePressEvent (TQMouseEvent*);
+ void childEvent (TQChildEvent*);
+ void showEvent (TQShowEvent*);
+ void resizeEvent (TQResizeEvent*);
+ bool event (TQEvent*);
+ void applyAppearanceSettings (KConfig*, const TQString&, bool = 0);
+ TQString settingsGroup () const;
protected:
//igx virtual void virtual_hook (int, void*);
@@ -246,7 +246,7 @@ protected:
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 );
+ int insertCombo (const TQString&, int, bool, const char*, TQObject*, const char*, bool = 1, const TQString& = TQString ::null , int = 70, int = -1, TQComboBox::Policy = TQComboBox ::AtBottom );
%End
diff --git a/sip/tdeui/ktoolbarbutton.sip b/sip/tdeui/ktoolbarbutton.sip
index e451f70..8fdfbe4 100644
--- a/sip/tdeui/ktoolbarbutton.sip
+++ b/sip/tdeui/ktoolbarbutton.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KToolBarButton : QToolButton
+class KToolBarButton : TQToolButton
{
%TypeHeaderCode
#include <ktoolbarbutton.h>
@@ -32,34 +32,34 @@ class KToolBarButton : QToolButton
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&);
+ KToolBarButton (const TQString&, int, TQWidget* /TransferThis/, const char* = 0, const TQString& = TQString ::null , KInstance* = KGlobal ::instance ());
+ KToolBarButton (const TQPixmap&, int, TQWidget* /TransferThis/, const char* = 0, const TQString& = TQString ::null );
+ KToolBarButton (TQWidget* /TransferThis/ = 0, const char* = 0);
+ virtual void setPixmap (const TQPixmap&);
+ void setDefaultPixmap (const TQPixmap&);
+ void setDisabledPixmap (const TQPixmap&);
+ virtual void setText (const TQString&);
+ virtual void setIcon (const TQString&);
%If ( KDE_3_0_1 - )
- virtual void setIcon (const QPixmap&);
+ virtual void setIcon (const TQPixmap&);
%End
- virtual void setIconSet (const QIconSet&);
- void setIcon (const QString&, bool);
- void setDefaultIcon (const QString&);
- void setDisabledIcon (const QString&);
+ virtual void setIconSet (const TQIconSet&);
+ void setIcon (const TQString&, bool);
+ void setDefaultIcon (const TQString&);
+ void setDisabledIcon (const TQString&);
void on (bool = 1);
void toggle ();
void setToggle (bool = 1);
- QPopupMenu* popup ();
+ TQPopupMenu* popup ();
%If ( KDE_3_2_0 - )
int id () const;
%End
- void setPopup (QPopupMenu*, bool);
- void setDelayedPopup (QPopupMenu*, bool = 0);
+ void setPopup (TQPopupMenu*, bool);
+ void setDelayedPopup (TQPopupMenu*, bool = 0);
void setRadio (bool = 1);
void setNoStyle (bool = 1);
@@ -67,7 +67,7 @@ signals:
void clicked (int);
%If ( KDE_3_4_2 - )
- void buttonClicked (int, Qt::ButtonState);
+ void buttonClicked (int, TQt::ButtonState);
%End
void doubleClicked (int);
@@ -78,29 +78,29 @@ signals:
public slots:
void modeChange ();
- virtual void setTextLabel (const QString&, bool);
+ virtual void setTextLabel (const TQString&, bool);
protected:
%If ( KDE_3_5_0 - )
- bool event (QEvent*);
+ bool event (TQEvent*);
%End
- void paletteChange (const QPalette&);
- void leaveEvent (QEvent*);
- void enterEvent (QEvent*);
- void drawButton (QPainter*);
- bool eventFilter (QObject*, QEvent*);
+ void paletteChange (const TQPalette&);
+ void leaveEvent (TQEvent*);
+ void enterEvent (TQEvent*);
+ void drawButton (TQPainter*);
+ bool eventFilter (TQObject*, TQEvent*);
%If ( KDE_3_4_2 - )
- void mousePressEvent (QMouseEvent*);
- void mouseReleaseEvent (QMouseEvent*);
+ void mousePressEvent (TQMouseEvent*);
+ void mouseReleaseEvent (TQMouseEvent*);
%End
void showMenu ();
- QSize sizeHint () const;
- QSize minimumSizeHint () const;
- QSize minimumSize () const;
+ TQSize sizeHint () const;
+ TQSize minimumSizeHint () const;
+ TQSize minimumSize () const;
%If ( KDE_3_0_1 - )
bool isRaised () const;
diff --git a/sip/tdeui/ktoolbarlabelaction.sip b/sip/tdeui/ktoolbarlabelaction.sip
index e196cbf..fe7c9dc 100644
--- a/sip/tdeui/ktoolbarlabelaction.sip
+++ b/sip/tdeui/ktoolbarlabelaction.sip
@@ -34,13 +34,13 @@ class KToolBarLabelAction : KWidgetAction
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;
+ KToolBarLabelAction (const TQString&, const KShortcut&, const TQObject*, const char*, KActionCollection* /TransferThis/, const char*);
+ KToolBarLabelAction (TQWidget*, const TQString&, const KShortcut&, const TQObject*, const char*, KActionCollection* /TransferThis/, const char*);
+ KToolBarLabelAction (TQLabel*, const KShortcut&, const TQObject*, const char*, KActionCollection* /TransferThis/, const char*);
+ virtual void setText (const TQString&);
+ virtual void setBuddy (TQWidget*);
+ TQWidget* buddy () const;
+ TQLabel* label () const;
protected:
virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/ktoolbarradiogroup.sip b/sip/tdeui/ktoolbarradiogroup.sip
index 37515b9..52f20d6 100644
--- a/sip/tdeui/ktoolbarradiogroup.sip
+++ b/sip/tdeui/ktoolbarradiogroup.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KToolBarRadioGroup : QObject
+class KToolBarRadioGroup : TQObject
{
%TypeHeaderCode
#include <ktoolbarradiogroup.h>
diff --git a/sip/tdeui/kurllabel.sip b/sip/tdeui/kurllabel.sip
index f1bb990..46ef71d 100644
--- a/sip/tdeui/kurllabel.sip
+++ b/sip/tdeui/kurllabel.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KURLLabel : QLabel
+class KURLLabel : TQLabel
{
%TypeHeaderCode
#include <kurllabel.h>
@@ -32,22 +32,22 @@ class KURLLabel : QLabel
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;
+ KURLLabel (TQWidget* /TransferThis/ = 0, const char* = 0);
+ KURLLabel (const TQString&, const TQString& = TQString ::null , TQWidget* /TransferThis/ = 0, const char* = 0);
+ const TQString& url () const;
+ const TQString& tipText () const;
bool useTips () const;
bool useCursor () const;
bool isGlowEnabled () const;
bool isFloatEnabled () const;
- const QPixmap* altPixmap () const;
+ const TQPixmap* altPixmap () const;
%If ( KDE_3_5_1 - )
virtual void setMargin (int);
virtual void setFocusPolicy (FocusPolicy);
%If ( KDE_3_5_2 - )
- virtual void setSizePolicy (QSizePolicy);
+ virtual void setSizePolicy (TQSizePolicy);
%End
%End
@@ -55,47 +55,47 @@ public:
public slots:
void setUnderline (bool = 1);
- void setURL (const QString&);
- virtual void setFont (const QFont&);
+ void setURL (const TQString&);
+ virtual void setFont (const TQFont&);
void setUseTips (bool = 1);
- void setTipText (const QString&);
- void setHighlightedColor (const QColor&);
- void setHighlightedColor (const QString&);
- void setSelectedColor (const QColor&);
- void setSelectedColor (const QString&);
+ void setTipText (const TQString&);
+ void setHighlightedColor (const TQColor&);
+ void setHighlightedColor (const TQString&);
+ void setSelectedColor (const TQColor&);
+ void setSelectedColor (const TQString&);
%If ( KDE_3_5_1 - )
- virtual void setCursor (const QCursor&);
+ virtual void setCursor (const TQCursor&);
virtual void unsetCursor ();
%End
- void setUseCursor (bool, QCursor* = 0);
+ void setUseCursor (bool, TQCursor* = 0);
void setGlow (bool = 1);
void setFloat (bool = 1);
- void setAltPixmap (const QPixmap&);
+ void setAltPixmap (const TQPixmap&);
signals:
- void enteredURL (const QString&);
+ void enteredURL (const TQString&);
void enteredURL ();
- void leftURL (const QString&);
+ void leftURL (const TQString&);
void leftURL ();
- void leftClickedURL (const QString&);
+ void leftClickedURL (const TQString&);
void leftClickedURL ();
- void rightClickedURL (const QString&);
+ void rightClickedURL (const TQString&);
void rightClickedURL ();
- void middleClickedURL (const QString&);
+ void middleClickedURL (const TQString&);
void middleClickedURL ();
protected:
- virtual void mouseReleaseEvent (QMouseEvent*);
- virtual void enterEvent (QEvent*);
- virtual void leaveEvent (QEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void enterEvent (TQEvent*);
+ virtual void leaveEvent (TQEvent*);
%If ( KDE_3_2_0 - )
- virtual bool event (QEvent*);
+ virtual bool event (TQEvent*);
%If ( KDE_3_5_1 - )
- QRect activeRect () const;
+ TQRect activeRect () const;
%End
%End
diff --git a/sip/tdeui/kwizard.sip b/sip/tdeui/kwizard.sip
index b9f7b30..c339c39 100644
--- a/sip/tdeui/kwizard.sip
+++ b/sip/tdeui/kwizard.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KWizard : QWizard
+class KWizard : TQWizard
{
%TypeHeaderCode
#include <kwizard.h>
@@ -32,7 +32,7 @@ class KWizard : QWizard
public:
- KWizard (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, WFlags = 0);
+ KWizard (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, WFlags = 0);
}; // class KWizard
diff --git a/sip/tdeui/kwordwrap.sip b/sip/tdeui/kwordwrap.sip
index 4909f98..ddaa82b 100644
--- a/sip/tdeui/kwordwrap.sip
+++ b/sip/tdeui/kwordwrap.sip
@@ -43,17 +43,17 @@ public:
%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;
+ static KWordWrap* formatText (TQFontMetrics&, const TQRect&, int, const TQString&, int = -1);
+ TQRect boundingRect () const;
+ TQString wrappedString () const;
+ TQString truncatedString (bool = 1) const;
+ void drawText (TQPainter*, int, int, int = TQt ::AlignAuto ) const;
%If ( KDE_3_2_0 - )
- static void drawFadeoutText (QPainter*, int, int, int, const QString&);
+ static void drawFadeoutText (TQPainter*, int, int, int, const TQString&);
%If ( KDE_3_3_0 - )
- static void drawTruncateText (QPainter*, int, int, int, const QString&);
+ static void drawTruncateText (TQPainter*, int, int, int, const TQString&);
%End
%End
@@ -62,7 +62,7 @@ public:
%If ( KDE_3_2_0 - )
private:
- KWordWrap (const QRect&);
+ KWordWrap (const TQRect&);
%End
diff --git a/sip/tdeui/kxmlguibuilder.sip b/sip/tdeui/kxmlguibuilder.sip
index 4972c49..a5b48e5 100644
--- a/sip/tdeui/kxmlguibuilder.sip
+++ b/sip/tdeui/kxmlguibuilder.sip
@@ -32,18 +32,18 @@ class KXMLGUIBuilder
public:
- KXMLGUIBuilder (QWidget*);
+ KXMLGUIBuilder (TQWidget*);
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);
+ TQWidget* widget ();
+ virtual TQStringList containerTags () const;
+//ig virtual TQWidget* createContainer (TQWidget* /Transfer/, int, const TQDomElement&, int&);
+ virtual void removeContainer (TQWidget*, TQWidget* /Transfer/, TQDomElement&, int);
+ virtual TQStringList customTags () const;
+ virtual int createCustomElement (TQWidget* /Transfer/, int, const TQDomElement&);
+ virtual void removeCustomElement (TQWidget* /Transfer/, int);
virtual void finalizeGUI (KXMLGUIClient*);
protected:
diff --git a/sip/tdeui/kxmlguiclient.sip b/sip/tdeui/kxmlguiclient.sip
index 6479093..800801a 100644
--- a/sip/tdeui/kxmlguiclient.sip
+++ b/sip/tdeui/kxmlguiclient.sip
@@ -35,28 +35,28 @@ public:
KXMLGUIClient ();
KXMLGUIClient (KXMLGUIClient* /TransferThis/);
KAction* action (const char*) const;
- virtual KAction* action (const QDomElement&) const;
+ virtual KAction* action (const TQDomElement&) 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;
+ virtual TQDomDocument domDocument () const;
+ virtual TQString xmlFile () const;
+ virtual TQString localXMLFile () const;
+ void setXMLGUIBuildDocument (const TQDomDocument&);
+ TQDomDocument xmlguiBuildDocument () const;
void setFactory (KXMLGUIFactory*);
KXMLGUIFactory* factory () const;
KXMLGUIClient* parentClient () const;
void insertChildClient (KXMLGUIClient*);
void removeChildClient (KXMLGUIClient*);
- const QPtrList<KXMLGUIClient>* childClients ();
+ const TQPtrList<KXMLGUIClient>* childClients ();
void setClientBuilder (KXMLGUIBuilder*);
KXMLGUIBuilder* clientBuilder () const;
void reloadXML ();
- void plugActionList (const QString&, const QPtrList<KAction>&);
- void unplugActionList (const QString&);
- static QString findMostRecentXMLFile (const QStringList&, QString&);
- void addStateActionEnabled (const QString&, const QString&);
- void addStateActionDisabled (const QString&, const QString&);
+ void plugActionList (const TQString&, const TQPtrList<KAction>&);
+ void unplugActionList (const TQString&);
+ static TQString findMostRecentXMLFile (const TQStringList&, TQString&);
+ void addStateActionEnabled (const TQString&, const TQString&);
+ void addStateActionDisabled (const TQString&, const TQString&);
enum ReverseStateChange
{
@@ -69,30 +69,30 @@ public:
{
public:
- QStringList actionsToEnable;
- QStringList actionsToDisable;
+ TQStringList actionsToEnable;
+ TQStringList actionsToDisable;
}; // class StateChange
public:
- KXMLGUIClient::StateChange getActionsToChangeForState (const QString&);
+ KXMLGUIClient::StateChange getActionsToChangeForState (const TQString&);
%If ( KDE_3_1_0 - )
- void beginXMLPlug (QWidget*);
+ void beginXMLPlug (TQWidget*);
void endXMLPlug ();
- void prepareXMLUnplug (QWidget*);
+ void prepareXMLUnplug (TQWidget*);
%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 setXMLFile (const TQString&, bool = 0, bool = 1);
+ virtual void setLocalXMLFile (const TQString&);
+ virtual void setXML (const TQString&, bool = 0);
+ virtual void setDOMDocument (const TQDomDocument&, bool = 0);
virtual void conserveMemory ();
- virtual void stateChanged (const QString&, KXMLGUIClient::ReverseStateChange = StateNoReverse );
+ virtual void stateChanged (const TQString&, KXMLGUIClient::ReverseStateChange = StateNoReverse );
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/tdeui/kxmlguifactory.sip b/sip/tdeui/kxmlguifactory.sip
index 681ced4..0f39344 100644
--- a/sip/tdeui/kxmlguifactory.sip
+++ b/sip/tdeui/kxmlguifactory.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KXMLGUIFactory : QObject
+class KXMLGUIFactory : TQObject
{
%TypeHeaderCode
#include <kxmlguifactory.h>
@@ -32,28 +32,28 @@ class KXMLGUIFactory : QObject
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&);
+ KXMLGUIFactory (KXMLGUIBuilder*, TQObject* /TransferThis/ = 0, const char* = 0);
+ static TQString readConfigFile (const TQString&, bool, const KInstance* = 0);
+ static TQString readConfigFile (const TQString&, const KInstance* = 0);
+ static bool saveConfigFile (const TQDomDocument&, const TQString&, const KInstance* = 0);
+ static TQString documentToXML (const TQDomDocument&);
+ static TQString elementToXML (const TQDomElement&);
+ static void removeDOMComments (TQDomNode&);
%If ( KDE_3_3_0 - )
- static QDomElement actionPropertiesElement (QDomDocument&);
- static QDomElement findActionByName (QDomElement&, const QString&, bool);
+ static TQDomElement actionPropertiesElement (TQDomDocument&);
+ static TQDomElement findActionByName (TQDomElement&, const TQString&, bool);
%End
void addClient (KXMLGUIClient*);
void removeClient (KXMLGUIClient*);
- void plugActionList (KXMLGUIClient*, const QString&, const QPtrList<KAction>&);
- void unplugActionList (KXMLGUIClient*, const QString&);
- QPtrList<KXMLGUIClient> clients () const;
- QWidget* container (const QString&, KXMLGUIClient*, bool = 0);
- QPtrList<QWidget> containers (const QString&);
+ void plugActionList (KXMLGUIClient*, const TQString&, const TQPtrList<KAction>&);
+ void unplugActionList (KXMLGUIClient*, const TQString&);
+ TQPtrList<KXMLGUIClient> clients () const;
+ TQWidget* container (const TQString&, KXMLGUIClient*, bool = 0);
+ TQPtrList<TQWidget> containers (const TQString&);
void reset ();
- void resetContainer (const QString&, bool = 0);
+ void resetContainer (const TQString&, bool = 0);
public slots:
@@ -72,10 +72,10 @@ protected:
}; // class KXMLGUIFactory
//force
-QPtrList<KAction> testKActionList (QPtrList<KAction>);
+TQPtrList<KAction> testKActionList (TQPtrList<KAction>);
%MethodCode
-//takes list | (QPtrList<KAction>)
-//returns (QPtrList<KAction>)
+//takes list | (TQPtrList<KAction>)
+//returns (TQPtrList<KAction>)
sipRes = a0;
%End
@@ -83,7 +83,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>);
//end
-%MappedType QPtrList<KAction>
+%MappedType TQPtrList<KAction>
//converts a Python list of KAction
{
%TypeHeaderCode
@@ -104,7 +104,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>);
// Get it.
- QPtrList<KAction> *cpplist = (QPtrList<KAction> *)sipCpp;
+ TQPtrList<KAction> *cpplist = (TQPtrList<KAction> *)sipCpp;
KAction *cpp;
PyObject *inst;
@@ -126,7 +126,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>);
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KAction> *cpplist = new QPtrList<KAction>;
+ TQPtrList<KAction> *cpplist = new TQPtrList<KAction>;
PyObject *elem;
KAction *cpp;
@@ -154,7 +154,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>);
};
-%MappedType QPtrList<KXMLGUIClient>
+%MappedType TQPtrList<KXMLGUIClient>
//converts a Python list of KXMLGUIClient
{
%TypeHeaderCode
@@ -175,7 +175,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>);
// Get it.
- QPtrList<KXMLGUIClient> *cpplist = (QPtrList<KXMLGUIClient> *)sipCpp;
+ TQPtrList<KXMLGUIClient> *cpplist = (TQPtrList<KXMLGUIClient> *)sipCpp;
KXMLGUIClient *cpp;
PyObject *inst;
@@ -197,7 +197,7 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>);
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KXMLGUIClient> *cpplist = new QPtrList<KXMLGUIClient>;
+ TQPtrList<KXMLGUIClient> *cpplist = new TQPtrList<KXMLGUIClient>;
PyObject *elem;
KXMLGUIClient *cpp;
@@ -225,8 +225,8 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>);
};
-%MappedType QPtrList<QWidget>
-//converts a Python list of QWidget
+%MappedType TQPtrList<TQWidget>
+//converts a Python list of TQWidget
{
%TypeHeaderCode
#include <qptrlist.h>
@@ -245,8 +245,8 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>);
// Get it.
- QPtrList<QWidget> *cpplist = (QPtrList<QWidget> *)sipCpp;
- QWidget *cpp;
+ TQPtrList<TQWidget> *cpplist = (TQPtrList<TQWidget> *)sipCpp;
+ TQWidget *cpp;
PyObject *inst;
// the loop depends on the type of iterator the tmeplate makes available
@@ -267,16 +267,16 @@ QPtrList<KAction> testKActionList (QPtrList<KAction>);
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<QWidget> *cpplist = new QPtrList<QWidget>;
+ TQPtrList<TQWidget> *cpplist = new TQPtrList<TQWidget>;
PyObject *elem;
- QWidget *cpp;
+ TQWidget *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (QWidget *)sipForceConvertToType(elem, sipType_QWidget, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TQWidget *)sipForceConvertToType(elem, sipType_QWidget, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
diff --git a/sip/tdeui/qxembed.sip b/sip/tdeui/qxembed.sip
index d091384..3b198a8 100644
--- a/sip/tdeui/qxembed.sip
+++ b/sip/tdeui/qxembed.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class QXEmbed : QWidget
+class TQXEmbed : TQWidget
{
%TypeHeaderCode
#include <qxembed.h>
@@ -32,7 +32,7 @@ class QXEmbed : QWidget
public:
- QXEmbed (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
+ TQXEmbed (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
static void initialize ();
%If ( KDE_3_1_1 - )
@@ -43,17 +43,17 @@ public:
XPLAIN
};
- void setProtocol (QXEmbed::Protocol);
- QXEmbed::Protocol protocol ();
+ void setProtocol (TQXEmbed::Protocol);
+ TQXEmbed::Protocol protocol ();
%End
void embed (WId);
WId embeddedWinId () const;
- static void embedClientIntoWindow (QWidget*, WId);
- static bool processClientCmdline (QWidget*, SIP_PYLIST) [bool (QWidget*, int&, char**)];
+ static void embedClientIntoWindow (TQWidget*, WId);
+ static bool processClientCmdline (TQWidget*, SIP_PYLIST) [bool (TQWidget*, int&, char**)];
%MethodCode
//returns (bool)
-//takes client | (QWidget) | argv | (a Python list of strings which may be modified)
+//takes client | (TQWidget) | argv | (a Python list of strings which may be modified)
//returns
//takes list (a Python list of strings) | index (int)
@@ -65,11 +65,11 @@ public:
char **strings;
- if ((strings = (char **)PyQtListToArray(a1)) == NULL)
+ if ((strings = (char **)PyTQtListToArray(a1)) == NULL)
return NULL;
Py_BEGIN_ALLOW_THREADS
- sipRes = QXEmbed::processClientCmdline (a0, n, strings);
+ sipRes = TQXEmbed::processClientCmdline (a0, n, strings);
Py_END_ALLOW_THREADS
sipFree((ANY *)strings);
@@ -82,15 +82,15 @@ public:
void setAutoDelete (bool);
bool autoDelete () const;
- QSize sizeHint () const;
- QSize minimumSizeHint () const;
- QSizePolicy sizePolicy () const;
- bool eventFilter (QObject*, QEvent*);
+ TQSize sizeHint () const;
+ TQSize minimumSizeHint () const;
+ TQSizePolicy sizePolicy () const;
+ bool eventFilter (TQObject*, TQEvent*);
bool customWhatsThis () const;
void enterWhatsThisMode ();
%If ( KDE_3_2_0 - )
- virtual void reparent (QWidget* /Transfer/, WFlags, const QPoint&, bool = 0);
+ virtual void reparent (TQWidget* /Transfer/, WFlags, const TQPoint&, bool = 0);
%End
@@ -98,16 +98,16 @@ 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*);
+ bool event (TQEvent*);
+ void keyPressEvent (TQKeyEvent*);
+ void keyReleaseEvent (TQKeyEvent*);
+ void focusInEvent (TQFocusEvent*);
+ void focusOutEvent (TQFocusEvent*);
+ void resizeEvent (TQResizeEvent*);
+ void showEvent (TQShowEvent*);
//ig bool x11Event (XEvent*);
virtual void windowChanged (WId);
bool focusNextPrevChild (bool);
-}; // class QXEmbed
+}; // class TQXEmbed
diff --git a/sip/tdeui/twindowinfo.sip b/sip/tdeui/twindowinfo.sip
index 7bdceea..1e95200 100644
--- a/sip/tdeui/twindowinfo.sip
+++ b/sip/tdeui/twindowinfo.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_1_0 - )
-class KWindowInfo : QObject
+class KWindowInfo : TQObject
{
%TypeHeaderCode
#include <twindowinfo.h>
@@ -34,22 +34,22 @@ class KWindowInfo : QObject
public:
- KWindowInfo (QWidget* /TransferThis/, const char* = 0);
+ KWindowInfo (TQWidget* /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);
+ static void showMessage (TQWidget*, const TQString&, int = -1);
+ static void showMessage (TQWidget*, const TQString&, const TQPixmap&, 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&);
+ void message (const TQString&);
+ void message (const TQString&, const TQPixmap&);
+ void message (const TQString&, int);
+ void message (const TQString&, const TQPixmap&, int);
+ void permanent (const TQString&);
+ void permanent (const TQString&, const TQPixmap&);
protected:
- virtual void display (const QString&, const QPixmap&);
+ virtual void display (const TQString&, const TQPixmap&);
protected slots:
virtual void save ();
diff --git a/sip/tdeui/twindowlistmenu.sip b/sip/tdeui/twindowlistmenu.sip
index e0e3248..5ca22ef 100644
--- a/sip/tdeui/twindowlistmenu.sip
+++ b/sip/tdeui/twindowlistmenu.sip
@@ -32,7 +32,7 @@ class KWindowListMenu : KPopupMenu
public:
- KWindowListMenu (QWidget* /TransferThis/ = 0, const char* = 0);
+ KWindowListMenu (TQWidget* /TransferThis/ = 0, const char* = 0);
void init ();
public slots: