summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/actionconfigdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:43 -0600
commit2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076 (patch)
treec57406ac640b2ce83ebc0ec0cbc96d0e3e40d9b5 /quanta/dialogs/actionconfigdialog.cpp
parentff23fbd0f4265648d9a1d53f4230c3f7c78c4f77 (diff)
downloadtdewebdev-2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076.tar.gz
tdewebdev-2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'quanta/dialogs/actionconfigdialog.cpp')
-rw-r--r--quanta/dialogs/actionconfigdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/quanta/dialogs/actionconfigdialog.cpp b/quanta/dialogs/actionconfigdialog.cpp
index d5cace16..d8e44d45 100644
--- a/quanta/dialogs/actionconfigdialog.cpp
+++ b/quanta/dialogs/actionconfigdialog.cpp
@@ -190,7 +190,7 @@ void ActionConfigDialog::slotRemoveToolbar()
}
if (s != i18n("All"))
{
- if ( KMessageBox::warningContinueCancel(this, i18n("Do you really want to remove the \"%1\" toolbar?").tqarg(s),TQString(),KStdGuiItem::del()) == KMessageBox::Continue )
+ if ( KMessageBox::warningContinueCancel(this, i18n("Do you really want to remove the \"%1\" toolbar?").arg(s),TQString(),KStdGuiItem::del()) == KMessageBox::Continue )
{
m_toolbarItem = item;
connect(m_mainWindow, TQT_SIGNAL(toolbarRemoved(const TQString&)), TQT_SLOT(slotToolbarRemoved(const TQString&)));
@@ -682,7 +682,7 @@ void ActionConfigDialog::saveCurrentAction()
p_toolbar->guiClient->xmlFile(), p_toolbar->guiClient->instance());
}
TQWidget *toolBar = tb->page(i);
- if (toolBar->tqminimumSizeHint().height() > 20)
+ if (toolBar->minimumSizeHint().height() > 20)
{
toolBar->adjustSize();
toolBar->setGeometry(0,0, tb->width(), toolBar->height());
@@ -765,7 +765,7 @@ void ActionConfigDialog::slotShortcutCaptured(const KShortcut &shortcut)
TQString s = i18n("The '%1' key combination has already been allocated "
"to the \"%2\" action.\n"
"Please choose a unique key combination.").
- tqarg(shortcutText).tqarg(global);
+ arg(shortcutText).arg(global);
KMessageBox::sorry( this, s, i18n("Conflicting Shortcuts"));
}
}
@@ -805,7 +805,7 @@ void ActionConfigDialog::slotNewAction()
static_cast<TagAction*>(currentAction)->setModified(true);
TQListViewItem *currentItem = actionTreeView->currentItem();
TQListViewItem *item = new KListViewItem(allActionsItem);
- TQString actionText = TQString("Action_%1").tqarg(m_mainWindow->actionCollection()->count());
+ TQString actionText = TQString("Action_%1").arg(m_mainWindow->actionCollection()->count());
currentAction->setText(actionText);
item->setText(2, currentAction->name());
item->setText(0, actionText);
@@ -838,7 +838,7 @@ void ActionConfigDialog::slotNewAction()
void ActionConfigDialog::slotDeleteAction()
{
- if ( KMessageBox::warningContinueCancel(this, i18n("<qt>Removing the action removes all the references to it.\nAre you sure you want to remove the <b>%1</b> action?</qt>").tqarg(currentAction->text()),TQString(),KStdGuiItem::del()) == KMessageBox::Continue )
+ if ( KMessageBox::warningContinueCancel(this, i18n("<qt>Removing the action removes all the references to it.\nAre you sure you want to remove the <b>%1</b> action?</qt>").arg(currentAction->text()),TQString(),KStdGuiItem::del()) == KMessageBox::Continue )
{
TQString actionName = currentAction->name();
emit deleteUserAction(currentAction);