summaryrefslogtreecommitdiffstats
path: root/kmail/configuredialog.cpp
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/configuredialog.cpp
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/configuredialog.cpp')
-rw-r--r--kmail/configuredialog.cpp196
1 files changed, 98 insertions, 98 deletions
diff --git a/kmail/configuredialog.cpp b/kmail/configuredialog.cpp
index c5824eadc..bc415a888 100644
--- a/kmail/configuredialog.cpp
+++ b/kmail/configuredialog.cpp
@@ -101,7 +101,7 @@ using KMime::DateFormatter;
#include <kcmultidialog.h>
#include <kcombobox.h>
-// Qt headers:
+// TQt headers:
#include <tqvalidator.h>
#include <tqwhatsthis.h>
#include <tqvgroupbox.h>
@@ -214,9 +214,9 @@ namespace {
}
-ConfigureDialog::ConfigureDialog( TQWidget *parent, const char *name, bool modal )
+ConfigureDialog::ConfigureDialog( TQWidget *tqparent, const char *name, bool modal )
: KCMultiDialog( KDialogBase::IconList, KGuiItem( i18n( "&Load Profile..." ) ),
- KGuiItem(), User2, i18n( "Configure" ), parent, name, modal )
+ KGuiItem(), User2, i18n( "Configure" ), tqparent, name, modal )
, mProfileDialog( 0 )
{
KWin::setIcons( winId(), kapp->icon(), kapp->miniIcon() );
@@ -284,8 +284,8 @@ TQString IdentityPage::helpAnchor() const {
return TQString::tqfromLatin1("configure-identity");
}
-IdentityPage::IdentityPage( TQWidget * parent, const char * name )
- : ConfigModule( parent, name ),
+IdentityPage::IdentityPage( TQWidget * tqparent, const char * name )
+ : ConfigModule( tqparent, name ),
mIdentityDialog( 0 )
{
TQHBoxLayout * hlay = new TQHBoxLayout( this, 0, KDialog::spacingHint() );
@@ -555,8 +555,8 @@ TQString AccountsPage::helpAnchor() const {
return TQString::tqfromLatin1("configure-accounts");
}
-AccountsPage::AccountsPage( TQWidget * parent, const char * name )
- : ConfigModuleWithTabs( parent, name )
+AccountsPage::AccountsPage( TQWidget * tqparent, const char * name )
+ : ConfigModuleWithTabs( tqparent, name )
{
//
// "Receiving" tab:
@@ -581,8 +581,8 @@ TQString AccountsPage::SendingTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-accounts-sending");
}
-AccountsPageSendingTab::AccountsPageSendingTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+AccountsPageSendingTab::AccountsPageSendingTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
mTransportInfoList.setAutoDelete( true );
// temp. vars:
@@ -649,7 +649,7 @@ AccountsPageSendingTab::AccountsPageSendingTab( TQWidget * parent, const char *
btn_vlay->addStretch( 1 ); // spacer
// "Common options" groupbox:
- group = new TQGroupBox( 0, Qt::Vertical,
+ group = new TQGroupBox( 0, TQt::Vertical,
i18n("Common Options"), this );
vlay->addWidget(group);
@@ -739,7 +739,7 @@ static inline TQString uniqueName( const TQStringList & list,
{
int suffix = 1;
TQString result = name;
- while ( list.find( result ) != list.end() ) {
+ while ( list.tqfind( result ) != list.end() ) {
result = i18n("%1: name; %2: number appended to it to make it unique "
"among a list of names", "%1 %2")
.arg( name ).arg( suffix );
@@ -911,7 +911,7 @@ void AccountsPage::SendingTab::slotRemoveSelectedTransport()
KPIM::IdentityManager * im = kmkernel->identityManager();
for ( KPIM::IdentityManager::Iterator it = im->modifyBegin(); it != im->modifyEnd(); ++it ) {
if ( item->text( 0 ) == (*it).transport() ) {
- (*it).setTransport( TQString::null );
+ (*it).setTransport( TQString() );
changedIdents += (*it).identityName();
}
}
@@ -919,7 +919,7 @@ void AccountsPage::SendingTab::slotRemoveSelectedTransport()
// if the deleted transport is the currently used transport reset it to default
const TQString& currentTransport = GlobalSettings::self()->currentTransport();
if ( item->text( 0 ) == currentTransport ) {
- GlobalSettings::self()->setCurrentTransport( TQString::null );
+ GlobalSettings::self()->setCurrentTransport( TQString() );
}
if ( !changedIdents.isEmpty() ) {
@@ -952,7 +952,7 @@ void AccountsPage::SendingTab::slotRemoveSelectedTransport()
newCurrent->setText( 1, i18n("sendmail (Default)" ));
}
} else {
- GlobalSettings::self()->setDefaultTransport( TQString::null );
+ GlobalSettings::self()->setDefaultTransport( TQString() );
}
}
delete item;
@@ -1056,8 +1056,8 @@ TQString AccountsPage::ReceivingTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-accounts-receiving");
}
-AccountsPageReceivingTab::AccountsPageReceivingTab( TQWidget * parent, const char * name )
- : ConfigModuleTab ( parent, name )
+AccountsPageReceivingTab::AccountsPageReceivingTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab ( tqparent, name )
{
// temp. vars:
TQVBoxLayout *vlay;
@@ -1223,7 +1223,7 @@ void AccountsPage::ReceivingTab::slotAddAccount() {
default:
// ### FIXME: How should this happen???
- // tqreplace with assert.
+ // replace with assert.
KMessageBox::sorry( this, i18n("Unknown account type selected") );
return;
}
@@ -1481,8 +1481,8 @@ TQString AppearancePage::helpAnchor() const {
return TQString::tqfromLatin1("configure-appearance");
}
-AppearancePage::AppearancePage( TQWidget * parent, const char * name )
- : ConfigModuleWithTabs( parent, name )
+AppearancePage::AppearancePage( TQWidget * tqparent, const char * name )
+ : ConfigModuleWithTabs( tqparent, name )
{
//
// "Fonts" tab:
@@ -1551,8 +1551,8 @@ static const struct {
};
static const int numFontNames = sizeof fontNames / sizeof *fontNames;
-AppearancePageFontsTab::AppearancePageFontsTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name ), mActiveFontIndex( -1 )
+AppearancePageFontsTab::AppearancePageFontsTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name ), mActiveFontIndex( -1 )
{
assert( numFontNames == sizeof mFont / sizeof *mFont );
// tmp. vars:
@@ -1722,15 +1722,15 @@ static const struct {
{ "PGPMessageErr", I18N_NOOP("OpenPGP Message - Bad Signature") },
{ "HTMLWarningColor", I18N_NOOP("Border Around Warning Prepending HTML Messages") },
{ "CloseToQuotaColor", I18N_NOOP("Folder Name and Size When Close to Quota") },
- { "ColorbarBackgroundPlain", I18N_NOOP("HTML Status Bar Background - No HTML Message") },
- { "ColorbarForegroundPlain", I18N_NOOP("HTML Status Bar Foreground - No HTML Message") },
- { "ColorbarBackgroundHTML", I18N_NOOP("HTML Status Bar Background - HTML Message") },
- { "ColorbarForegroundHTML", I18N_NOOP("HTML Status Bar Foreground - HTML Message") },
+ { "ColorbarBackgroundPlain", I18N_NOOP("HTML tqStatus Bar Background - No HTML Message") },
+ { "ColorbarForegroundPlain", I18N_NOOP("HTML tqStatus Bar Foreground - No HTML Message") },
+ { "ColorbarBackgroundHTML", I18N_NOOP("HTML tqStatus Bar Background - HTML Message") },
+ { "ColorbarForegroundHTML", I18N_NOOP("HTML tqStatus Bar Foreground - HTML Message") },
};
static const int numColorNames = sizeof colorNames / sizeof *colorNames;
-AppearancePageColorsTab::AppearancePageColorsTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+AppearancePageColorsTab::AppearancePageColorsTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
// tmp. vars:
TQVBoxLayout *vlay;
@@ -1801,22 +1801,22 @@ void AppearancePage::ColorsTab::doLoadOther() {
TQColor( 0x00, 0x60, 0x00 ), // quoted l3
KGlobalSettings::linkColor(), // link
KGlobalSettings::visitedLinkColor(), // visited link
- Qt::red, // misspelled words
- Qt::red, // new msg
- Qt::blue, // unread mgs
+ TQt::red, // misspelled words
+ TQt::red, // new msg
+ TQt::blue, // unread mgs
TQColor( 0x00, 0x7F, 0x00 ), // important msg
- Qt::blue, // todo mgs
+ TQt::blue, // todo mgs
TQColor( 0x00, 0x80, 0xFF ), // light blue // pgp encrypted
TQColor( 0x40, 0xFF, 0x40 ), // light green // pgp ok, trusted key
TQColor( 0xFF, 0xFF, 0x40 ), // light yellow // pgp ok, untrusted key
TQColor( 0xFF, 0xFF, 0x40 ), // light yellow // pgp unchk
- Qt::red, // pgp bad
+ TQt::red, // pgp bad
TQColor( 0xFF, 0x40, 0x40 ), // warning text color: light red
- Qt::red, // close to quota
- Qt::lightGray, // colorbar plain bg
- Qt::black, // colorbar plain fg
- Qt::black, // colorbar html bg
- Qt::white, // colorbar html fg
+ TQt::red, // close to quota
+ TQt::lightGray, // colorbar plain bg
+ TQt::black, // colorbar plain fg
+ TQt::black, // colorbar html bg
+ TQt::white, // colorbar html fg
};
for ( int i = 0 ; i < numColorNames ; i++ ) {
@@ -1900,8 +1900,8 @@ static const EnumConfigEntry readerWindowMode = {
readerWindowModes, DIM(readerWindowModes), 1
};
-AppearancePageLayoutTab::AppearancePageLayoutTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+AppearancePageLayoutTab::AppearancePageLayoutTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
// tmp. vars:
TQVBoxLayout * vlay;
@@ -1992,8 +1992,8 @@ static const struct {
static const int numDateDisplayConfig =
sizeof dateDisplayConfig / sizeof *dateDisplayConfig;
-AppearancePageHeadersTab::AppearancePageHeadersTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name ),
+AppearancePageHeadersTab::AppearancePageHeadersTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name ),
mCustomDateFormatEdit( 0 )
{
// tmp. vars:
@@ -2094,8 +2094,8 @@ AppearancePageHeadersTab::AppearancePageHeadersTab( TQWidget * parent, const cha
"<li>ss - the seconds with a leading zero (00-59)</li>"
"<li>z - the milliseconds without leading zeroes (0-999)</li>"
"<li>zzz - the milliseconds with leading zeroes (000-999)</li>"
- "<li>AP - switch to AM/PM display. AP will be tqreplaced by either \"AM\" or \"PM\".</li>"
- "<li>ap - switch to AM/PM display. ap will be tqreplaced by either \"am\" or \"pm\".</li>"
+ "<li>AP - switch to AM/PM display. AP will be replaced by either \"AM\" or \"PM\".</li>"
+ "<li>ap - switch to AM/PM display. ap will be replaced by either \"am\" or \"pm\".</li>"
"<li>Z - time zone in numeric form (-0500)</li>"
"</ul>"
"<p><strong>All other input characters will be ignored."
@@ -2184,7 +2184,7 @@ void AppearancePage::HeadersTab::save() {
int result = KMessageBox::warningContinueCancel( this,
i18n("Changing the global threading setting will override "
"all folder specific values."),
- TQString::null, KStdGuiItem::cont(), "threadOverride" );
+ TQString(), KStdGuiItem::cont(), "threadOverride" );
if ( result == KMessageBox::Continue ) {
tqgeometry.writeEntry( "nestedMessages", mNestedMessagesCheck->isChecked() );
// remove all threadMessagesOverride keys from all [Folder-*] groups:
@@ -2226,7 +2226,7 @@ static const BoolConfigEntry showColorbarMode = {
};
static const BoolConfigEntry showSpamStatusMode = {
- "Reader", "showSpamStatus", I18N_NOOP("Show s&pam status in fancy headers"), true
+ "Reader", "showSpamtqStatus", I18N_NOOP("Show s&pam status in fancy headers"), true
};
static const BoolConfigEntry showEmoticons = {
@@ -2249,9 +2249,9 @@ TQString AppearancePage::ReaderTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-appearance-reader");
}
-AppearancePageReaderTab::AppearancePageReaderTab( TQWidget * parent,
+AppearancePageReaderTab::AppearancePageReaderTab( TQWidget * tqparent,
const char * name )
- : ConfigModuleTab( parent, name )
+ : ConfigModuleTab( tqparent, name )
{
TQVBoxLayout *vlay = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
@@ -2276,7 +2276,7 @@ AppearancePageReaderTab::AppearancePageReaderTab( TQWidget * parent,
connect( mShowSpamStatusCheck, TQT_SIGNAL ( stateChanged( int ) ),
this, TQT_SLOT( slotEmitChanged() ) );
- // "tqreplace smileys by emoticons" check box;
+ // "replace smileys by emoticons" check box;
populateCheckBox( mShowEmoticonsCheck = new TQCheckBox( this ), showEmoticons );
vlay->addWidget( mShowEmoticonsCheck );
connect( mShowEmoticonsCheck, TQT_SIGNAL ( stateChanged( int ) ),
@@ -2415,7 +2415,7 @@ void AppearancePage::ReaderTab::readCurrentOverrideCodec()
kdWarning(5006) << "Unknown override character encoding \"" << currentOverrideEncoding
<< "\". Resetting to Auto." << endl;
mOverrideCharsetCombo->setCurrentItem( 0 );
- GlobalSettings::self()->setOverrideCharacterEncoding( TQString::null );
+ GlobalSettings::self()->setOverrideCharacterEncoding( TQString() );
}
}
@@ -2475,9 +2475,9 @@ TQString AppearancePage::SystemTrayTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-appearance-systemtray");
}
-AppearancePageSystemTrayTab::AppearancePageSystemTrayTab( TQWidget * parent,
+AppearancePageSystemTrayTab::AppearancePageSystemTrayTab( TQWidget * tqparent,
const char * name )
- : ConfigModuleTab( parent, name )
+ : ConfigModuleTab( tqparent, name )
{
TQVBoxLayout * vlay = new TQVBoxLayout( this, KDialog::marginHint(),
KDialog::spacingHint() );
@@ -2540,8 +2540,8 @@ TQString ComposerPage::helpAnchor() const {
return TQString::tqfromLatin1("configure-composer");
}
-ComposerPage::ComposerPage( TQWidget * parent, const char * name )
- : ConfigModuleWithTabs( parent, name )
+ComposerPage::ComposerPage( TQWidget * tqparent, const char * name )
+ : ConfigModuleWithTabs( tqparent, name )
{
//
// "General" tab:
@@ -2599,8 +2599,8 @@ TQString ComposerPage::GeneralTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-composer-general");
}
-ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
// tmp. vars:
TQVBoxLayout *vlay;
@@ -2796,7 +2796,7 @@ ComposerPageGeneralTab::ComposerPageGeneralTab( TQWidget * parent, const char *
connect( mExternalEditorCheck, TQT_SIGNAL(toggled(bool)),
mEditorRequester, TQT_SLOT(setEnabled(bool)) );
- label = new TQLabel( i18n("<b>%f</b> will be tqreplaced with the "
+ label = new TQLabel( i18n("<b>%f</b> will be replaced with the "
"filename to edit."), group );
label->setEnabled( false ); // see above
connect( mExternalEditorCheck, TQT_SIGNAL(toggled(bool)),
@@ -2913,8 +2913,8 @@ TQString ComposerPage::PhrasesTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-composer-phrases");
}
-ComposerPagePhrasesTab::ComposerPagePhrasesTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+ComposerPagePhrasesTab::ComposerPagePhrasesTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
// tmp. vars:
TQGridLayout *glay;
@@ -3037,7 +3037,7 @@ void ComposerPage::PhrasesTab::slotAddNewLanguage( const TQString& lang )
locale.translate("Forwarded Message"),
locale.translate(">%_") ) );
mRemoveButton->setEnabled( true );
- slotLanguageChanged( TQString::null );
+ slotLanguageChanged( TQString() );
}
void ComposerPage::PhrasesTab::slotRemoveLanguage()
@@ -3125,8 +3125,8 @@ TQString ComposerPage::TemplatesTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-composer-templates");
}
-ComposerPageTemplatesTab::ComposerPageTemplatesTab( TQWidget * parent, const char * name )
- : ConfigModuleTab ( parent, name )
+ComposerPageTemplatesTab::ComposerPageTemplatesTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab ( tqparent, name )
{
TQVBoxLayout* vlay = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
@@ -3149,8 +3149,8 @@ TQString ComposerPage::CustomTemplatesTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-composer-custom-templates");
}
-ComposerPageCustomTemplatesTab::ComposerPageCustomTemplatesTab( TQWidget * parent, const char * name )
- : ConfigModuleTab ( parent, name )
+ComposerPageCustomTemplatesTab::ComposerPageCustomTemplatesTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab ( tqparent, name )
{
TQVBoxLayout* vlay = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
@@ -3173,8 +3173,8 @@ TQString ComposerPage::SubjectTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-composer-subject");
}
-ComposerPageSubjectTab::ComposerPageSubjectTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+ComposerPageSubjectTab::ComposerPageSubjectTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
// tmp. vars:
TQVBoxLayout *vlay;
@@ -3257,8 +3257,8 @@ TQString ComposerPage::CharsetTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-composer-charset");
}
-ComposerPageCharsetTab::ComposerPageCharsetTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+ComposerPageCharsetTab::ComposerPageCharsetTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
// tmp. vars:
TQVBoxLayout *vlay;
@@ -3268,7 +3268,7 @@ ComposerPageCharsetTab::ComposerPageCharsetTab( TQWidget * parent, const char *
label = new TQLabel( i18n("This list is checked for every outgoing message "
"from the top to the bottom for a charset that "
- "tqcontains all required characters."), this );
+ "contains all required characters."), this );
label->tqsetAlignment( WordBreak);
vlay->addWidget( label );
@@ -3316,7 +3316,7 @@ void ComposerPage::CharsetTab::slotVerifyCharset( TQString & charset ) {
}
KMessageBox::sorry( this, i18n("This charset is not supported.") );
- charset = TQString::null;
+ charset = TQString();
}
void ComposerPage::CharsetTab::doLoadOther() {
@@ -3352,8 +3352,8 @@ TQString ComposerPage::HeadersTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-composer-headers");
}
-ComposerPageHeadersTab::ComposerPageHeadersTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+ComposerPageHeadersTab::ComposerPageHeadersTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
// tmp. vars:
TQVBoxLayout *vlay;
@@ -3567,9 +3567,9 @@ TQString ComposerPage::AttachmentsTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-composer-attachments");
}
-ComposerPageAttachmentsTab::ComposerPageAttachmentsTab( TQWidget * parent,
+ComposerPageAttachmentsTab::ComposerPageAttachmentsTab( TQWidget * tqparent,
const char * name )
- : ConfigModuleTab( parent, name ) {
+ : ConfigModuleTab( tqparent, name ) {
// tmp. vars:
TQVBoxLayout *vlay;
TQLabel *label;
@@ -3672,8 +3672,8 @@ TQString SecurityPage::helpAnchor() const {
return TQString::tqfromLatin1("configure-security");
}
-SecurityPage::SecurityPage( TQWidget * parent, const char * name )
- : ConfigModuleWithTabs( parent, name )
+SecurityPage::SecurityPage( TQWidget * tqparent, const char * name )
+ : ConfigModuleWithTabs( tqparent, name )
{
//
// "Reading" tab:
@@ -3719,8 +3719,8 @@ TQString SecurityPage::GeneralTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-security-reading");
}
-SecurityPageGeneralTab::SecurityPageGeneralTab( TQWidget * parent, const char * name )
- : ConfigModuleTab ( parent, name )
+SecurityPageGeneralTab::SecurityPageGeneralTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab ( tqparent, name )
{
// tmp. vars:
TQVBoxLayout *vlay;
@@ -3733,7 +3733,7 @@ SecurityPageGeneralTab::SecurityPageGeneralTab( TQWidget * parent, const char *
vlay = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
- // QWhat'sThis texts
+ // TQWhat'sThis texts
TQString htmlWhatsThis = i18n( "<qt><p>Messages sometimes come in both formats. "
"This option controls whether you want the HTML part or the plain "
"text part to be displayed.</p>"
@@ -3855,7 +3855,7 @@ SecurityPageGeneralTab::SecurityPageGeneralTab( TQWidget * parent, const char *
mMDNGroup->insert( radio );
for ( int i = 0 ; i < mMDNGroup->count() ; ++i )
- TQWhatsThis::add( mMDNGroup->find( i ), receiptWhatsThis );
+ TQWhatsThis::add( mMDNGroup->tqfind( i ), receiptWhatsThis );
w = new TQWidget( hbox ); // spacer
hbox->setStretchFactor( w, 1 );
@@ -3961,7 +3961,7 @@ void SecurityPage::GeneralTab::save() {
if (reader.readBoolEntry( "htmlMail", false ) != mHtmlMailCheck->isChecked())
{
if (KMessageBox::warningContinueCancel(this, i18n("Changing the global "
- "HTML setting will override all folder specific values."), TQString::null,
+ "HTML setting will override all folder specific values."), TQString(),
KStdGuiItem::cont(), "htmlMailOverride") == KMessageBox::Continue)
{
reader.writeEntry( "htmlMail", mHtmlMailCheck->isChecked() );
@@ -3996,8 +3996,8 @@ TQString SecurityPage::ComposerCryptoTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-security-composing");
}
-SecurityPageComposerCryptoTab::SecurityPageComposerCryptoTab( TQWidget * parent, const char * name )
- : ConfigModuleTab ( parent, name )
+SecurityPageComposerCryptoTab::SecurityPageComposerCryptoTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab ( tqparent, name )
{
// the margins are inside mWidget itself
TQVBoxLayout* vlay = new TQVBoxLayout( this, 0, 0 );
@@ -4071,8 +4071,8 @@ TQString SecurityPage::WarningTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-security-warnings");
}
-SecurityPageWarningTab::SecurityPageWarningTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+SecurityPageWarningTab::SecurityPageWarningTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
// the margins are inside mWidget itself
TQVBoxLayout* vlay = new TQVBoxLayout( this, 0, 0 );
@@ -4180,8 +4180,8 @@ TQString SecurityPage::SMimeTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-security-smime-validation");
}
-SecurityPageSMimeTab::SecurityPageSMimeTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+SecurityPageSMimeTab::SecurityPageSMimeTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
// the margins are inside mWidget itself
TQVBoxLayout* vlay = new TQVBoxLayout( this, 0, 0 );
@@ -4498,8 +4498,8 @@ TQString SecurityPage::CryptPlugTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-security-crypto-backends");
}
-SecurityPageCryptPlugTab::SecurityPageCryptPlugTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+SecurityPageCryptPlugTab::SecurityPageCryptPlugTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
TQVBoxLayout * vlay = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
@@ -4531,8 +4531,8 @@ TQString MiscPage::helpAnchor() const {
return TQString::tqfromLatin1("configure-misc");
}
-MiscPage::MiscPage( TQWidget * parent, const char * name )
- : ConfigModuleWithTabs( parent, name )
+MiscPage::MiscPage( TQWidget * tqparent, const char * name )
+ : ConfigModuleWithTabs( tqparent, name )
{
mFolderTab = new FolderTab();
addTab( mFolderTab, i18n("&Folders") );
@@ -4546,8 +4546,8 @@ TQString MiscPage::FolderTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-misc-folders");
}
-MiscPageFolderTab::MiscPageFolderTab( TQWidget * parent, const char * name )
- : ConfigModuleTab( parent, name )
+MiscPageFolderTab::MiscPageFolderTab( TQWidget * tqparent, const char * name )
+ : ConfigModuleTab( tqparent, name )
{
// temp. vars:
TQVBoxLayout *vlay;
@@ -4781,7 +4781,7 @@ void MiscPage::FolderTab::save() {
general.writeEntry( "confirm-before-empty", mEmptyFolderConfirmCheck->isChecked() );
general.writeEntry( "default-mailbox-format", mMailboxPrefCombo->currentItem() );
general.writeEntry( "startupFolder", mOnStartupOpenFolder->folder() ?
- mOnStartupOpenFolder->folder()->idString() : TQString::null );
+ mOnStartupOpenFolder->folder()->idString() : TQString() );
GlobalSettings::self()->setDelayedMarkAsRead( mDelayedMarkAsRead->isChecked() );
GlobalSettings::self()->setDelayedMarkTime( mDelayedMarkTime->value() );
@@ -4800,8 +4800,8 @@ TQString MiscPage::GroupwareTab::helpAnchor() const {
return TQString::tqfromLatin1("configure-misc-groupware");
}
-MiscPageGroupwareTab::MiscPageGroupwareTab( TQWidget* parent, const char* name )
- : ConfigModuleTab( parent, name )
+MiscPageGroupwareTab::MiscPageGroupwareTab( TQWidget* tqparent, const char* name )
+ : ConfigModuleTab( tqparent, name )
{
TQBoxLayout* vlay = new TQVBoxLayout( this, KDialog::marginHint(),
KDialog::spacingHint() );
@@ -4866,7 +4866,7 @@ MiscPageGroupwareTab::MiscPageGroupwareTab( TQWidget* parent, const char* name )
this, TQT_SLOT( slotEmitChanged( void ) ) );
mFolderComboLabel = new TQLabel( mBox ); // text depends on storage format
- toolTip = i18n( "Set the parent of the resource folders" );
+ toolTip = i18n( "Set the tqparent of the resource folders" );
whatsThis = i18n( GlobalSettings::self()->theIMAPResourceFolderParentItem()->whatsThis().utf8() );
TQToolTip::add( mFolderComboLabel, toolTip );
TQWhatsThis::add( mFolderComboLabel, whatsThis );
@@ -4999,7 +4999,7 @@ void MiscPageGroupwareTab::slotLegacyBodyInvitesToggled( bool on )
"resulting messages look very odd.<br>People that have email "
"programs that do understand invitations will still "
"be able to work with this.</qt>" );
- KMessageBox::information( this, txt, TQString::null,
+ KMessageBox::information( this, txt, TQString(),
"LegacyBodyInvitesWarning" );
}
// Invitations in the body are autosent in any case (no point in editing raw ICAL)
@@ -5051,7 +5051,7 @@ void MiscPage::GroupwareTab::doLoadFromGlobalSettings() {
KMAccount* selectedAccount = 0;
int accountId = GlobalSettings::self()->theIMAPResourceAccount();
if ( accountId )
- selectedAccount = kmkernel->acctMgr()->find( accountId );
+ selectedAccount = kmkernel->acctMgr()->tqfind( accountId );
else {
// Fallback: iterate over accounts to select folderId if found (as an inbox folder)
for( KMAccount *a = kmkernel->acctMgr()->first(); a!=0;