summaryrefslogtreecommitdiffstats
path: root/kmail/antispamwizard.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/antispamwizard.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/antispamwizard.h')
-rw-r--r--kmail/antispamwizard.h29
1 files changed, 17 insertions, 12 deletions
diff --git a/kmail/antispamwizard.h b/kmail/antispamwizard.h
index e80234263..a17e341a2 100644
--- a/kmail/antispamwizard.h
+++ b/kmail/antispamwizard.h
@@ -17,11 +17,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -104,6 +104,7 @@ namespace KMail {
class AntiSpamWizard : public KWizard
{
Q_OBJECT
+ TQ_OBJECT
public:
/** The wizard can be used for setting up anti-spam tools and for
@@ -114,13 +115,13 @@ namespace KMail {
/** Constructor that needs to initialize from the main folder tree
of KMail.
@param mode The mode the wizard should run in.
- @param parent The parent widget for the wizard.
+ @param tqparent The tqparent widget for the wizard.
@param mainFolderTree The main folder tree from which the folders
are copied to allow the selection of a spam folder in a tree
within one of the wizard pages.
*/
AntiSpamWizard( WizardMode mode,
- TQWidget * parent, KMFolderTree * mainFolderTree );
+ TQWidget * tqparent, KMFolderTree * mainFolderTree );
protected:
/**
@@ -259,7 +260,7 @@ namespace KMail {
/* convenience method to sort out new and existing filters */
void sortFilterOnExistance( const TQString & intendedFilterName,
TQString & newFilters,
- TQString & tqreplaceFilters );
+ TQString & replaceFilters );
/* The pages in the wizard */
ASWizInfoPage * mInfoPage;
@@ -280,10 +281,10 @@ namespace KMail {
//---------------------------------------------------------------------------
- class ASWizPage : public QWidget
+ class ASWizPage : public TQWidget
{
public:
- ASWizPage( TQWidget *parent, const char *name,
+ ASWizPage( TQWidget *tqparent, const char *name,
const TQString *bannerName = 0);
protected:
@@ -298,10 +299,11 @@ namespace KMail {
class ASWizInfoPage : public ASWizPage
{
Q_OBJECT
+ TQ_OBJECT
public:
ASWizInfoPage( AntiSpamWizard::WizardMode mode,
- TQWidget *parent, const char *name );
+ TQWidget *tqparent, const char *name );
void setScanProgressText( const TQString &toolName );
void addAvailableTool( const TQString &visibleName );
@@ -324,9 +326,10 @@ namespace KMail {
class ASWizSpamRulesPage : public ASWizPage
{
Q_OBJECT
+ TQ_OBJECT
public:
- ASWizSpamRulesPage( TQWidget * parent, const char * name, KMFolderTree * mainFolderTree );
+ ASWizSpamRulesPage( TQWidget * tqparent, const char * name, KMFolderTree * mainFolderTree );
bool markAsReadSelected() const;
bool moveSpamSelected() const;
@@ -356,9 +359,10 @@ namespace KMail {
class ASWizVirusRulesPage : public ASWizPage
{
Q_OBJECT
+ TQ_OBJECT
public:
- ASWizVirusRulesPage( TQWidget * parent, const char * name, KMFolderTree * mainFolderTree );
+ ASWizVirusRulesPage( TQWidget * tqparent, const char * name, KMFolderTree * mainFolderTree );
bool pipeRulesSelected() const;
bool moveRulesSelected() const;
@@ -382,9 +386,10 @@ namespace KMail {
class ASWizSummaryPage : public ASWizPage
{
Q_OBJECT
+ TQ_OBJECT
public:
- ASWizSummaryPage( TQWidget * parent, const char * name );
+ ASWizSummaryPage( TQWidget * tqparent, const char * name );
void setSummaryText( const TQString & text );