23 #include "tdelibs_export.h"
77 static bool isSortByName(
const TQDir::SortSpec& sort ) {
78 return (sort & TQDir::Time) != TQDir::Time &&
79 (sort & TQDir::Size) != TQDir::Size;
82 static bool isSortBySize(
const TQDir::SortSpec& sort ) {
83 return (sort & TQDir::Size) == TQDir::Size;
86 static bool isSortByDate(
const TQDir::SortSpec& sort ) {
87 return (sort & TQDir::Time) == TQDir::Time;
90 static bool isSortDirsFirst(
const TQDir::SortSpec& sort ) {
91 return (sort & TQDir::DirsFirst) == TQDir::DirsFirst;
94 static bool isSortCaseInsensitive(
const TQDir::SortSpec& sort ) {
95 return (sort & TQDir::IgnoreCase) == TQDir::IgnoreCase;
100 static bool isDefaultView(
const FileView& view ) {
101 return (view & Default) == Default;
104 static bool isSimpleView(
const FileView& view ) {
105 return (view & Simple) == Simple;
108 static bool isDetailView(
const FileView& view ) {
109 return (view & Detail) == Detail;
112 static bool isSeparateDirs(
const FileView& view ) {
113 return (view & SeparateDirs) == SeparateDirs;
116 static bool isPreviewContents(
const FileView& view ) {
117 return (view & PreviewContents) == PreviewContents;
124 return (view & PreviewInfo) == PreviewInfo;
KFile is a class which provides a namespace for some enumerated values associated with the tdefile li...
Mode
Modes of operation for the dialog.
static bool isPreviewInfo(const FileView &view)