Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

LnkProperties Class Reference

#include </home/clem/local/src/opie/library/lnkproperties.h>

Collaboration diagram for LnkProperties:

Collaboration graph
[legend]
List of all members.

Signals

void select (const AppLnk *)

Public Member Functions

void done (int)

Private Slots

void beamLnk ()
void unlinkLnk ()
void duplicateLnk ()

Private Member Functions

void setupLocations ()
bool moveLnk ()
bool copyFile (DocLnk &newdoc)

Private Attributes

AppLnklnk
int fileSize
int currentLocation
QStringList locations
LnkPropertiesBase * d

Member Function Documentation

void LnkProperties::beamLnk  )  [private, slot]
 

Definition at line 242 of file lnkproperties.cpp.

References AppLnk::comment(), d, lnk, Ir::send(), and AppLnk::setName().

bool LnkProperties::copyFile DocLnk newdoc  )  [private]
 

Definition at line 284 of file lnkproperties.cpp.

References FileManager::copyFile(), createMimedir(), d, QFile::exists(), FALSE, AppLnk::file(), lnk, locations, QString::number(), QString::replace(), and TRUE.

Referenced by duplicateLnk(), and moveLnk().

void LnkProperties::done int   ) 
 

Definition at line 320 of file lnkproperties.cpp.

References QValueList< T >::append(), AppLnk::categories(), QValueList< T >::contains(), currentLocation, d, AppLnk::exec(), FALSE, lnk, QString::local8Bit(), moveLnk(), AppLnk::name(), QString::number(), AppLnk::property(), Config::readListEntry(), QValueList< T >::remove(), AppLnk::rotation(), AppLnk::setCategories(), Config::setGroup(), AppLnk::setName(), AppLnk::setProperty(), TRUE, MimeType::updateApplications(), Config::writeEntry(), and AppLnk::writeLink().

void LnkProperties::duplicateLnk  )  [private, slot]
 

Definition at line 211 of file lnkproperties.cpp.

References copyFile(), d, lnk, AppLnk::name(), AppLnk::setName(), tr, and warning().

bool LnkProperties::moveLnk  )  [private]
 

Definition at line 227 of file lnkproperties.cpp.

References copyFile(), d, FALSE, lnk, AppLnk::removeFiles(), AppLnk::setName(), tr, TRUE, and warning().

Referenced by done().

void LnkProperties::select const AppLnk  )  [signal]
 

void LnkProperties::setupLocations  )  [private]
 

Definition at line 160 of file lnkproperties.cpp.

References QValueList< T >::append(), QString::contains(), currentLocation, d, AppLnk::file(), fileSize, StorageInfo::fileSystems(), QString::isEmpty(), QString::length(), lnk, locations, s, QFileInfo::size(), and tr.

void LnkProperties::unlinkLnk  )  [private, slot]
 

Definition at line 148 of file lnkproperties.cpp.

References QPEMessageBox::confirmDelete(), QFile::exists(), AppLnk::file(), lnk, AppLnk::name(), AppLnk::removeFiles(), tr, and warning().


Member Data Documentation

int LnkProperties::currentLocation [private]
 

Definition at line 67 of file lnkproperties.h.

Referenced by done(), and setupLocations().

LnkPropertiesBase* LnkProperties::d [private]
 

Definition at line 69 of file lnkproperties.h.

Referenced by beamLnk(), copyFile(), done(), duplicateLnk(), moveLnk(), and setupLocations().

int LnkProperties::fileSize [private]
 

Definition at line 66 of file lnkproperties.h.

Referenced by setupLocations().

AppLnk* LnkProperties::lnk [private]
 

Definition at line 65 of file lnkproperties.h.

Referenced by beamLnk(), copyFile(), done(), duplicateLnk(), moveLnk(), setupLocations(), and unlinkLnk().

QStringList LnkProperties::locations [private]
 

Definition at line 68 of file lnkproperties.h.

Referenced by copyFile(), and setupLocations().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:39:02 2005 for OPIE by  doxygen 1.4.2