summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets/kexidbutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/widgets/kexidbutils.cpp')
-rw-r--r--kexi/plugins/forms/widgets/kexidbutils.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbutils.cpp b/kexi/plugins/forms/widgets/kexidbutils.cpp
index 0c08d64c..ba9f2aec 100644
--- a/kexi/plugins/forms/widgets/kexidbutils.cpp
+++ b/kexi/plugins/forms/widgets/kexidbutils.cpp
@@ -30,15 +30,15 @@
#include <widget/utils/kexicontextmenuutils.h>
-QColor lighterGrayBackgroundColor(const QPalette& palette)
+TQColor lighterGrayBackgroundColor(const TQPalette& palette)
{
return KexiUtils::blendedColors(palette.active().background(), palette.active().base(), 1, 2);
}
//-------
-KexiDBWidgetContextMenuExtender::KexiDBWidgetContextMenuExtender( QObject* parent, KexiDataItemInterface* iface )
- : QObject(parent)
+KexiDBWidgetContextMenuExtender::KexiDBWidgetContextMenuExtender( TQObject* tqparent, KexiDataItemInterface* iface )
+ : TQObject(tqparent)
, m_iface(iface)
, m_contextMenuHasTitle(false)
{
@@ -48,7 +48,7 @@ KexiDBWidgetContextMenuExtender::~KexiDBWidgetContextMenuExtender()
{
}
-void KexiDBWidgetContextMenuExtender::createTitle(QPopupMenu *menu)
+void KexiDBWidgetContextMenuExtender::createTitle(TQPopupMenu *menu)
{
if (!menu)
return;
@@ -56,9 +56,9 @@ void KexiDBWidgetContextMenuExtender::createTitle(QPopupMenu *menu)
KPopupTitle *titleItem = new KPopupTitle();
const int id = m_contextMenu->insertItem(titleItem, -1, 0);
m_contextMenu->setItemEnabled(id, false);
- QString icon;
- if (dynamic_cast<QWidget*>(m_iface))
- icon = KexiFormPart::library()->iconName(dynamic_cast<QWidget*>(m_iface)->className());
+ TQString icon;
+ if (dynamic_cast<TQWidget*>(m_iface))
+ icon = KexiFormPart::library()->iconName(dynamic_cast<TQWidget*>(m_iface)->className());
m_contextMenuHasTitle = m_iface->columnInfo() ?
KexiContextMenuUtils::updateTitle(m_contextMenu,