[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/network/choqok/libchoqok/ui
From: Mehrdad Momeny <mehrdad.momeny () gmail ! com>
Date: 2010-03-23 17:45:57
Message-ID: 20100323174557.E5AD5AC873 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1106699 by momeny:
Ctrl+P shortcut removed and it's function merged with Ctrl+Z
M +4 -5 choqoktextedit.cpp
--- trunk/extragear/network/choqok/libchoqok/ui/choqoktextedit.cpp #1106698:1106699
@@ -49,8 +49,7 @@
kDebug()<<charLimit;
connect( this, SIGNAL( textChanged() ), this, SLOT( updateRemainingCharsCount() \
) ); setAcceptRichText( false );
- this->setToolTip( i18n( "<strong>Note:</strong><br/><em>Ctrl+P</em> to have the \
previous submitted text.<br/>\
- <em>Ctrl+S</em> to enable/disable auto spell checker." ) );
+ this->setToolTip( i18n( "<strong>Note:</strong><br/><em>Ctrl+S</em> to \
enable/disable auto spell checker." ) );
QFont counterF;
counterF.setBold( true );
@@ -84,9 +83,9 @@
} else if ( e->modifiers() == Qt::ControlModifier && e->key() == Qt::Key_S ) {
this->setCheckSpellingEnabled( !this->checkSpellingEnabled() );
e->accept();
- } else if ( e->modifiers() == Qt::ControlModifier && e->key() == Qt::Key_P ) {
- QString tmp = this->toHtml();
- this->setHtml( tmp + ' ' + d->prevStr );
+ } else if ( e->modifiers() == Qt::ControlModifier && e->key() == Qt::Key_Z && \
toPlainText().isEmpty() ) { +// QString tmp = this->toHtml();
+ this->setText( d->prevStr );
e->accept();
} else if ( e->key() == Qt::Key_Escape ) {
if ( !this->toPlainText().isEmpty() ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic