summaryrefslogtreecommitdiffstats
path: root/kmail/mailinglistpropertiesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/mailinglistpropertiesdialog.cpp')
-rw-r--r--kmail/mailinglistpropertiesdialog.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/mailinglistpropertiesdialog.cpp b/kmail/mailinglistpropertiesdialog.cpp
index 525faf3df..d05d64135 100644
--- a/kmail/mailinglistpropertiesdialog.cpp
+++ b/kmail/mailinglistpropertiesdialog.cpp
@@ -16,11 +16,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.
@@ -45,8 +45,8 @@
using namespace KMail;
-MailingListFolderPropertiesDialog::MailingListFolderPropertiesDialog( TQWidget* parent, KMFolder *folder )
- : KDialogBase( parent, "mailinglist_properties", false, i18n( "Mailinglist Folder Properties" ),
+MailingListFolderPropertiesDialog::MailingListFolderPropertiesDialog( TQWidget* tqparent, KMFolder *folder )
+ : KDialogBase( tqparent, "mailinglist_properties", false, i18n( "Mailinglist Folder Properties" ),
KDialogBase::Ok|KDialogBase::Cancel,
KDialogBase::Ok, true ),
mFolder( folder )
@@ -59,7 +59,7 @@ MailingListFolderPropertiesDialog::MailingListFolderPropertiesDialog( TQWidget*
"topLayout" );
TQGroupBox *mlGroup = new TQGroupBox( i18n("Associated Mailing List" ), this );
- mlGroup->setColumnLayout( 0, Qt::Vertical );
+ mlGroup->setColumnLayout( 0, TQt::Vertical );
TQGridLayout *groupLayout = new TQGridLayout( mlGroup->tqlayout(), 6, 3, spacingHint() );
topLayout->addWidget( mlGroup );
setMainWidget( mlGroup );
@@ -87,7 +87,7 @@ MailingListFolderPropertiesDialog::MailingListFolderPropertiesDialog( TQWidget*
groupLayout->addMultiCellWidget( mMLId, 4, 4, 1, 2 );
mMLId->setEnabled( false );
- //FIXME: add QWhatsThis
+ //FIXME: add TQWhatsThis
label = new TQLabel( i18n("Preferred handler:"), mlGroup );
label->setEnabled(false);
TQObject::connect( mHoldsMailingList, TQT_SIGNAL(toggled(bool)),
@@ -199,7 +199,7 @@ void MailingListFolderPropertiesDialog::slotDetectMailingList()
/* FIXME Till - make work without the folder tree
// first try the currently selected message
- KMFolderTree *folderTree = static_cast<KMFolderTree *>( mDlg->parent() );
+ KMFolderTree *folderTree = static_cast<KMFolderTree *>( mDlg->tqparent() );
int curMsgIdx = folderTree->mainWidget()->headers()->currentItemIndex();
if ( curMsgIdx > 0 ) {
KMMessage *mes = mFolder->getMsg( curMsgIdx );
@@ -257,7 +257,7 @@ void MailingListFolderPropertiesDialog::fillMLFromWidgets()
for ( TQStringList::ConstIterator it = oldList.begin();
it != oldList.end(); ++it ) {
if ( !(*it).startsWith("http:") && !(*it).startsWith("https:") &&
- !(*it).startsWith("mailto:") && ( (*it).find('@') != -1 ) ) {
+ !(*it).startsWith("mailto:") && ( (*it).tqfind('@') != -1 ) ) {
changed = true;
newList << "mailto:" + *it;
}