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

List:       kde-commits
Subject:    kdeutils/kedit
From:       Carsten Pfeiffer <carpdjih () mailbox ! tu-berlin ! de>
Date:       2003-05-28 19:06:14
[Download RAW message or body]

CVS commit by pfeiffer: 

show the modification status in the caption


  M +4 -2      kedit.cpp   1.178


--- kdeutils/kedit/kedit.cpp  #1.177:1.178
@@ -119,4 +119,6 @@ void TopLevel::setupEditWidget()
   connect( eframe, SIGNAL(selectionChanged()),this,
      SLOT(slotSelectionChanged()));
+  connect( eframe, SIGNAL(modificationChanged( bool)),
+           SLOT(setFileCaption()));
 
 
@@ -904,5 +906,5 @@ void TopLevel::setFileCaption()
         m_caption += QString(" (%1)").arg(encoding);
   }
-  setCaption(m_caption);
+  setCaption(m_caption, eframe->isModified());
 }
 


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

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