diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch) | |
tree | 0212ba6d2c749043134005a41f2bd0379619d40f /kmail/kmmainwidget.cpp | |
parent | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff) | |
download | tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmmainwidget.cpp')
-rw-r--r-- | kmail/kmmainwidget.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kmail/kmmainwidget.cpp b/kmail/kmmainwidget.cpp index a32c61c99..88884b696 100644 --- a/kmail/kmmainwidget.cpp +++ b/kmail/kmmainwidget.cpp @@ -135,10 +135,10 @@ TQValueList<KMMainWidget*>* KMMainWidget::s_mainWidgetList = 0; static KStaticDeleter<TQValueList<KMMainWidget*> > mwlsd; //----------------------------------------------------------------------------- -KMMainWidget::KMMainWidget(TQWidget *tqparent, const char *name, +KMMainWidget::KMMainWidget(TQWidget *parent, const char *name, KXMLGUIClient *aGUIClient, KActionCollection *actionCollection, KConfig* config ) : - TQWidget(tqparent, name), + TQWidget(parent, name), mFavoritesCheckMailAction( 0 ), mFavoriteFolderView( 0 ), mFolderView( 0 ), @@ -1096,7 +1096,7 @@ void KMMainWidget::modifyFolder( KMFolderTreeItem* folderItem ) { KMFolder* folder = folderItem->folder(); KMFolderTree* folderTree = static_cast<KMFolderTree *>( folderItem->listView() ); - KMFolderDialog props( folder, folder->tqparent(), folderTree, + KMFolderDialog props( folder, folder->parent(), folderTree, i18n("Properties of Folder %1").tqarg( folder->label() ) ); props.exec(); updateFolderMenu(); @@ -1763,7 +1763,7 @@ void KMMainWidget::slotDebugSieve() void KMMainWidget::slotStartCertManager() { KProcess certManagerProc; // save to create on the heap, since - // there is no tqparent + // there is no parent certManagerProc << "kleopatra"; if( !certManagerProc.start( KProcess::DontCare ) ) @@ -2120,7 +2120,7 @@ void KMMainWidget::showOfflinePage() //----------------------------------------------------------------------------- void KMMainWidget::slotMsgSelected(KMMessage *msg) { - if ( msg && msg->tqparent() && !msg->isComplete() ) + if ( msg && msg->parent() && !msg->isComplete() ) { if ( msg->transferInProgress() ) return; @@ -2131,7 +2131,7 @@ void KMMainWidget::slotMsgSelected(KMMessage *msg) disconnect( mJob, 0, mMsgView, 0 ); delete mJob; } - mJob = msg->tqparent()->createJob( msg, FolderJob::tGetMessage, 0, + mJob = msg->parent()->createJob( msg, FolderJob::tGetMessage, 0, "STRUCTURE", mMsgView->attachmentStrategy() ); connect(mJob, TQT_SIGNAL(messageRetrieved(KMMessage*)), mMsgView, TQT_SLOT(slotMessageArrived(KMMessage*))); @@ -2316,8 +2316,8 @@ void KMMainWidget::slotDisplayCurrentMessage() void KMMainWidget::slotMsgActivated(KMMessage *msg) { if ( !msg ) return; - if ( msg->tqparent() && !msg->isComplete() ) { - FolderJob *job = msg->tqparent()->createJob( msg ); + if ( msg->parent() && !msg->isComplete() ) { + FolderJob *job = msg->parent()->createJob( msg ); connect( job, TQT_SIGNAL( messageRetrieved( KMMessage* ) ), TQT_SLOT( slotMsgActivated( KMMessage* ) ) ); job->start(); @@ -2340,7 +2340,7 @@ void KMMainWidget::slotMsgActivated(KMMessage *msg) : reader.readBoolEntry( "useFixedFont", false ); win->setUseFixedFont( useFixedFont ); KMMessage *newMessage = new KMMessage(*msg); - newMessage->setParent( msg->tqparent() ); + newMessage->setParent( msg->parent() ); newMessage->setMsgSerNum( msg->getMsgSerNum() ); newMessage->setReadyToShow( true ); win->showMsg( overrideEncoding(), newMessage ); @@ -2703,7 +2703,7 @@ void KMMainWidget::setupActions() KAction *act; //----- Tools menu - if (tqparent()->inherits("KMMainWin")) { + if (parent()->inherits("KMMainWin")) { act = new KAction( i18n("&Address Book..."), "contents", 0, TQT_TQOBJECT(this), TQT_SLOT(slotAddrBook()), actionCollection(), "addressbook" ); if (KStandardDirs::findExe("kaddressbook").isEmpty()) act->setEnabled(false); @@ -3328,7 +3328,7 @@ void KMMainWidget::updateMessageActions() for ( TQPtrListIterator<TQListViewItem> it( selectedItems ) ; it.current() ; ++ it ) { TQListViewItem * item = *it; - if ( item->tqparent()==0 && item->childCount()==0 ) { + if ( item->parent()==0 && item->childCount()==0 ) { allSelectedInCommonThread = false; break; } @@ -3587,7 +3587,7 @@ void KMMainWidget::slotChangeCaption(TQListViewItem * i) if ( !i ) return; // set the caption to the current full path TQStringList names; - for ( TQListViewItem * item = i ; item ; item = item->tqparent() ) + for ( TQListViewItem * item = i ; item ; item = item->parent() ) names.prepend( item->text(0) ); emit captionChangeRequest( names.join( "/" ) ); } |