~carlos-mazieri/ubuntu-filemanager-app/model

« back to all changes in this revision

Viewing changes to folderlistmodel/trash/qtrashdir.cpp

  • Committer: carlos-mazieri
  • Date: 2014-05-24 11:44:38 UTC
  • Revision ID: carlos.mazieri@gmail.com-20140524114438-y3v8guja1snwmiy9
remade C++ UI

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
#endif
36
36
 
37
37
 
 
38
QTrashDir::QTrashDir() : m_userId(::getuid())
 
39
{
 
40
 
 
41
}
 
42
 
38
43
 
39
44
bool QTrashDir::validate(const QString &trashDir, bool create) const
40
45
{
320
325
}
321
326
 
322
327
 
323
 
bool QTrashDir:: suitableTrash(const QString &fullPathName, QTrashUtilInfo &fullInfo) const
 
328
bool QTrashDir::suitableTrash(const QString &fullPathName, QTrashUtilInfo &fullInfo) const
324
329
{
325
330
    fullInfo.setInfo(suitableTrash(fullPathName), fullPathName);
326
331
    return fullInfo.isValid();
328
333
 
329
334
 
330
335
 
331
 
 
332
 
 
333
 
QTrashDir::QTrashDir() : m_userId(::getuid())
334
 
{
335
 
 
336
 
}
337
 
 
338