From 83677e35509b4dafac63b76995652bdf3b49f209 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:34 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 808e453c56036211f57482ed847d54aca01bba68. --- kppp/accounts.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kppp/accounts.cpp') diff --git a/kppp/accounts.cpp b/kppp/accounts.cpp index 66fac600..450e2a1b 100644 --- a/kppp/accounts.cpp +++ b/kppp/accounts.cpp @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include #include @@ -75,7 +75,7 @@ AccountWidget::AccountWidget( TQWidget *parent, const char *name ) connect(edit_b, TQT_SIGNAL(clicked()), TQT_SLOT(editaccount())); TQWhatsThis::add(edit_b, i18n("Allows you to modify the selected account")); - min = edit_b->sizeHint().width(); + min = edit_b->tqsizeHint().width(); min = TQMAX(70,min); edit_b->setMinimumWidth(min); @@ -116,7 +116,7 @@ AccountWidget::AccountWidget( TQWidget *parent, const char *name ) costedit = new TQLineEdit(parent); costedit->setFocusPolicy(TQ_NoFocus); - costedit->setFixedHeight(costedit->sizeHint().height()); + costedit->setFixedHeight(costedit->tqsizeHint().height()); costedit->setEnabled(FALSE); l121->addWidget(costedit); l121->addStretch(1); @@ -135,7 +135,7 @@ AccountWidget::AccountWidget( TQWidget *parent, const char *name ) voledit = new TQLineEdit(parent,"voledit"); voledit->setFocusPolicy(TQ_NoFocus); - voledit->setFixedHeight(voledit->sizeHint().height()); + voledit->setFixedHeight(voledit->tqsizeHint().height()); voledit->setEnabled(FALSE); l121->addWidget(voledit); tmp = i18n("

This shows the number of bytes transferred\n" @@ -324,7 +324,7 @@ void AccountWidget::copyaccount() { void AccountWidget::deleteaccount() { TQString s = i18n("Are you sure you want to delete\nthe account \"%1\"?") - .arg(accountlist_l->text(accountlist_l->currentItem())); + .tqarg(accountlist_l->text(accountlist_l->currentItem())); if(KMessageBox::warningYesNo(this, s, i18n("Confirm"), KGuiItem(i18n("Delete"), "editdelete"), KStdGuiItem::cancel()) != KMessageBox::Yes) return; @@ -450,7 +450,7 @@ QueryReset::QueryReset(TQWidget *parent) : TQDialog(parent, 0, true) { l1->activate(); - // this activates the f-layout and sets minimumSize() + // this activates the f-tqlayout and sets tqminimumSize() f->show(); tl->addWidget(f); @@ -466,11 +466,11 @@ QueryReset::QueryReset(TQWidget *parent) : TQDialog(parent, 0, true) { connect(cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject())); - bbox->layout(); + bbox->tqlayout(); tl->addWidget(bbox); // TODO: activate if KGroupBox is fixed - // setFixedSize(sizeHint()); + // setFixedSize(tqsizeHint()); } -- cgit v1.2.1