diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /knotes/knoteedit.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
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
Diffstat (limited to 'knotes/knoteedit.cpp')
-rw-r--r-- | knotes/knoteedit.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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; |