diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:22:34 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:22:34 -0600 |
commit | d4ad38145541b8aabb0623e9a81d72f4d4310c90 (patch) | |
tree | 74c26b01296ee1b5df1ebc9fed71fae373653367 /juk/filerenamer.cpp | |
parent | dc07846059a60d069687585cc72ff501a2096296 (diff) | |
download | tdemultimedia-d4ad38145541b8aabb0623e9a81d72f4d4310c90.tar.gz tdemultimedia-d4ad38145541b8aabb0623e9a81d72f4d4310c90.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'juk/filerenamer.cpp')
-rw-r--r-- | juk/filerenamer.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/juk/filerenamer.cpp b/juk/filerenamer.cpp index 871d8b89..31570dbd 100644 --- a/juk/filerenamer.cpp +++ b/juk/filerenamer.cpp @@ -232,7 +232,7 @@ FileRenamerWidget::FileRenamerWidget(TQWidget *parent) : m_exampleText->setPaletteBackgroundColor(temp->paletteBackgroundColor()); delete temp; - tqlayout()->setMargin(0); // We'll be wrapped by KDialogBase + layout()->setMargin(0); // We'll be wrapped by KDialogBase // This must be created before createTagRows() is called. @@ -410,7 +410,7 @@ bool FileRenamerWidget::removeRow(unsigned id) if(m_rows[id].position > 0) checkboxPosition = m_rows[id].position - 1; - // The checkbox is contained within a tqlayout widget, so the tqlayout + // The checkbox is contained within a layout widget, so the layout // widget is the one the needs to die. delete m_folderSwitches[checkboxPosition]->parent(); m_folderSwitches.erase(&m_folderSwitches[checkboxPosition]); @@ -675,17 +675,17 @@ void FileRenamerWidget::moveItem(unsigned id, MovementDirection direction) // Move the item two spaces above/below its previous position. It has to // be 2 spaces because of the checkbox. - TQBoxLayout *tqlayout = dynamic_cast<TQBoxLayout *>(m_mainFrame->tqlayout()); + TQBoxLayout *layout = dynamic_cast<TQBoxLayout *>(m_mainFrame->layout()); - tqlayout->remove(l); - tqlayout->insertWidget(2 * newPos, l); + layout->remove(l); + layout->insertWidget(2 * newPos, l); // Move the top item two spaces in the opposite direction, for a similar // reason. - tqlayout->remove(w); - tqlayout->insertWidget(2 * pos, w); - tqlayout->invalidate(); + layout->remove(w); + layout->insertWidget(2 * pos, w); + layout->invalidate(); TQTimer::singleShot(0, this, TQT_SLOT(exampleTextChanged())); } @@ -778,7 +778,7 @@ void FileRenamerWidget::insertCategory() // Set its down button to be disabled. m_rows[id].downButton->setEnabled(false); - m_mainFrame->tqlayout()->invalidate(); + m_mainFrame->layout()->invalidate(); m_mainView->update(); // Now update according to the code in loadConfig(). |