diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:31:01 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:31:01 -0600 |
commit | 252fce5a2a5384702fbcc1c9987284d7bd2e6943 (patch) | |
tree | d5768ff1e9065f29bec60c94d31880b38b4e82f2 /kmymoney2/dialogs/kenterscheduledlg.cpp | |
parent | 69ef6c4beaa37474a2170d0bfe842de647f53102 (diff) | |
download | kmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.tar.gz kmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmymoney2/dialogs/kenterscheduledlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/kenterscheduledlg.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/dialogs/kenterscheduledlg.cpp b/kmymoney2/dialogs/kenterscheduledlg.cpp index 4c078f1..c225de5 100644 --- a/kmymoney2/dialogs/kenterscheduledlg.cpp +++ b/kmymoney2/dialogs/kenterscheduledlg.cpp @@ -175,7 +175,7 @@ void KEnterScheduleDlg::resizeEvent(TQResizeEvent* ev) void KEnterScheduleDlg::slotSetupSize(void) { - resize(width(), tqminimumSizeHint().height()); + resize(width(), minimumSizeHint().height()); } int KEnterScheduleDlg::exec(void) @@ -266,10 +266,10 @@ TransactionEditor* KEnterScheduleDlg::startEdit(void) // Check if the editor has some preference on where to set the focus // If not, set the focus to the first widget in the tab order - TQWidget* tqfocusWidget = editor->firstWidget(); - if(!tqfocusWidget) - tqfocusWidget = d->m_tabOrderWidgets.first(); - tqfocusWidget->setFocus(); + TQWidget* focusWidget = editor->firstWidget(); + if(!focusWidget) + focusWidget = d->m_tabOrderWidgets.first(); + focusWidget->setFocus(); // Make sure, we use the adjusted date kMyMoneyDateInput* dateEdit = dynamic_cast<kMyMoneyDateInput*>(editor->haveWidget("postdate")); @@ -289,7 +289,7 @@ bool KEnterScheduleDlg::focusNextPrevChild(bool next) TQWidget *w = 0; TQWidget *currentWidget; - w = tqApp->tqfocusWidget(); + w = tqApp->focusWidget(); while(w && d->m_tabOrderWidgets.find(w) == -1) { // qDebug("'%s' not in list, use parent", w->className()); w = w->parentWidget(); |