summaryrefslogtreecommitdiffstats
path: root/sip/khtml/khtml_settings.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/khtml/khtml_settings.sip')
-rw-r--r--sip/khtml/khtml_settings.sip90
1 files changed, 45 insertions, 45 deletions
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)
{