#include </home/clem/local/src/opie/library/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 |
Private Member Functions | |
| void | init (const QString &file) |
Definition at line 122 of file applnk.h.
|
|
Constructs an invalid DocLnk. Definition at line 1491 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 1439 of file applnk.cpp. References init(). |
|
||||||||||||
|
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 1451 of file applnk.cpp. References init(). |
|
|
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 1499 of file applnk.cpp. |
|
|
Reimplemented from AppLnk. Definition at line 1506 of file applnk.cpp. References app, MimeType::application(), AppLnk::exec(), QString::null, and AppLnk::type(). Referenced by DocLnkItem::actions(), DocLnkSet::DocLnkSet(), DocLnkWrapper::isValid(), and AdvancedFm::runThis(). |
|
|
Definition at line 1457 of file applnk.cpp. References MimeType::application(), QFile::exists(), QString::findRev(), QString::isNull(), AppLnk::isValid(), AppLnk::mExec, QString::mid(), AppLnk::mType, QString::replace(), AppLnk::setFile(), and AppLnk::setName(). Referenced by DocLnk(). |
|
|
Reimplemented from AppLnk. Definition at line 1519 of file applnk.cpp. References app, QValueList< T >::append(), MimeType::application(), AppLnk::execute(), QFile::exists(), AppLnk::file(), AppLnk::linkFile(), AppLnk::linkFileKnown(), and AppLnk::type(). |
1.4.2