diff options
Diffstat (limited to 'kexi/formeditor/formmanager.cpp')
-rw-r--r-- | kexi/formeditor/formmanager.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kexi/formeditor/formmanager.cpp b/kexi/formeditor/formmanager.cpp index 14584e20..102acda3 100644 --- a/kexi/formeditor/formmanager.cpp +++ b/kexi/formeditor/formmanager.cpp @@ -121,7 +121,7 @@ FormManager::FormManager(TQObject *parent, int options, const char *name) TDEGlobal::locale()->insertCatalogue("kformdesigner"); #endif - connect( kapp, TQT_SIGNAL( settingsChanged(int) ), TQT_SLOT( slotSettingsChanged(int) ) ); + connect( kapp, TQ_SIGNAL( settingsChanged(int) ), TQ_SLOT( slotSettingsChanged(int) ) ); slotSettingsChanged(TDEApplication::SETTINGS_SHORTCUTS); //moved to createWidgetLibrary() m_lib = new WidgetLibrary(this, supportedFactoryGroups); @@ -139,9 +139,9 @@ FormManager::FormManager(TQObject *parent, int options, const char *name) m_domDoc.appendChild(m_domDoc.createElement("UI")); m_deleteWidgetLater_list.setAutoDelete(true); - connect( &m_deleteWidgetLater_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(deleteWidgetLaterTimeout())); - connect( this, TQT_SIGNAL(connectionCreated(KFormDesigner::Form*, KFormDesigner::Connection&)), - this, TQT_SLOT(slotConnectionCreated(KFormDesigner::Form*, KFormDesigner::Connection&))); + connect( &m_deleteWidgetLater_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(deleteWidgetLaterTimeout())); + connect( this, TQ_SIGNAL(connectionCreated(KFormDesigner::Form*, KFormDesigner::Connection&)), + this, TQ_SLOT(slotConnectionCreated(KFormDesigner::Form*, KFormDesigner::Connection&))); // register kfd custom editors KoProperty::FactoryManager::self()->registerFactoryForEditor(KoProperty::Pixmap, @@ -187,8 +187,8 @@ FormManager::setObjectTreeView(ObjectTreeView *treeview) { m_treeview = treeview; if (m_treeview) - connect(m_propSet, TQT_SIGNAL(widgetNameChanged(const TQCString&, const TQCString&)), - m_treeview, TQT_SLOT(renameItem(const TQCString&, const TQCString&))); + connect(m_propSet, TQ_SIGNAL(widgetNameChanged(const TQCString&, const TQCString&)), + m_treeview, TQ_SLOT(renameItem(const TQCString&, const TQCString&))); } ActionList @@ -196,13 +196,13 @@ FormManager::createActions(WidgetLibrary *lib, TDEActionCollection* collection, { m_collection = collection; - ActionList actions = lib->createWidgetActions(client, m_collection, this, TQT_SLOT(insertWidget(const TQCString &))); + ActionList actions = lib->createWidgetActions(client, m_collection, this, TQ_SLOT(insertWidget(const TQCString &))); if (m_options & HideSignalSlotConnections) m_dragConnection = 0; else { m_dragConnection = new TDEToggleAction(i18n("Connect Signals/Slots"), - "signalslot", TDEShortcut(0), this, TQT_SLOT(startCreatingConnection()), m_collection, + "signalslot", TDEShortcut(0), this, TQ_SLOT(startCreatingConnection()), m_collection, "drag_connection"); //to be exclusive with any 'widget' action m_dragConnection->setExclusiveGroup("LibActionWidgets"); @@ -211,7 +211,7 @@ FormManager::createActions(WidgetLibrary *lib, TDEActionCollection* collection, } m_pointer = new TDEToggleAction(i18n("Pointer"), "mouse_pointer", TDEShortcut(0), - this, TQT_SLOT(slotPointerClicked()), m_collection, "pointer"); + this, TQ_SLOT(slotPointerClicked()), m_collection, "pointer"); m_pointer->setExclusiveGroup("LibActionWidgets"); //to be exclusive with any 'widget' action m_pointer->setChecked(true); actions.append(m_pointer); @@ -223,7 +223,7 @@ FormManager::createActions(WidgetLibrary *lib, TDEActionCollection* collection, // Create the Style selection action (with a combo box in toolbar and submenu items) TDESelectAction *m_style = new TDESelectAction( i18n("Style"), TDEShortcut(0), - this, TQT_SLOT(slotStyle()), m_collection, "change_style"); + this, TQ_SLOT(slotStyle()), m_collection, "change_style"); m_style->setEditable(false); TDEGlobal::config()->setGroup("General"); @@ -628,17 +628,17 @@ FormManager::initForm(Form *form) m_active = form; - connect(form, TQT_SIGNAL(selectionChanged(TQWidget*, bool, bool)), - m_propSet, TQT_SLOT(setSelectedWidgetWithoutReload(TQWidget*, bool, bool))); + connect(form, TQ_SIGNAL(selectionChanged(TQWidget*, bool, bool)), + m_propSet, TQ_SLOT(setSelectedWidgetWithoutReload(TQWidget*, bool, bool))); if(m_treeview) { - connect(form, TQT_SIGNAL(selectionChanged(TQWidget*, bool, bool)), - m_treeview, TQT_SLOT(setSelectedWidget(TQWidget*, bool))); - connect(form, TQT_SIGNAL(childAdded(ObjectTreeItem* )), m_treeview, TQT_SLOT(addItem(ObjectTreeItem*))); - connect(form, TQT_SIGNAL(childRemoved(ObjectTreeItem* )), m_treeview, TQT_SLOT(removeItem(ObjectTreeItem*))); + connect(form, TQ_SIGNAL(selectionChanged(TQWidget*, bool, bool)), + m_treeview, TQ_SLOT(setSelectedWidget(TQWidget*, bool))); + connect(form, TQ_SIGNAL(childAdded(ObjectTreeItem* )), m_treeview, TQ_SLOT(addItem(ObjectTreeItem*))); + connect(form, TQ_SIGNAL(childRemoved(ObjectTreeItem* )), m_treeview, TQ_SLOT(removeItem(ObjectTreeItem*))); } - connect(m_propSet, TQT_SIGNAL(widgetNameChanged(const TQCString&, const TQCString&)), - form, TQT_SLOT(changeName(const TQCString&, const TQCString&))); + connect(m_propSet, TQ_SIGNAL(widgetNameChanged(const TQCString&, const TQCString&)), + form, TQ_SLOT(changeName(const TQCString&, const TQCString&))); form->setSelectedWidget(form->widget()); windowChanged(form->widget()); @@ -923,7 +923,7 @@ FormManager::createContextMenu(TQWidget *w, Container *container, bool popupAtCu /*int id =*/ m_popup->insertItem(i18n("Choose Buddy..."), sub); // menuIds->append(id); - connect(sub, TQT_SIGNAL(activated(int)), this, TQT_SLOT(buddyChosen(int))); + connect(sub, TQ_SIGNAL(activated(int)), this, TQ_SLOT(buddyChosen(int))); separatorNeeded = true; } @@ -946,7 +946,7 @@ FormManager::createContextMenu(TQWidget *w, Container *container, bool popupAtCu // menuIds->append(id); if(list.isEmpty()) m_popup->setItemEnabled(id, false); - connect(sigMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(menuSignalChosen(int))); + connect(sigMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(menuSignalChosen(int))); separatorNeeded = true; } #endif |