[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeplasma-addons/applets/microblog
From:       Shantanu Tushar Jha <jhahoneyk () gmail ! com>
Date:       2010-11-02 6:20:04
Message-ID: 20101102062004.EB581AC89B () svn ! kde ! org
[Download RAW message or body]

SVN commit 1192123 by shantanu:

Automatic group to hash tag conversion when re-denting.

http://svn.reviewboard.kde.org/r/5749/



 M  +3 -1      postwidget.cpp  


--- trunk/KDE/kdeplasma-addons/applets/microblog/postwidget.cpp #1192122:1192123
@@ -128,7 +128,9 @@
 
 void PostWidget::askForward()
 {
-    emit forward(QChar(0x267B) + QString(" @") + m_author->text() + ' ' + \
m_text->nativeWidget()->toPlainText()); +    //Change !abc to #abc when forwarding, \
good etiquette +    const QString forwardText = \
m_text->nativeWidget()->toPlainText().replace(QRegExp("\\!(\\w)"), "#\\1"); +    emit \
forward(QChar(0x267B) + QString(" @") + m_author->text() + ' ' + forwardText);  }
 
 void PostWidget::askProfile()


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic