[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_1_BRANCH: kdeutils/kedit
From: Carsten Pfeiffer <carpdjih () mailbox ! tu-berlin ! de>
Date: 2003-05-28 19:06:30
[Download RAW message or body]
CVS commit by pfeiffer:
show the modification status in the caption
M +4 -2 kedit.cpp 1.165.2.4
--- kdeutils/kedit/kedit.cpp #1.165.2.3:1.165.2.4
@@ -127,4 +127,6 @@ void TopLevel::setupEditWidget()
connect( eframe, SIGNAL(selectionChanged()),this,
SLOT(slotSelectionChanged()));
+ connect( eframe, SIGNAL(modificationChanged( bool)),
+ SLOT(setFileCaption()));
@@ -939,5 +941,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