diff options
Diffstat (limited to 'kmailcvt/README')
-rw-r--r-- | kmailcvt/README | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kmailcvt/README b/kmailcvt/README index d8322ed4..1f778afe 100644 --- a/kmailcvt/README +++ b/kmailcvt/README @@ -7,23 +7,23 @@ with KMail via its DCOP interface to add messages. Writing a filter ---------------- -...is very easy. Create two files filter_myformat.cxx and filter_myformat.hxx -and add "filter_myformat.cxx" to the end of the kmailcvt_SOURCES line in -Makefile.am and "filter_myformat.cxx filter_myformat.hxx" to the end of the +...is very easy. Create two files filter_myformat.cpp and filter_myformat.h +and add "filter_myformat.cpp" to the end of the kmailcvt_SOURCES line in +Makefile.am and "filter_myformat.cpp filter_myformat.h" to the end of the EXTRA_DIST line in Makefile.am. Now run "make -f Makefile.cvs; ./configure" in your tdepim source directory. In the import method of your filter you are passed a FilterInfo object. This has the following methods that you may want to use: - void setFrom( const QString& from ); // Set to file importing from - void setTo( const QString& to ); // Set to folder importing into - void setCurrent( const QString& current ); // What we are doing + void setFrom( const TQString& from ); // Set to file importing from + void setTo( const TQString& to ); // Set to folder importing into + void setCurrent( const TQString& current ); // What we are doing void setCurrent( int percent = 0 ); // Set percentage of current file void setOverall( int percent = 0 ); // Set overall percentage - void addLog( const QString& log ); // Add a message for the user to see - void alert( const QString& message ); // Tell user something has gone wrong - QWidget *parent(); // The parent widget + void addLog( const TQString& log ); // Add a message for the user to see + void alert( const TQString& message ); // Tell user something has gone wrong + TQWidget *parent(); // The parent widget bool removeDupMsg; // true, if user selected 'remove duplicated messages' |