diff options
Diffstat (limited to 'kmail/kmsearchpatternedit.cpp')
-rw-r--r-- | kmail/kmsearchpatternedit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/kmsearchpatternedit.cpp b/kmail/kmsearchpatternedit.cpp index 84005f2b7..55df4d5eb 100644 --- a/kmail/kmsearchpatternedit.cpp +++ b/kmail/kmsearchpatternedit.cpp @@ -86,7 +86,7 @@ void KMSearchRuleWidget::setHeadersOnly( bool headersOnly ) if (( currentText != "<message>") && ( currentText != "<body>")) - mRuleField->changeItem( TQString::fromAscii( currentText ), 0 ); + mRuleField->changeItem( TQString(TQString::fromAscii( currentText )), 0 ); else mRuleField->changeItem( TQString(), 0 ); } @@ -117,7 +117,7 @@ void KMSearchRuleWidget::initWidget() RuleWidgetHandlerManager::instance()->createWidgets( mFunctionStack, mValueStack, - this ); + TQT_TQOBJECT(this) ); // redirect focus to the header field combo box setFocusProxy( mRuleField ); @@ -392,14 +392,14 @@ void KMSearchRuleWidgetLister::regenerateRuleListFromWidgets() //============================================================================= KMSearchPatternEdit::KMSearchPatternEdit(TQWidget *tqparent, const char *name, bool headersOnly, bool absoluteDates ) - : TQGroupBox( 1/*columns*/, Horizontal, tqparent, name ) + : TQGroupBox( 1/*columns*/, Qt::Horizontal, tqparent, name ) { setTitle( i18n("Search Criteria") ); initLayout( headersOnly, absoluteDates ); } KMSearchPatternEdit::KMSearchPatternEdit(const TQString & title, TQWidget *tqparent, const char *name, bool headersOnly, bool absoluteDates) - : TQGroupBox( 1/*column*/, Horizontal, title, tqparent, name ) + : TQGroupBox( 1/*column*/, Qt::Horizontal, title, tqparent, name ) { initLayout( headersOnly, absoluteDates ); } |