diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/verifier.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/verifier.cpp')
-rw-r--r-- | kregexpeditor/verifier.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kregexpeditor/verifier.cpp b/kregexpeditor/verifier.cpp index 322db12..26c1a21 100644 --- a/kregexpeditor/verifier.cpp +++ b/kregexpeditor/verifier.cpp @@ -24,7 +24,7 @@ #include "verifier.h" -Verifier::Verifier( QWidget* parent, const char* name ) : QTextEdit( parent, name ) +Verifier::Verifier( TQWidget* parent, const char* name ) : TQTextEdit( parent, name ) /* QT_ANCHOR_DO_NOT_WORK: ,_current( 0 ) */ { _highlighter = 0; @@ -34,7 +34,7 @@ Verifier::Verifier( QWidget* parent, const char* name ) : QTextEdit( parent, nam /** Update text edit to show matches of regular expression */ -void Verifier::verify( const QString& reg ) +void Verifier::verify( const TQString& reg ) { if ( _highlighter ) { _highlighter->setRegExp( reg ); @@ -49,7 +49,7 @@ void Verifier::verify( const QString& reg ) void Verifier::clearRegexp() { if ( _highlighter ) { - _highlighter->setRegExp( QString::null ); + _highlighter->setRegExp( TQString::null ); _highlighter->rehighlight(); } } @@ -97,7 +97,7 @@ void Verifier::setMinimal( bool b ) // // void Verifier::gotoNum( int which ) // { -// QString anchor = QString::fromLatin1("match%1").arg(which); +// TQString anchor = TQString::fromLatin1("match%1").arg(which); // scrollToAnchor( anchor ); // _current = which; // emit currentChanged( _current ); |