diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:59:34 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:59:34 -0600 |
commit | 83677e35509b4dafac63b76995652bdf3b49f209 (patch) | |
tree | 591f1dc22278addb439726c42896376b17bb42bd /kdict/sets.cpp | |
parent | 808e453c56036211f57482ed847d54aca01bba68 (diff) | |
download | tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'kdict/sets.cpp')
-rw-r--r-- | kdict/sets.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdict/sets.cpp b/kdict/sets.cpp index 2d98efc5..fe3f2636 100644 --- a/kdict/sets.cpp +++ b/kdict/sets.cpp @@ -14,7 +14,7 @@ ------------------------------------------------------------- */ #include <tqpushbutton.h> -#include <layout.h> +#include <tqlayout.h> #include <tqlabel.h> #include <tqcombobox.h> @@ -44,12 +44,12 @@ DbSetsDialog::DbSetsDialog(TQWidget *parent, const char *name) topLayout->addLayout(subLayout1,0); w_set = new TQComboBox(true,page); - w_set->setFixedHeight(w_set->sizeHint().height()); + w_set->setFixedHeight(w_set->tqsizeHint().height()); w_set->setInsertionPolicy (TQComboBox::NoInsertion); w_set->insertStringList(sets); connect(w_set, TQT_SIGNAL(activated(int)),this, TQT_SLOT(activateSet(int))); TQLabel *l = new TQLabel(w_set, i18n("&Set:"),page); - l->setMinimumSize(l->sizeHint()); + l->setMinimumSize(l->tqsizeHint()); subLayout1->addWidget(l,0); subLayout1->addWidget(w_set,1); @@ -60,12 +60,12 @@ DbSetsDialog::DbSetsDialog(TQWidget *parent, const char *name) subLayout1->addWidget(w_save,0); TQPushButton *btn = new TQPushButton(i18n("&New"),page); - btn->setMinimumSize(btn->sizeHint()); + btn->setMinimumSize(btn->tqsizeHint()); connect(btn, TQT_SIGNAL(clicked()),this, TQT_SLOT(newPressed())); subLayout1->addWidget(btn,0); w_delete = new TQPushButton(i18n("&Delete"),page); - w_delete->setMinimumSize(w_delete->sizeHint()); + w_delete->setMinimumSize(w_delete->tqsizeHint()); connect(w_delete, TQT_SIGNAL(clicked()),this, TQT_SLOT(deletePressed())); subLayout1->addWidget(w_delete,0); @@ -83,7 +83,7 @@ DbSetsDialog::DbSetsDialog(TQWidget *parent, const char *name) connect(w_leftBox, TQT_SIGNAL(selected(int)),this, TQT_SLOT(leftSelected(int))); connect(w_leftBox, TQT_SIGNAL(highlighted(int)),this, TQT_SLOT(leftHighlighted(int))); TQLabel *leftLabel = new TQLabel(w_leftBox, i18n("S&elected databases:"),page); - leftLabel->setMinimumSize(leftLabel->sizeHint()); + leftLabel->setMinimumSize(leftLabel->tqsizeHint()); subLayout2->addWidget(leftLabel,0,0); subLayout2->addMultiCellWidget(w_leftBox,1,6,0,0); @@ -111,7 +111,7 @@ DbSetsDialog::DbSetsDialog(TQWidget *parent, const char *name) connect(w_rightBox, TQT_SIGNAL(selected(int)),this, TQT_SLOT(rightSelected(int))); connect(w_rightBox, TQT_SIGNAL(highlighted(int)),this, TQT_SLOT(rightHighlighted(int))); TQLabel *rightLabel = new TQLabel(w_rightBox, i18n("A&vailable databases:"),page); - rightLabel->setMinimumSize(rightLabel->sizeHint()); + rightLabel->setMinimumSize(rightLabel->tqsizeHint()); subLayout2->addWidget(rightLabel,0,2); subLayout2->addMultiCellWidget(w_rightBox,1,6,2,2); @@ -264,8 +264,8 @@ void DbSetsDialog::activateSet(int num) w_set->clearEdit(); w_delete->setEnabled(false); w_save->setEnabled(false); - w_rightBox->repaint(true); // Workaround for repaint-bug - w_leftBox->repaint(true); // Workaround for repaint-bug + w_rightBox->tqrepaint(true); // Workaround for tqrepaint-bug + w_leftBox->tqrepaint(true); // Workaround for tqrepaint-bug } else { w_set->setCurrentItem(num); for (unsigned int i=0;i<global->serverDatabases.count();i++) @@ -278,9 +278,9 @@ void DbSetsDialog::activateSet(int num) w_delete->setEnabled(true); w_save->setEnabled(true); if (w_rightBox->count()==0) - w_rightBox->repaint(true); // Workaround for repaint-bug + w_rightBox->tqrepaint(true); // Workaround for tqrepaint-bug if (w_leftBox->count()==0) - w_leftBox->repaint(true); // Workaround for repaint-bug + w_leftBox->tqrepaint(true); // Workaround for tqrepaint-bug w_leftBox->clearSelection(); w_leftBox->centerCurrentItem(); w_rightBox->clearSelection(); |