summaryrefslogtreecommitdiffstats
path: root/sip/kutils
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-03 22:23:44 -0600
committerTimothy Pearson <[email protected]>2011-12-03 22:23:44 -0600
commit203ba231d0276943aae36111f9ec1e949f3c6a4c (patch)
treef039f7a5b5fc2da88a96876971bac580d87f6788 /sip/kutils
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'sip/kutils')
-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
11 files changed, 126 insertions, 126 deletions
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