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

List:       kde-commits
Subject:    kdevelop/parts/qeditor
From:       Harald Fernengel <harry () kdevelop ! org>
Date:       2003-07-16 20:48:03
[Download RAW message or body]

CVS commit by harald: 

notify gideon if the status of the file has changed


  M +3 -1      qeditor_part.cpp   1.51
  M +2 -1      qeditor_part.h   1.26
  M +3 -1      qeditor_view.cpp   1.42
  M +2 -1      qeditor_view.h   1.26


--- kdevelop/parts/qeditor/qeditor_part.cpp  #1.50:1.51
@@ -168,4 +168,6 @@ void QEditorPart::setModified(bool modif
     else
         save->setEnabled(false);
+
+    emit newStatus();
 }
 

--- kdevelop/parts/qeditor/qeditor_part.h  #1.25:1.26
@@ -314,4 +314,5 @@ public:
 signals:
     void textChanged ();
+    void newStatus ();
     void charactersInteractivelyInserted(int ,int ,const QString&);
 

--- kdevelop/parts/qeditor/qeditor_view.cpp  #1.41:1.42
@@ -100,4 +100,6 @@ QEditorView::QEditorView( QEditorPart* d
     connect( m_editor, SIGNAL(textChanged()),
              doc(), SIGNAL(textChanged()) );
+    connect( doc(), SIGNAL(newStatus()),
+             this, SIGNAL(newStatus()) );
     connect( m_editor, SIGNAL(selectionChanged()),
              doc(), SIGNAL(selectionChanged()) );

--- kdevelop/parts/qeditor/qeditor_view.h  #1.25:1.26
@@ -283,4 +283,5 @@ public:
 signals:
     void needTextHint( int line, int column, QString& );
+    void newStatus();
 
 private:


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

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