resourcefile.h
This class provides locking functionality for a file, directory or an arbitrary string-represented re...
Definition lock.h:36
void setFileName(const TQString &)
Set name of file to be used for saving.
Definition resourcefile.cpp:343
virtual bool doOpen()
Tries to open the file and checks for the proper format.
Definition resourcefile.cpp:144
TQString fileName() const
Return name of file used for loading and saving the address book.
Definition resourcefile.cpp:355
virtual void removeAddressee(const Addressee &addr)
Remove a addressee from its source.
Definition resourcefile.cpp:390
virtual bool save(Ticket *ticket)
Saves all addresses from address book to file.
Definition resourcefile.cpp:255
virtual Ticket * requestSaveTicket()
Requests a save ticket, that is used by save().
Definition resourcefile.cpp:113
virtual bool load()
Loads all addressees from file to the address book.
Definition resourcefile.cpp:222
Trinity API Reference