summaryrefslogtreecommitdiffstats
path: root/sip/kutils/kfind.sip
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/kfind.sip
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'sip/kutils/kfind.sip')
-rw-r--r--sip/kutils/kfind.sip26
1 files changed, 13 insertions, 13 deletions
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 ();