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

List:       kde-commits
Subject:    [Konversation] ef5b917: Added support for automatic text on highlight
From:       Dario Abatianni <eisfuchs () tigress ! com>
Date:       2010-07-01 13:27:22
Message-ID: 20100701132723.01645BB55C6 () projects ! kde ! org
[Download RAW message or body]

commit ef5b9173c746cb3910defb07570045a4e2c6c6b2
Author: Dario Abatianni <eisfuchs@tigress.com>
Date:   Thu Mar 25 15:22:12 2004 +0000

    Added support for automatic text on highlight
    
    svn path=/trunk/kdeextragear-2/konversation/; revision=298531

diff --git a/konversation/statuspanel.cpp b/konversation/statuspanel.cpp
index 9442faa..8913581 100644
--- a/konversation/statuspanel.cpp
+++ b/konversation/statuspanel.cpp
@@ -52,7 +52,7 @@ StatusPanel::StatusPanel(QWidget* parent) :
 
   connect(getTextView(),SIGNAL (newText(const QString&,bool)),this,SLOT \
(newTextInView(const QString&,bool)) );  connect(getTextView(),SIGNAL \
                (sendFile()),this,SLOT (sendFileMenu()) );
-  connect(getTextView(),SIGNAL (autoText(const QString&)),this,SLOT \
(sendChannelText(const QString&)) ); +  connect(getTextView(),SIGNAL (autoText(const \
QString&)),this,SLOT (sendStatusText(const QString&)) );  
   connect(statusInput,SIGNAL (pageUp()),getTextView(),SLOT (pageUp()) );
   connect(statusInput,SIGNAL (pageDown()),getTextView(),SLOT (pageDown()) );
diff --git a/konversation/statuspanel.h b/konversation/statuspanel.h
index 9d0bd21..aa162a8 100644
--- a/konversation/statuspanel.h
+++ b/konversation/statuspanel.h
@@ -54,6 +54,7 @@ class StatusPanel : public ChatWindow
   protected slots:
     void sendFileMenu();
     void statusTextEntered();
+    void sendStatusText(const QString& line);
     // connected to IRCInput::textPasted() - used for large/multiline pastes
     void textPasted(QString text);
 
@@ -62,7 +63,6 @@ class StatusPanel : public ChatWindow
     bool awayState;
 
     void showEvent(QShowEvent* event);
-    void sendStatusText(QString line);
 
     QPushButton* nicknameButton;
     QLabel* awayLabel;


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

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