- else if (item.isHidden()) {
- if(name.at(0) == '.') {
- if(data.size() > 1 && name.at(1).isLetter())
+ else if (item.isHidden()) {
+ if (name.at(0) == '.') {
+ if (name.size() > 1 && name.at(1).isLetter()) {
bool validCategory = false;
const QString str(name.toUpper());
const QChar* currA = str.unicode();
while (!currA->isNull() && !validCategory) {
bool validCategory = false;
const QString str(name.toUpper());
const QChar* currA = str.unicode();
while (!currA->isNull() && !validCategory) {
- else if (currA->isDigit())
- return i18nc("@title:group", "Others");
- else
+ } else if (currA->isDigit()) {
+ return i18nc("@title:group Name", others);
+ } else {
switch (index.column()) {
case KDirModel::Name: {
retVariant = data(index, KCategorizedSortFilterProxyModel::CategoryDisplayRole);
switch (index.column()) {
case KDirModel::Name: {
retVariant = data(index, KCategorizedSortFilterProxyModel::CategoryDisplayRole);
modifiedTime.setTime_t(item.time(KIO::UDSEntry::UDS_MODIFICATION_TIME));
modifiedTime = modifiedTime.toLocalZone();
modifiedTime.setTime_t(item.time(KIO::UDSEntry::UDS_MODIFICATION_TIME));
modifiedTime = modifiedTime.toLocalZone();
const DolphinModel* dolphinModel = static_cast<const DolphinModel*>(index.model());
KFileItem item = dolphinModel->itemForIndex(index);
if (!item.isNull()) {
const DolphinModel* dolphinModel = static_cast<const DolphinModel*>(index.model());
KFileItem item = dolphinModel->itemForIndex(index);
if (!item.isNull()) {
const DolphinModel* dolphinModel = static_cast<const DolphinModel*>(index.model());
KFileItem item = dolphinModel->itemForIndex(index);
if (!item.isNull()) {
const DolphinModel* dolphinModel = static_cast<const DolphinModel*>(index.model());
KFileItem item = dolphinModel->itemForIndex(index);
if (!item.isNull()) {
const QList<Nepomuk::Tag> tags = resource.tags();
QStringList stringList;
foreach (const Nepomuk::Tag& tag, tags) {
const QList<Nepomuk::Tag> tags = resource.tags();
QStringList stringList;
foreach (const Nepomuk::Tag& tag, tags) {