Qtopia library API Documentation

DocLnk Class Reference

The DocLnk class represents loaded document references. More...

#include <applnk.h>

Inheritance diagram for DocLnk:

Inheritance graph
[legend]
Collaboration diagram for DocLnk:

Collaboration graph
[legend]
List of all members.

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

DocLnk::DocLnk  ) 
 

Constructs an invalid DocLnk.

Definition at line 1455 of file applnk.cpp.

DocLnk::DocLnk const DocLnk o  )  [inline]
 

Copies o.

Definition at line 126 of file applnk.h.

DocLnk::DocLnk const QString file  ) 
 

Constructs a DocLnk from a valid .desktop file or a new .desktop file for other files.

Definition at line 1403 of file applnk.cpp.

DocLnk::DocLnk const QString file,
bool  may_be_desktopfile
 

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.

DocLnk::~DocLnk  )  [virtual]
 

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

QString DocLnk::exec  )  const [virtual]
 

Reimplemented from AppLnk.

Definition at line 1470 of file applnk.cpp.

References MimeType::application(), AppLnk::exec(), and AppLnk::type().

Referenced by DocLnkSet::DocLnkSet().

void DocLnk::invoke const QStringList args  )  const [protected, virtual]
 

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:
KDE Logo
This file is part of the documentation for OPIE Version 1.5.5.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:17 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001