From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knotes/knoteedit.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'knotes/knoteedit.cpp') diff --git a/knotes/knoteedit.cpp b/knotes/knoteedit.cpp index d89cfd37e..2796c2975 100644 --- a/knotes/knoteedit.cpp +++ b/knotes/knoteedit.cpp @@ -36,8 +36,8 @@ static const short SEP = 5; static const short ICON_SIZE = 10; -KNoteEdit::KNoteEdit( KActionCollection *actions, TQWidget *parent, const char *name ) - : KTextEdit( parent, name ), m_note( 0 ) +KNoteEdit::KNoteEdit( KActionCollection *actions, TQWidget *tqparent, const char *name ) + : KTextEdit( tqparent, name ), m_note( 0 ) { setAcceptDrops( true ); setWordWrap( WidgetWidth ); @@ -117,7 +117,7 @@ KNoteEdit::KNoteEdit( KActionCollection *actions, TQWidget *parent, const char * m_textSuper->setExclusiveGroup( "valign" ); m_textSub->setExclusiveGroup( "valign" ); -// There is no easy possibility to implement text indenting with QTextEdit +// There is no easy possibility to implement text indenting with TQTextEdit // // m_textIncreaseIndent = new KAction( i18n("Increase Indent"), "format_increaseindent", 0, // this, TQT_SLOT(textIncreaseIndent()), @@ -219,7 +219,7 @@ void KNoteEdit::setTextFormat( TextFormat f ) TQString t = text(); KTextEdit::setTextFormat( f ); - // if the note tqcontains html/xml source try to display it, otherwise + // if the note contains html/xml source try to display it, otherwise // get the modified text again and set it to preserve newlines if ( TQStyleSheet::mightBeRichText( t ) ) setText( t ); @@ -451,7 +451,7 @@ void KNoteEdit::autoIndent() // This routine returns the whitespace before the first non white space // character in string. - // It is assumed that string tqcontains at least one non whitespace character + // It is assumed that string contains at least one non whitespace character // ie \n \r \t \v \f and space TQString indentString; -- cgit v1.2.1