DocLnk Class Reference
The DocLnk class represents loaded document references. More...
#include <applnk.h>
Inheritance diagram for DocLnk:


Public Member Functions | |
| DocLnk () | |
| DocLnk (const DocLnk &o) | |
| DocLnk (const QString &file) | |
| DocLnk (const QString &file, bool may_be_desktopfile) | |
| virtual | ~DocLnk () |
| QString | exec () const |
Protected Member Functions | |
| void | invoke (const QStringList &args) const |
Detailed Description
The DocLnk class represents loaded document references.
Definition at line 122 of file applnk.h.
Constructor & Destructor Documentation
|
|
Constructs an invalid DocLnk. Definition at line 1455 of file applnk.cpp. |
|
|
Copies o. |
|
|
Constructs a DocLnk from a valid .desktop file or a new .desktop file for other files. Definition at line 1403 of file applnk.cpp. |
|
||||||||||||
|
Constructs a DocLnk from a valid .desktop file or a new .desktop file for other files. If may_be_desktopfile is TRUE, then an attempt is made to read file as a .desktop file; if that fails it is read as a normal file. Definition at line 1415 of file applnk.cpp. |
|
|
Destroys the DocLnk. Just like AppLnk objects, a run-time error occurs if the DocLnk is a member of a DocLnkSet (or AppLnkSet). Definition at line 1463 of file applnk.cpp. |
Member Function Documentation
|
|
Reimplemented from AppLnk. Definition at line 1470 of file applnk.cpp. References MimeType::application(), AppLnk::exec(), and AppLnk::type(). Referenced by DocLnkSet::DocLnkSet(). |
|
|
Reimplemented from AppLnk. Definition at line 1483 of file applnk.cpp. References QValueList::append(), MimeType::application(), AppLnk::execute(), QFile::exists(), AppLnk::file(), AppLnk::linkFile(), AppLnk::linkFileKnown(), and AppLnk::type(). |
The documentation for this class was generated from the following files:
