summaryrefslogtreecommitdiffstats
path: root/kmail/kmfilteraction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfilteraction.cpp')
-rw-r--r--kmail/kmfilteraction.cpp74
1 files changed, 37 insertions, 37 deletions
diff --git a/kmail/kmfilteraction.cpp b/kmail/kmfilteraction.cpp
index 49378e9d5..d10a509b5 100644
--- a/kmail/kmfilteraction.cpp
+++ b/kmail/kmfilteraction.cpp
@@ -88,9 +88,9 @@ KMFilterAction* KMFilterAction::newAction()
return 0;
}
-TQWidget* KMFilterAction::createParamWidget(TQWidget* tqparent) const
+TQWidget* KMFilterAction::createParamWidget(TQWidget* parent) const
{
- return new TQWidget(tqparent);
+ return new TQWidget(parent);
}
void KMFilterAction::applyParamWidgetValue(TQWidget*)
@@ -201,9 +201,9 @@ KMFilterActionWithString::KMFilterActionWithString( const char* aName, const TQS
{
}
-TQWidget* KMFilterActionWithString::createParamWidget( TQWidget* tqparent ) const
+TQWidget* KMFilterActionWithString::createParamWidget( TQWidget* parent ) const
{
- TQLineEdit *le = new KLineEdit(tqparent);
+ TQLineEdit *le = new KLineEdit(parent);
le->setText( mParameter );
return le;
}
@@ -251,9 +251,9 @@ KMFilterActionWithStringList::KMFilterActionWithStringList( const char* aName, c
{
}
-TQWidget* KMFilterActionWithStringList::createParamWidget( TQWidget* tqparent ) const
+TQWidget* KMFilterActionWithStringList::createParamWidget( TQWidget* parent ) const
{
- TQComboBox *cb = new TQComboBox( false, tqparent );
+ TQComboBox *cb = new TQComboBox( false, parent );
cb->insertStringList( mParameterList );
setParamWidgetValue( cb );
return cb;
@@ -298,9 +298,9 @@ KMFilterActionWithFolder::KMFilterActionWithFolder( const char* aName, const TQS
mFolder = 0;
}
-TQWidget* KMFilterActionWithFolder::createParamWidget( TQWidget* tqparent ) const
+TQWidget* KMFilterActionWithFolder::createParamWidget( TQWidget* parent ) const
{
- FolderRequester *req = new FolderRequester( tqparent,
+ FolderRequester *req = new FolderRequester( parent,
kmkernel->getKMMainWidget()->folderTree() );
setParamWidgetValue( req );
return req;
@@ -380,9 +380,9 @@ KMFilterActionWithAddress::KMFilterActionWithAddress( const char* aName, const T
{
}
-TQWidget* KMFilterActionWithAddress::createParamWidget( TQWidget* tqparent ) const
+TQWidget* KMFilterActionWithAddress::createParamWidget( TQWidget* parent ) const
{
- KMFilterActionWithAddressWidget *w = new KMFilterActionWithAddressWidget(tqparent);
+ KMFilterActionWithAddressWidget *w = new KMFilterActionWithAddressWidget(parent);
w->setText( mParameter );
return w;
}
@@ -413,9 +413,9 @@ KMFilterActionWithCommand::KMFilterActionWithCommand( const char* aName, const T
{
}
-TQWidget* KMFilterActionWithCommand::createParamWidget( TQWidget* tqparent ) const
+TQWidget* KMFilterActionWithCommand::createParamWidget( TQWidget* parent ) const
{
- return KMFilterActionWithUrl::createParamWidget( tqparent );
+ return KMFilterActionWithUrl::createParamWidget( parent );
}
void KMFilterActionWithCommand::applyParamWidgetValue( TQWidget* paramWidget )
@@ -689,9 +689,9 @@ public:
virtual ReturnCode process(KMMessage* msg) const;
static KMFilterAction* newAction();
- TQWidget * createParamWidget( TQWidget * tqparent ) const;
- void applyParamWidgetValue( TQWidget * tqparent );
- void setParamWidgetValue( TQWidget * tqparent ) const;
+ TQWidget * createParamWidget( TQWidget * parent ) const;
+ void applyParamWidgetValue( TQWidget * parent );
+ void setParamWidgetValue( TQWidget * parent ) const;
void clearParamWidget( TQWidget * param ) const;
};
@@ -712,9 +712,9 @@ KMFilterAction::ReturnCode KMFilterActionIdentity::process(KMMessage* msg) const
return GoOn;
}
-TQWidget * KMFilterActionIdentity::createParamWidget( TQWidget * tqparent ) const
+TQWidget * KMFilterActionIdentity::createParamWidget( TQWidget * parent ) const
{
- KPIM::IdentityCombo * ic = new KPIM::IdentityCombo( kmkernel->identityManager(), tqparent );
+ KPIM::IdentityCombo * ic = new KPIM::IdentityCombo( kmkernel->identityManager(), parent );
ic->setCurrentIdentity( mParameter );
return ic;
}
@@ -951,7 +951,7 @@ class KMFilterActionRemoveHeader: public KMFilterActionWithStringList
public:
KMFilterActionRemoveHeader();
virtual ReturnCode process(KMMessage* msg) const;
- virtual TQWidget* createParamWidget( TQWidget* tqparent ) const;
+ virtual TQWidget* createParamWidget( TQWidget* parent ) const;
virtual void setParamWidgetValue( TQWidget* paramWidget ) const;
static KMFilterAction* newAction();
@@ -974,9 +974,9 @@ KMFilterActionRemoveHeader::KMFilterActionRemoveHeader()
mParameter = *mParameterList.at(0);
}
-TQWidget* KMFilterActionRemoveHeader::createParamWidget( TQWidget* tqparent ) const
+TQWidget* KMFilterActionRemoveHeader::createParamWidget( TQWidget* parent ) const
{
- TQComboBox *cb = new TQComboBox( true/*editable*/, tqparent );
+ TQComboBox *cb = new TQComboBox( true/*editable*/, parent );
cb->setInsertionPolicy( TQComboBox::AtBottom );
setParamWidgetValue( cb );
return cb;
@@ -1017,7 +1017,7 @@ class KMFilterActionAddHeader: public KMFilterActionWithStringList
public:
KMFilterActionAddHeader();
virtual ReturnCode process(KMMessage* msg) const;
- virtual TQWidget* createParamWidget( TQWidget* tqparent ) const;
+ virtual TQWidget* createParamWidget( TQWidget* parent ) const;
virtual void setParamWidgetValue( TQWidget* paramWidget ) const;
virtual void applyParamWidgetValue( TQWidget* paramWidget );
virtual void clearParamWidget( TQWidget* paramWidget ) const;
@@ -1055,9 +1055,9 @@ KMFilterAction::ReturnCode KMFilterActionAddHeader::process(KMMessage* msg) cons
return GoOn;
}
-TQWidget* KMFilterActionAddHeader::createParamWidget( TQWidget* tqparent ) const
+TQWidget* KMFilterActionAddHeader::createParamWidget( TQWidget* parent ) const
{
- TQWidget *w = new TQWidget( tqparent );
+ TQWidget *w = new TQWidget( parent );
TQHBoxLayout *hbl = new TQHBoxLayout( w );
hbl->setSpacing( 4 );
TQComboBox *cb = new TQComboBox( true, w, "combo" );
@@ -1157,7 +1157,7 @@ class KMFilterActionRewriteHeader: public KMFilterActionWithStringList
public:
KMFilterActionRewriteHeader();
virtual ReturnCode process(KMMessage* msg) const;
- virtual TQWidget* createParamWidget( TQWidget* tqparent ) const;
+ virtual TQWidget* createParamWidget( TQWidget* parent ) const;
virtual void setParamWidgetValue( TQWidget* paramWidget ) const;
virtual void applyParamWidgetValue( TQWidget* paramWidget );
virtual void clearParamWidget( TQWidget* paramWidget ) const;
@@ -1203,9 +1203,9 @@ KMFilterAction::ReturnCode KMFilterActionRewriteHeader::process(KMMessage* msg)
return GoOn;
}
-TQWidget* KMFilterActionRewriteHeader::createParamWidget( TQWidget* tqparent ) const
+TQWidget* KMFilterActionRewriteHeader::createParamWidget( TQWidget* parent ) const
{
- TQWidget *w = new TQWidget( tqparent );
+ TQWidget *w = new TQWidget( parent );
TQHBoxLayout *hbl = new TQHBoxLayout( w );
hbl->setSpacing( 4 );
@@ -1366,7 +1366,7 @@ KMFilterAction::ReturnCode KMFilterActionMove::process(KMMessage* msg) const
bool KMFilterActionMove::requiresBody(KMMsgBase*) const
{
- return false; //iff mFolder->folderMgr == msgBase->tqparent()->folderMgr;
+ return false; //iff mFolder->folderMgr == msgBase->parent()->folderMgr;
}
@@ -1443,7 +1443,7 @@ class KMFilterActionForward: public KMFilterActionWithAddress
public:
KMFilterActionForward();
virtual ReturnCode process( KMMessage* msg ) const;
- virtual TQWidget* createParamWidget( TQWidget* tqparent ) const;
+ virtual TQWidget* createParamWidget( TQWidget* parent ) const;
virtual void applyParamWidgetValue( TQWidget* paramWidget );
virtual void setParamWidgetValue( TQWidget* paramWidget ) const;
virtual void clearParamWidget( TQWidget* paramWidget ) const;
@@ -1495,9 +1495,9 @@ KMFilterAction::ReturnCode KMFilterActionForward::process(KMMessage* aMsg) const
return GoOn;
}
-TQWidget* KMFilterActionForward::createParamWidget( TQWidget* tqparent ) const
+TQWidget* KMFilterActionForward::createParamWidget( TQWidget* parent ) const
{
- TQWidget *addressAndTemplate = new TQWidget( tqparent );
+ TQWidget *addressAndTemplate = new TQWidget( parent );
TQHBoxLayout *hBox = new TQHBoxLayout( addressAndTemplate );
TQWidget *addressEdit = KMFilterActionWithAddress::createParamWidget( addressAndTemplate );
addressEdit->setName( "addressEdit" );
@@ -1699,8 +1699,8 @@ KMFilterAction::ReturnCode KMFilterActionExec::process(KMMessage *aMsg) const
class PipeJob : public KPIM::ThreadWeaver::Job
{
public:
- PipeJob(TQObject* tqparent = 0 , const char* name = 0, KMMessage* aMsg = 0, TQString cmd = 0, TQString tempFileName = 0 )
- : Job (tqparent, name),
+ PipeJob(TQObject* parent = 0 , const char* name = 0, KMMessage* aMsg = 0, TQString cmd = 0, TQString tempFileName = 0 )
+ : Job (parent, name),
mTempFileName(tempFileName),
mCmd(cmd),
mMsg( aMsg )
@@ -1737,7 +1737,7 @@ class PipeJob : public KPIM::ThreadWeaver::Job
pclose(p);
if ( !ba.isEmpty() ) {
KPIM::ThreadWeaver::debug (1, "PipeJob::run: %s", TQString(ba).latin1() );
- KMFolder *filterFolder = mMsg->tqparent();
+ KMFolder *filterFolder = mMsg->parent();
ActionScheduler *handler = MessageProperty::filterHandler( mMsg->getMsgSerNum() );
mMsg->fromByteArray( ba );
@@ -1842,9 +1842,9 @@ KMFilterActionWithTest::~KMFilterActionWithTest()
{
}
-TQWidget* KMFilterActionWithTest::createParamWidget( TQWidget* tqparent ) const
+TQWidget* KMFilterActionWithTest::createParamWidget( TQWidget* parent ) const
{
- KMSoundTestWidget *le = new KMSoundTestWidget(tqparent);
+ KMSoundTestWidget *le = new KMSoundTestWidget(parent);
le->setUrl( mParameter );
return le;
}
@@ -1919,9 +1919,9 @@ KMFilterActionWithUrl::~KMFilterActionWithUrl()
{
}
-TQWidget* KMFilterActionWithUrl::createParamWidget( TQWidget* tqparent ) const
+TQWidget* KMFilterActionWithUrl::createParamWidget( TQWidget* parent ) const
{
- KURLRequester *le = new KURLRequester(tqparent);
+ KURLRequester *le = new KURLRequester(parent);
le->setURL( mParameter );
return le;
}