summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexibrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/kexibrowser.cpp')
-rw-r--r--kexi/widget/kexibrowser.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/kexi/widget/kexibrowser.cpp b/kexi/widget/kexibrowser.cpp
index 6a17bc94..44b957af 100644
--- a/kexi/widget/kexibrowser.cpp
+++ b/kexi/widget/kexibrowser.cpp
@@ -91,7 +91,7 @@ KexiBrowser::KexiBrowser(TQWidget* parent, KexiMainWindow *mainWin, int features
lyr->addWidget(m_list);
m_list->installEventFilter(this);
m_list->renameLineEdit()->installEventFilter(this);
- connect( kapp, TQT_SIGNAL( settingsChanged(int) ), TQT_SLOT( slotSettingsChanged(int) ) );
+ connect( kapp, TQ_SIGNAL( settingsChanged(int) ), TQ_SLOT( slotSettingsChanged(int) ) );
slotSettingsChanged(0);
m_list->header()->hide();
@@ -103,28 +103,28 @@ KexiBrowser::KexiBrowser(TQWidget* parent, KexiMainWindow *mainWin, int features
m_list->setTooltipColumn(0);
m_list->renameLineEdit()->setValidator( new KexiUtils::IdentifierValidator(this) );
m_list->setResizeMode(TQListView::LastColumn);
- connect(m_list, TQT_SIGNAL(contextMenu(TDEListView *, TQListViewItem *, const TQPoint &)),
- this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem *, const TQPoint&)));
- connect(m_list, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this,
- TQT_SLOT(slotSelectionChanged(TQListViewItem*)));
+ connect(m_list, TQ_SIGNAL(contextMenu(TDEListView *, TQListViewItem *, const TQPoint &)),
+ this, TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem *, const TQPoint&)));
+ connect(m_list, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this,
+ TQ_SLOT(slotSelectionChanged(TQListViewItem*)));
TDEConfig *config = kapp->config();
config->setGroup("MainWindow");
if ((m_features & SingleClickOpensItemOptionEnabled)
&& config->readBoolEntry("SingleClickOpensItem", false))
{
- connect(m_list, TQT_SIGNAL(executed(TQListViewItem*)), this,
- TQT_SLOT(slotExecuteItem(TQListViewItem*)));
+ connect(m_list, TQ_SIGNAL(executed(TQListViewItem*)), this,
+ TQ_SLOT(slotExecuteItem(TQListViewItem*)));
}
else {
- connect(m_list, TQT_SIGNAL(doubleClicked(TQListViewItem*)), this,
- TQT_SLOT(slotExecuteItem(TQListViewItem*)));
+ connect(m_list, TQ_SIGNAL(doubleClicked(TQListViewItem*)), this,
+ TQ_SLOT(slotExecuteItem(TQListViewItem*)));
m_list->enableExecuteArea = false;
}
// actions
m_openAction = new TDEAction(i18n("&Open"), "document-open", 0/*TQt::Key_Enter conflict!*/, this,
- TQT_SLOT(slotOpenObject()), this, "open_object");
+ TQ_SLOT(slotOpenObject()), this, "open_object");
m_openAction->setToolTip(i18n("Open object"));
m_openAction->setWhatsThis(i18n("Opens object selected in the list"));
@@ -146,20 +146,20 @@ KexiBrowser::KexiBrowser(TQWidget* parent, KexiMainWindow *mainWin, int features
}
else {
m_deleteAction = new TDEAction(i18n("&Delete"), "edit-delete", 0/*TQt::Key_Delete*/,
- this, TQT_SLOT(slotRemove()), m_actions, "edit_delete");
+ this, TQ_SLOT(slotRemove()), m_actions, "edit_delete");
//! @todo 1.1: just add "Delete" tooltip and what's this
m_deleteAction->setToolTip(i18n("&Delete").replace("&",""));
m_renameAction = new TDEAction(i18n("&Rename"), "", 0,
- this, TQT_SLOT(slotRename()), m_actions, "edit_rename");
+ this, TQ_SLOT(slotRename()), m_actions, "edit_rename");
#ifdef KEXI_SHOW_UNIMPLEMENTED
- //todo plugSharedAction("edit_cut",TQT_SLOT(slotCut()));
- //todo plugSharedAction("edit_copy",TQT_SLOT(slotCopy()));
- //todo plugSharedAction("edit_paste",TQT_SLOT(slotPaste()));
+ //todo plugSharedAction("edit_cut",TQ_SLOT(slotCut()));
+ //todo plugSharedAction("edit_copy",TQ_SLOT(slotCopy()));
+ //todo plugSharedAction("edit_paste",TQ_SLOT(slotPaste()));
#endif
m_designAction = new TDEAction(i18n("&Design"), "edit", 0/*TQt::CTRL + TQt::Key_Enter conflict!*/, this,
- TQT_SLOT(slotDesignObject()), this, "design_object");
+ TQ_SLOT(slotDesignObject()), this, "design_object");
m_designAction->setToolTip(i18n("Design object"));
m_designAction->setWhatsThis(i18n("Starts designing of the object selected in the list"));
if (m_features & Toolbar) {
@@ -168,20 +168,20 @@ KexiBrowser::KexiBrowser(TQWidget* parent, KexiMainWindow *mainWin, int features
}
m_editTextAction = new TDEAction(i18n("Open in &Text View"), "", 0, this,
- TQT_SLOT(slotEditTextObject()), this, "editText_object");
+ TQ_SLOT(slotEditTextObject()), this, "editText_object");
m_editTextAction->setToolTip(i18n("Open object in text view"));
m_editTextAction->setWhatsThis(i18n("Opens selected object in the list in text view"));
- m_newObjectAction = new TDEAction("", "document-new", 0, this, TQT_SLOT(slotNewObject()), this, "new_object");
+ m_newObjectAction = new TDEAction("", "document-new", 0, this, TQ_SLOT(slotNewObject()), this, "new_object");
if (m_features & Toolbar) {
m_newObjectToolButton = new KexiSmallToolButton(this, "", TQIconSet(), "new_object");
m_newObjectPopup = new TDEPopupMenu(this, "newObjectPopup");
- connect(m_newObjectPopup, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(slotNewObjectPopupAboutToShow()));
+ connect(m_newObjectPopup, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(slotNewObjectPopupAboutToShow()));
// KexiPart::Part* part = Kexi::partManager().part("kexi/table");
// m_newObjectPopup->insertItem( SmallIconSet(part->info()->createItemIcon()), part->instanceName() );
m_newObjectToolButton->setPopup(m_newObjectPopup);
m_newObjectToolButton->setPopupDelay(TQApplication::startDragTime());
- connect(m_newObjectToolButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewObject()));
+ connect(m_newObjectToolButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewObject()));
buttons_flyr->add(m_newObjectToolButton);
m_deleteObjectToolButton = new KexiSmallToolButton(this, m_deleteAction);
@@ -191,21 +191,21 @@ KexiBrowser::KexiBrowser(TQWidget* parent, KexiMainWindow *mainWin, int features
}
m_executeAction = new TDEAction(i18n("Execute"), "media-playback-start", 0, this,
- TQT_SLOT(slotExecuteObject()), this, "data_execute");
+ TQ_SLOT(slotExecuteObject()), this, "data_execute");
m_exportActionMenu = new TDEActionMenu(i18n("Export"));
m_dataExportAction = new TDEAction(i18n("Export->To File as Data &Table... ", "To &File as Data Table..."),
- "table", 0, this, TQT_SLOT(slotExportAsDataTable()), this, "exportAsDataTable");
+ "table", 0, this, TQ_SLOT(slotExportAsDataTable()), this, "exportAsDataTable");
m_dataExportAction->setWhatsThis(
i18n("Exports data from the currently selected table or query data to a file."));
m_exportActionMenu->insert( m_dataExportAction );
m_printAction = new TDEAction(i18n("&Print..."), "document-print", 0, this,
- TQT_SLOT(slotPrintItem()), this, "printItem");
+ TQ_SLOT(slotPrintItem()), this, "printItem");
m_printAction->setWhatsThis(
i18n("Prints data from the currently selected table or query."));
m_pageSetupAction = new TDEAction(i18n("Page Setup..."), "", 0, this,
- TQT_SLOT(slotPageSetupForItem()), this, "pageSetupForItem");
+ TQ_SLOT(slotPageSetupForItem()), this, "pageSetupForItem");
m_pageSetupAction->setWhatsThis(
i18n("Shows page setup for printing the active table or query."));