diff options
Diffstat (limited to 'kexi/formeditor/editlistviewdialog.cpp')
-rw-r--r-- | kexi/formeditor/editlistviewdialog.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kexi/formeditor/editlistviewdialog.cpp b/kexi/formeditor/editlistviewdialog.cpp index 55bf34e1..b453bafb 100644 --- a/kexi/formeditor/editlistviewdialog.cpp +++ b/kexi/formeditor/editlistviewdialog.cpp @@ -55,35 +55,35 @@ EditListViewDialog::EditListViewDialog(TQWidget *parent) newRow->setTextLabel(i18n("&Add Item"), true); vlayout->addWidget(newRow); m_buttons.insert(BNewRow, newRow); - connect(newRow, TQT_SIGNAL(clicked()), this, TQT_SLOT(newRow())); + connect(newRow, TQ_SIGNAL(clicked()), this, TQ_SLOT(newRow())); TQToolButton *newChild = new TQToolButton(m_contents); newChild->setIconSet(BarIconSet("1rightarrow")); newChild->setTextLabel(i18n("New &Subitem"), true); vlayout->addWidget(newChild); m_buttons.insert(BNewChild, newChild); - connect(newChild, TQT_SIGNAL(clicked()), this, TQT_SLOT(newChildRow())); + connect(newChild, TQ_SIGNAL(clicked()), this, TQ_SLOT(newChildRow())); TQToolButton *delRow = new TQToolButton(m_contents); delRow->setIconSet(BarIconSet("edit_remove")); delRow->setTextLabel(i18n("&Remove Item"), true); vlayout->addWidget(delRow); m_buttons.insert(BRemRow, delRow); - connect(delRow, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeRow())); + connect(delRow, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeRow())); TQToolButton *rowUp = new TQToolButton(m_contents); rowUp->setIconSet(BarIconSet("1uparrow")); rowUp->setTextLabel(i18n("Move Item &Up"), true); vlayout->addWidget(rowUp); m_buttons.insert(BRowUp, rowUp); - connect(rowUp, TQT_SIGNAL(clicked()), this, TQT_SLOT(MoveRowUp())); + connect(rowUp, TQ_SIGNAL(clicked()), this, TQ_SLOT(MoveRowUp())); TQToolButton *rowDown = new TQToolButton(m_contents); rowDown->setIconSet(BarIconSet("1downarrow")); rowDown->setTextLabel(i18n("Move Item &Down"), true); vlayout->addWidget(rowDown); m_buttons.insert(BRowDown, rowDown); - connect(rowDown, TQT_SIGNAL(clicked()), this, TQT_SLOT(MoveRowDown())); + connect(rowDown, TQ_SIGNAL(clicked()), this, TQ_SLOT(MoveRowDown())); vlayout->addStretch(); //// The listview /////////// @@ -98,8 +98,8 @@ EditListViewDialog::EditListViewDialog(TQWidget *parent) m_listview->setSorting(-1); layout->addWidget(m_listview); m_listview->setFocus(); - connect(m_listview, TQT_SIGNAL(currentChanged(TQListViewItem*)), this, TQT_SLOT(updateButtons(TQListViewItem*))); - connect(m_listview, TQT_SIGNAL(moved(TQListViewItem*, TQListViewItem*, TQListViewItem*)), this, TQT_SLOT(updateButtons(TQListViewItem*))); + connect(m_listview, TQ_SIGNAL(currentChanged(TQListViewItem*)), this, TQ_SLOT(updateButtons(TQListViewItem*))); + connect(m_listview, TQ_SIGNAL(moved(TQListViewItem*, TQListViewItem*, TQListViewItem*)), this, TQ_SLOT(updateButtons(TQListViewItem*))); /////////////////// Setup the columns page //////////////// TQHBoxLayout *hbox = new TQHBoxLayout(m_column, 0, 6); @@ -113,8 +113,8 @@ EditListViewDialog::EditListViewDialog(TQWidget *parent) m_propSet->addProperty(new KoProperty::Property("resizable", TQVariant(true), i18n("Resizable"), i18n("Resizable") )); m_propSet->addProperty(new KoProperty::Property("fullwidth", TQVariant(false), i18n("Full Width"), i18n("Full Width") )); m_editor->changeSet(m_propSet); - connect(m_propSet, TQT_SIGNAL(propertyChanged(KoProperty::Set & KoProperty::Property&)), - this, TQT_SLOT(changeProperty(KoProperty::Set & KoProperty::Property&))); + connect(m_propSet, TQ_SIGNAL(propertyChanged(KoProperty::Set & KoProperty::Property&)), + this, TQ_SLOT(changeProperty(KoProperty::Set & KoProperty::Property&))); // Setup the icon toolbar ////////// TQVBoxLayout *vbox = new TQVBoxLayout(hbox, 3); @@ -123,28 +123,28 @@ EditListViewDialog::EditListViewDialog(TQWidget *parent) add->setTextLabel(i18n("&Add Item"), true); vbox->addWidget(add); m_buttons.insert(BColAdd, add); - connect(add, TQT_SIGNAL(clicked()), this, TQT_SLOT(newItem())); + connect(add, TQ_SIGNAL(clicked()), this, TQ_SLOT(newItem())); TQToolButton *remove = new TQToolButton(m_column); remove->setIconSet(BarIconSet("edit_remove")); remove->setTextLabel(i18n("&Remove Item"), true); vbox->addWidget(remove); m_buttons.insert(BColRem, remove); - connect(remove, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeItem())); + connect(remove, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeItem())); TQToolButton *up = new TQToolButton(m_column); up->setIconSet(BarIconSet("1uparrow")); up->setTextLabel(i18n("Move Item &Up"), true); vbox->addWidget(up); m_buttons.insert(BColUp, up); - connect(up, TQT_SIGNAL(clicked()), this, TQT_SLOT(MoveItemUp())); + connect(up, TQ_SIGNAL(clicked()), this, TQ_SLOT(MoveItemUp())); TQToolButton *down = new TQToolButton(m_column); down->setIconSet(BarIconSet("1downarrow")); down->setTextLabel(i18n("Move Item &Down"), true); vbox->addWidget(down); m_buttons.insert(BColDown, down); - connect(down, TQT_SIGNAL(clicked()), this, TQT_SLOT(MoveItemDown())); + connect(down, TQ_SIGNAL(clicked()), this, TQ_SLOT(MoveItemDown())); vbox->addStretch(); // The listbox with columns name ///// @@ -152,7 +152,7 @@ EditListViewDialog::EditListViewDialog(TQWidget *parent) m_listbox->setFocus(); hbox->insertWidget(0, m_listbox); hbox->addWidget(m_editor); - connect(m_listbox, TQT_SIGNAL(currentChanged(TQListBoxItem*)), this, TQT_SLOT(updateItemProperties(TQListBoxItem*))); + connect(m_listbox, TQ_SIGNAL(currentChanged(TQListBoxItem*)), this, TQ_SLOT(updateItemProperties(TQListBoxItem*))); //// Init dialog and display it //////////////////////// setInitialSize(TQSize(500, 300), true); |