diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /knotes/knoteedit.cpp | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knotes/knoteedit.cpp')
-rw-r--r-- | knotes/knoteedit.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/knotes/knoteedit.cpp b/knotes/knoteedit.cpp index 7b99254b0..d89cfd37e 100644 --- a/knotes/knoteedit.cpp +++ b/knotes/knoteedit.cpp @@ -149,7 +149,7 @@ KNoteEdit::KNoteEdit( KActionCollection *actions, TQWidget *parent, const char * connect( this, TQT_SIGNAL(currentColorChanged( const TQColor & )), this, TQT_SLOT(colorChanged( const TQColor & )) ); connect( this, TQT_SIGNAL(currentAlignmentChanged( int )), - this, TQT_SLOT(alignmentChanged( int )) ); + this, TQT_SLOT(tqalignmentChanged( int )) ); connect( this, TQT_SIGNAL(currentVerticalAlignmentChanged( VerticalAlignment )), this, TQT_SLOT(verticalAlignmentChanged( VerticalAlignment )) ); } @@ -219,7 +219,7 @@ void KNoteEdit::setTextFormat( TextFormat f ) TQString t = text(); KTextEdit::setTextFormat( f ); - // if the note contains html/xml source try to display it, otherwise + // if the note tqcontains 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 ); @@ -298,25 +298,25 @@ void KNoteEdit::textColor() void KNoteEdit::textAlignLeft() { - setAlignment( AlignLeft ); + tqsetAlignment( AlignLeft ); m_textAlignLeft->setChecked( true ); } void KNoteEdit::textAlignCenter() { - setAlignment( AlignCenter ); + tqsetAlignment( AlignCenter ); m_textAlignCenter->setChecked( true ); } void KNoteEdit::textAlignRight() { - setAlignment( AlignRight ); + tqsetAlignment( AlignRight ); m_textAlignRight->setChecked( true ); } void KNoteEdit::textAlignBlock() { - setAlignment( AlignJustify ); + tqsetAlignment( AlignJustify ); m_textAlignBlock->setChecked( true ); } @@ -409,7 +409,7 @@ void KNoteEdit::colorChanged( const TQColor &c ) m_textColor->setIconSet( pix ); } -void KNoteEdit::alignmentChanged( int a ) +void KNoteEdit::tqalignmentChanged( int a ) { // TODO: AlignAuto if ( ( a == AlignAuto ) || ( a & AlignLeft ) ) @@ -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 contains at least one non whitespace character + // It is assumed that string tqcontains at least one non whitespace character // ie \n \r \t \v \f and space TQString indentString; |