summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexicontextmenuutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/utils/kexicontextmenuutils.cpp')
-rw-r--r--kexi/widget/utils/kexicontextmenuutils.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/widget/utils/kexicontextmenuutils.cpp b/kexi/widget/utils/kexicontextmenuutils.cpp
index aeeec86d..3c6b22f0 100644
--- a/kexi/widget/utils/kexicontextmenuutils.cpp
+++ b/kexi/widget/utils/kexicontextmenuutils.cpp
@@ -96,7 +96,7 @@ KexiImageContextMenu::~KexiImageContextMenu()
void KexiImageContextMenu::insertFromFile()
{
-// TQWidget *focusWidget = tqApp->focusWidget();
+// TQWidget *tqfocusWidget = tqApp->tqfocusWidget();
#ifdef TQ_WS_WIN
TQString recentDir;
TQString fileName = TQFileDialog::getOpenFileName(
@@ -116,8 +116,8 @@ void KexiImageContextMenu::insertFromFile()
if (!url.isValid()) {
//focus the app again because to avoid annoying the user with unfocused main window
if (tqApp->mainWidget()) {
- //focusWidget->raise();
- //focusWidget->setFocus();
+ //tqfocusWidget->raise();
+ //tqfocusWidget->setFocus();
tqApp->mainWidget()->raise();
}
return;
@@ -133,8 +133,8 @@ void KexiImageContextMenu::insertFromFile()
emit insertFromFileRequested(url);
if (tqApp->mainWidget()) {
-// focusWidget->raise();
-// focusWidget->setFocus();
+// tqfocusWidget->raise();
+// tqfocusWidget->setFocus();
tqApp->mainWidget()->raise();
}
}
@@ -187,7 +187,7 @@ void KexiImageContextMenu::saveAs()
if (f.exists() && KMessageBox::Yes != KMessageBox::warningYesNo(this,
"<qt>"+i18n("File \"%1\" already exists."
"<p>Do you want to replace it with a new one?")
- .arg(TQDir::convertSeparators(fileName))+"</qt>",0,
+ .tqarg(TQDir::convertSeparators(fileName))+"</qt>",0,
KGuiItem(i18n("&Replace")), KGuiItem(i18n("&Don't Replace"))))
{
return;
@@ -268,8 +268,8 @@ bool KexiContextMenuUtils::updateTitle(TQPopupMenu *menu, const TQString& object
/*! @todo look at makeFirstCharacterUpperCaseInCaptions setting [bool]
(see doc/dev/settings.txt) */
TQString realTitle( i18n("Object name : Object type", "%1 : %2")
- .arg( objectName[0].upper() + objectName.mid(1) )
- .arg( objectTypeName ));
+ .tqarg( objectName[0].upper() + objectName.mid(1) )
+ .tqarg( objectTypeName ));
if (iconName.isEmpty())
title->setTitle(realTitle);