Quark  0.1
RecentFile Class Reference

An object representing a recently opened file. More...

#include <RecentFile.h++>

Public Member Functions

 RecentFile (const QString &path)
 Constructs a new RecentFile with the specified file path. More...
 
 ~RecentFile ()
 Destructor. More...
 
QString getPath () const
 Returns the file path. More...
 
QString getFilename () const
 Returns the filename portion of the file path. More...
 
bool operator< (const RecentFile &other) const
 Comparison operator. More...
 

Detailed Description

An object representing a recently opened file.

See RecentFileTableModel and RecentFileTableModelMenuAdapter.

Author
Mark Lindner

Constructor & Destructor Documentation

◆ RecentFile()

RecentFile ( const QString &  path)
explicit

Constructs a new RecentFile with the specified file path.

◆ ~RecentFile()

~RecentFile ( )

Destructor.

Member Function Documentation

◆ getFilename()

QString getFilename ( ) const
inline

Returns the filename portion of the file path.

◆ getPath()

QString getPath ( ) const
inline

Returns the file path.

◆ operator<()

bool operator< ( const RecentFile other) const

Comparison operator.


The documentation for this class was generated from the following file: