• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdefile
 

tdeio/tdefile

Public Types | Static Public Member Functions | List of all members
KFile Class Reference

#include <tdefile.h>

Public Types

enum  Mode {
  File = 1 , Directory = 2 , Files = 4 , ExistingOnly = 8 ,
  LocalOnly = 16 , ModeMax = 65536
}
 
enum  FileView {
  Default = 0 , Simple = 1 , Detail = 2 , SeparateDirs = 4 ,
  PreviewContents = 8 , PreviewInfo = 16 , FileViewMax = 65536
}
 
enum  SelectionMode { Single = 1 , Multi = 2 , Extended = 4 , NoSelection = 8 }
 

Static Public Member Functions

static bool isSortByName (const TQDir::SortSpec &sort)
 
static bool isSortBySize (const TQDir::SortSpec &sort)
 
static bool isSortByDate (const TQDir::SortSpec &sort)
 
static bool isSortDirsFirst (const TQDir::SortSpec &sort)
 
static bool isSortCaseInsensitive (const TQDir::SortSpec &sort)
 
static bool isDefaultView (const FileView &view)
 
static bool isSimpleView (const FileView &view)
 
static bool isDetailView (const FileView &view)
 
static bool isSeparateDirs (const FileView &view)
 
static bool isPreviewContents (const FileView &view)
 
static bool isPreviewInfo (const FileView &view)
 

Detailed Description

KFile is a class which provides a namespace for some enumerated values associated with the tdefile library.

You will never need to construct a KFile object itself.

Definition at line 31 of file tdefile.h.

Member Enumeration Documentation

◆ FileView

enum KFile::FileView

Definition at line 51 of file tdefile.h.

◆ Mode

enum KFile::Mode

Modes of operation for the dialog.

  • File - Get a single file name from the user.
  • Directory - Get a directory name from the user.
  • Files - Get multiple file names from the user.
  • ExistingOnly - Never return a filename which does not exist yet
  • LocalOnly - Don't return remote filenames

Definition at line 42 of file tdefile.h.

◆ SelectionMode

enum KFile::SelectionMode

Definition at line 61 of file tdefile.h.

Member Function Documentation

◆ isDefaultView()

static bool KFile::isDefaultView ( const FileView &  view)
inlinestatic

Definition at line 100 of file tdefile.h.

◆ isDetailView()

static bool KFile::isDetailView ( const FileView &  view)
inlinestatic

Definition at line 108 of file tdefile.h.

◆ isPreviewContents()

static bool KFile::isPreviewContents ( const FileView &  view)
inlinestatic

Definition at line 116 of file tdefile.h.

◆ isPreviewInfo()

static bool KFile::isPreviewInfo ( const FileView &  view)
inlinestatic
Since
3.1

Definition at line 123 of file tdefile.h.

◆ isSeparateDirs()

static bool KFile::isSeparateDirs ( const FileView &  view)
inlinestatic

Definition at line 112 of file tdefile.h.

◆ isSimpleView()

static bool KFile::isSimpleView ( const FileView &  view)
inlinestatic

Definition at line 104 of file tdefile.h.

◆ isSortByDate()

static bool KFile::isSortByDate ( const TQDir::SortSpec &  sort)
inlinestatic

Definition at line 86 of file tdefile.h.

◆ isSortByName()

static bool KFile::isSortByName ( const TQDir::SortSpec &  sort)
inlinestatic

Definition at line 77 of file tdefile.h.

◆ isSortBySize()

static bool KFile::isSortBySize ( const TQDir::SortSpec &  sort)
inlinestatic

Definition at line 82 of file tdefile.h.

◆ isSortCaseInsensitive()

static bool KFile::isSortCaseInsensitive ( const TQDir::SortSpec &  sort)
inlinestatic

Definition at line 94 of file tdefile.h.

◆ isSortDirsFirst()

static bool KFile::isSortDirsFirst ( const TQDir::SortSpec &  sort)
inlinestatic

Definition at line 90 of file tdefile.h.


The documentation for this class was generated from the following file:
  • tdefile.h

tdeio/tdefile

Skip menu "tdeio/tdefile"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeio/tdefile

Skip menu "tdeio/tdefile"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdefile by doxygen 1.9.4
This website is maintained by Timothy Pearson.