Maemo: Add simple widget for package configuration.

This commit is contained in:
ck
2010-04-26 14:10:26 +02:00
parent 797bc649ea
commit e112c6a9bf
7 changed files with 96 additions and 3 deletions

View File

@@ -70,5 +70,13 @@ QVariant MaemoPackageContents::data(const QModelIndex &index, int role) const
return index.column() == 0 ? d.localFilePath : d.remoteFilePath;
}
QVariant MaemoPackageContents::headerData(int section,
Qt::Orientation orientation, int role) const
{
if (orientation == Qt::Vertical || role != Qt::DisplayRole)
return QVariant();
return section == 0 ? tr("Local File Path") : tr("Remote File Path");
}
} // namespace Qt4ProjectManager
} // namespace Internal