summaryrefslogtreecommitdiffstats
path: root/sip/khtml
diff options
context:
space:
mode:
Diffstat (limited to 'sip/khtml')
-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
10 files changed, 235 insertions, 235 deletions
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 ();