kdevelop/parts/fileview

Andras Mantia amantia at freemail.hu
Wed Feb 5 14:04:02 UTC 2003


CVS commit by amantia: 

Nicer way to display the location of groupped files.

CCMAIL:kdevelop-devel at kdevelop.org


  M +4 -3      filegroupswidget.cpp   1.12


--- kdevelop/parts/fileview/filegroupswidget.cpp  #1.11:1.12
@@ -91,7 +91,8 @@ private:
 
 FileGroupsFileItem::FileGroupsFileItem(QListViewItem *parent, const QString &fileName)
-    : QListViewItem(parent, extractName(fileName) + " ["+ fileName +"]"), fullname(fileName)
+    : QListViewItem(parent, extractName(fileName)), fullname(fileName)
 {
     setPixmap(0, SmallIcon("document"));
+    setText(1, fileName);
 }
 
@@ -111,6 +112,6 @@ FileGroupsWidget::FileGroupsWidget(FileG
     setResizeMode(QListView::LastColumn);
     setSorting(-1);
-    header()->hide();
-    addColumn(QString::null);
+    addColumn(i18n("Name"));
+    addColumn(i18n("Location"));
 
     connect( this, SIGNAL(executed(QListViewItem*)),






More information about the KDevelop-devel mailing list