summaryrefslogtreecommitdiffstats
path: root/src/modules/toolbareditor
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:20 -0600
commitc6611272c2bc4a42580848946c8c5d81bb0409c7 (patch)
tree0fd5b58844663dfcd00fb2b79cf67dd0fd429c62 /src/modules/toolbareditor
parent805c2821ceaddada48b346c6d11bd0dc1351a539 (diff)
downloadkvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.tar.gz
kvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 805c2821ceaddada48b346c6d11bd0dc1351a539.
Diffstat (limited to 'src/modules/toolbareditor')
-rw-r--r--src/modules/toolbareditor/toolbareditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/toolbareditor/toolbareditor.cpp b/src/modules/toolbareditor/toolbareditor.cpp
index 89155af1..34b06899 100644
--- a/src/modules/toolbareditor/toolbareditor.cpp
+++ b/src/modules/toolbareditor/toolbareditor.cpp
@@ -37,7 +37,7 @@
#include "kvi_draganddrop.h"
#include <tqpushbutton.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqapplication.h>
#include <tqtooltip.h>
@@ -61,7 +61,7 @@ KviTrashcanLabel::KviTrashcanLabel(TQWidget * p)
TQToolTip::add(this,__tr2qs("Drop here the icons from the toolbars to remove them"));
setFrameStyle(TQFrame::Sunken | TQFrame::WinPanel);
setAcceptDrops(true);
- setAlignment(TQt::AlignCenter);
+ tqsetAlignment(TQt::AlignCenter);
setMinimumSize(40,40);
m_uFlashCount = 0;
m_pFlashTimer = 0;
@@ -371,7 +371,7 @@ void KviCustomizeToolBarsDialog::deleteToolBar()
if(!t)return;
if(TQMessageBox::question(this,
__tr2qs("Confirm ToolBar Deletion"),
- __tr2qs("Do you really want to delete toolbar \"%1\" ?").arg(t->label()),
+ __tr2qs("Do you really want to delete toolbar \"%1\" ?").tqarg(t->label()),
__tr2qs("No"),
__tr2qs("Yes")) == 0)return;
KviCustomToolBarManager::instance()->destroyDescriptor(t->descriptor()->id());
@@ -462,7 +462,7 @@ void KviCustomizeToolBarsDialog::renameToolBar()
if(!t)return;
KviCustomToolBarPropertiesDialog * dlg = new KviCustomToolBarPropertiesDialog(this,
- __tr2qs("Please specify the properties for the toolbar \"%1\"").arg(t->label()),
+ __tr2qs("Please specify the properties for the toolbar \"%1\"").tqarg(t->label()),
t->descriptor()->id(),
t->descriptor()->labelCode(),
t->descriptor()->iconId());