summaryrefslogtreecommitdiffstats
path: root/juk/filerenamer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/filerenamer.cpp')
-rw-r--r--juk/filerenamer.cpp18
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().