summaryrefslogtreecommitdiffstats
path: root/knode/knconfigwidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knconfigwidgets.cpp')
-rw-r--r--knode/knconfigwidgets.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/knode/knconfigwidgets.cpp b/knode/knconfigwidgets.cpp
index 91fba601e..d70ebfa43 100644
--- a/knode/knconfigwidgets.cpp
+++ b/knode/knconfigwidgets.cpp
@@ -213,7 +213,7 @@ void KNConfig::IdentityWidget::save()
d_ata->s_igningKey = s_igningKey->keyIDs().first();
d_ata->u_seSigFile=s_igFile->isChecked();
d_ata->u_seSigGenerator=s_igGenerator->isChecked();
- d_ata->s_igPath=c_ompletion->replacedPath(s_ig->text());
+ d_ata->s_igPath=c_ompletion->tqreplacedPath(s_ig->text());
d_ata->s_igText=s_igEditor->text();
if(d_ata->isGlobal())
@@ -242,7 +242,7 @@ void KNConfig::IdentityWidget::slotSignatureType(int type)
void KNConfig::IdentityWidget::slotSignatureChoose()
{
- TQString tmp=KFileDialog::getOpenFileName(c_ompletion->replacedPath(s_ig->text()),TQString::null,this,i18n("Choose Signature"));
+ TQString tmp=KFileDialog::getOpenFileName(c_ompletion->tqreplacedPath(s_ig->text()),TQString::null,this,i18n("Choose Signature"));
if(!tmp.isEmpty()) s_ig->setText(tmp);
emit changed( true );
}
@@ -250,7 +250,7 @@ void KNConfig::IdentityWidget::slotSignatureChoose()
void KNConfig::IdentityWidget::slotSignatureEdit()
{
- TQString fileName = c_ompletion->replacedPath(s_ig->text()).stripWhiteSpace();
+ TQString fileName = c_ompletion->tqreplacedPath(s_ig->text()).stripWhiteSpace();
if (fileName.isEmpty()) {
KMessageBox::sorry(this, i18n("You must specify a filename."));
@@ -561,7 +561,7 @@ KNConfig::NntpAccountConfDialog::NntpAccountConfDialog(KNNntpAccount *a, TQWidge
connect( knGlobals.accountManager(), TQT_SIGNAL(passwordsChanged()), TQT_SLOT(slotPasswordChanged()) );
- KNHelper::restoreWindowSize("accNewsPropDLG", this, sizeHint());
+ KNHelper::restoreWindowSize("accNewsPropDLG", this, tqsizeHint());
setHelp("anc-setting-the-news-account");
}
@@ -896,7 +896,7 @@ void KNConfig::AppearanceWidget::defaults()
colorItem->setColor(d_ata->defaultColor(i));
}
c_List->triggerUpdate(true);
- c_List->repaint(true);
+ c_List->tqrepaint(true);
// default fonts
FontListItem *fontItem;
@@ -1548,8 +1548,8 @@ KNConfig::DisplayedHeaderConfDialog::DisplayedHeaderConfDialog(KNDisplayedHeader
v_alueCB[i]->setChecked(h->flag(i+4));
}
- setFixedHeight(sizeHint().height());
- KNHelper::restoreWindowSize("accReadHdrPropDLG", this, sizeHint());
+ setFixedHeight(tqsizeHint().height());
+ KNHelper::restoreWindowSize("accReadHdrPropDLG", this, tqsizeHint());
connect(n_ameE, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotNameChanged(const TQString&)));
@@ -2138,8 +2138,8 @@ KNConfig::XHeaderConfDialog::XHeaderConfDialog(const TQString &h, TQWidget *p, c
v_alue->setText(h.mid(pos, h.length()-pos));
}
- setFixedHeight(sizeHint().height());
- KNHelper::restoreWindowSize("XHeaderDlg", this, sizeHint());
+ setFixedHeight(tqsizeHint().height());
+ KNHelper::restoreWindowSize("XHeaderDlg", this, tqsizeHint());
n_ame->setFocus();
}
@@ -2157,7 +2157,7 @@ TQString KNConfig::XHeaderConfDialog::result()
{
TQString value = v_alue->text();
// just in case someone pastes a newline
- value.replace( '\n', ' ' );
+ value.tqreplace( '\n', ' ' );
return TQString( "X-%1: %2" ).arg( n_ame->text() ).arg( value );
}
@@ -2237,7 +2237,7 @@ KNConfig::PostNewsComposerWidget::PostNewsComposerWidget( PostNewsComposer *d, T
connect(e_ditor, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(changed()));
editorL->addWidget(btn,1,2);
- editorL->addMultiCellWidget(new TQLabel(i18n("%f will be replaced with the filename to edit."), editorB),2,2,0,2);
+ editorL->addMultiCellWidget(new TQLabel(i18n("%f will be tqreplaced with the filename to edit."), editorB),2,2,0,2);
e_xternCB=new TQCheckBox(i18n("Start exte&rnal editor automatically"), editorB);
editorL->addMultiCellWidget(e_xternCB, 3,3,0,2);
@@ -2373,10 +2373,10 @@ KNConfig::GroupCleanupWidget::GroupCleanupWidget( Cleanup *data, TQWidget *paren
mExpGroup = new TQGroupBox( i18n("Newsgroup Cleanup Settings"), this );
mExpGroup->setColumnLayout(0, Qt::Vertical );
- mExpGroup->layout()->setSpacing( KDialog::spacingHint() );
- mExpGroup->layout()->setMargin( KDialog::marginHint() );
+ mExpGroup->tqlayout()->setSpacing( KDialog::spacingHint() );
+ mExpGroup->tqlayout()->setMargin( KDialog::marginHint() );
top->addWidget( mExpGroup );
- TQGridLayout *grid = new TQGridLayout( mExpGroup->layout(), 7, 2 );
+ TQGridLayout *grid = new TQGridLayout( mExpGroup->tqlayout(), 7, 2 );
grid->setRowSpacing( 0, KDialog::spacingHint() );
@@ -2482,11 +2482,11 @@ KNConfig::CleanupWidget::CleanupWidget( TQWidget *p, const char *n ) :
TQGroupBox *foldersB=new TQGroupBox(i18n("Folders"), this);
foldersB->setColumnLayout(0, Qt::Vertical );
- foldersB->layout()->setSpacing( KDialog::spacingHint() );
- foldersB->layout()->setMargin( KDialog::marginHint() );
+ foldersB->tqlayout()->setSpacing( KDialog::spacingHint() );
+ foldersB->tqlayout()->setMargin( KDialog::marginHint() );
topL->addWidget(foldersB);
- TQGridLayout *foldersL=new TQGridLayout(foldersB->layout(), 3,2);
+ TQGridLayout *foldersL=new TQGridLayout(foldersB->tqlayout(), 3,2);
foldersL->setRowSpacing( 0, KDialog::spacingHint() );