diff options
Diffstat (limited to 'lib/koproperty/editor.cpp')
-rw-r--r-- | lib/koproperty/editor.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/lib/koproperty/editor.cpp b/lib/koproperty/editor.cpp index 8dfb6e8b..8c62f14b 100644 --- a/lib/koproperty/editor.cpp +++ b/lib/koproperty/editor.cpp @@ -77,8 +77,8 @@ class EditorPrivate previouslyCollapsedGroupItem = 0; childFormPreviouslyCollapsedGroupItem = 0; slotPropertyChanged_enabled = true; - TQObject::connect(&changeSetLaterTimer, TQT_SIGNAL(timeout()), - editor, TQT_SLOT(changeSetLater())); + TQObject::connect(&changeSetLaterTimer, TQ_SIGNAL(timeout()), + editor, TQ_SLOT(changeSetLater())); } ~EditorPrivate() { @@ -141,7 +141,7 @@ Editor::Editor(TQWidget *parent, bool autoSync, const char *name) d->undoButton->setPixmap(SmallIcon("edit-undo")); TQToolTip::add(d->undoButton, i18n("Undo changes")); d->undoButton->hide(); - connect(d->undoButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(undo())); + connect(d->undoButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(undo())); installEventFilter(this); viewport()->installEventFilter(this); @@ -164,14 +164,14 @@ Editor::Editor(TQWidget *parent, bool autoSync, const char *name) updateFont(); // d->baseRowHeight = TQFontMetrics(font()).height() + itemMargin()*2; - connect(this, TQT_SIGNAL(selectionChanged(TQListViewItem *)), this, TQT_SLOT(slotClicked(TQListViewItem *))); - connect(this, TQT_SIGNAL(currentChanged(TQListViewItem *)), this, TQT_SLOT(slotCurrentChanged(TQListViewItem *))); - connect(this, TQT_SIGNAL(expanded(TQListViewItem *)), this, TQT_SLOT(slotExpanded(TQListViewItem *))); - connect(this, TQT_SIGNAL(collapsed(TQListViewItem *)), this, TQT_SLOT(slotCollapsed(TQListViewItem *))); - connect(header(), TQT_SIGNAL(sizeChange(int, int, int)), this, TQT_SLOT(slotColumnSizeChanged(int, int, int))); -// connect(header(), TQT_SIGNAL(clicked(int)), this, TQT_SLOT(updateEditorGeometry())); -// connect(header(), TQT_SIGNAL(clicked(int)), this, TQT_SLOT(updateEditorGeometryAndGroupLabels())); - connect(header(), TQT_SIGNAL(sectionHandleDoubleClicked (int)), this, TQT_SLOT(slotColumnSizeChanged(int))); + connect(this, TQ_SIGNAL(selectionChanged(TQListViewItem *)), this, TQ_SLOT(slotClicked(TQListViewItem *))); + connect(this, TQ_SIGNAL(currentChanged(TQListViewItem *)), this, TQ_SLOT(slotCurrentChanged(TQListViewItem *))); + connect(this, TQ_SIGNAL(expanded(TQListViewItem *)), this, TQ_SLOT(slotExpanded(TQListViewItem *))); + connect(this, TQ_SIGNAL(collapsed(TQListViewItem *)), this, TQ_SLOT(slotCollapsed(TQListViewItem *))); + connect(header(), TQ_SIGNAL(sizeChange(int, int, int)), this, TQ_SLOT(slotColumnSizeChanged(int, int, int))); +// connect(header(), TQ_SIGNAL(clicked(int)), this, TQ_SLOT(updateEditorGeometry())); +// connect(header(), TQ_SIGNAL(clicked(int)), this, TQ_SLOT(updateEditorGeometryAndGroupLabels())); + connect(header(), TQ_SIGNAL(sectionHandleDoubleClicked (int)), this, TQ_SLOT(slotColumnSizeChanged(int))); updateGroupLabelsPosition(); } @@ -343,12 +343,12 @@ Editor::changeSetInternal(Set *set, bool preservePrevSelection, const TQCString& d->set = set; if (d->set) { //receive property changes - connect(d->set, TQT_SIGNAL(propertyChangedInternal(KoProperty::Set&, KoProperty::Property&)), - this, TQT_SLOT(slotPropertyChanged(KoProperty::Set&, KoProperty::Property&))); - connect(d->set, TQT_SIGNAL(propertyReset(KoProperty::Set&, KoProperty::Property&)), - this, TQT_SLOT(slotPropertyReset(KoProperty::Set&, KoProperty::Property&))); - connect(d->set,TQT_SIGNAL(aboutToBeCleared()), this, TQT_SLOT(slotSetWillBeCleared())); - connect(d->set,TQT_SIGNAL(aboutToBeDeleted()), this, TQT_SLOT(slotSetWillBeDeleted())); + connect(d->set, TQ_SIGNAL(propertyChangedInternal(KoProperty::Set&, KoProperty::Property&)), + this, TQ_SLOT(slotPropertyChanged(KoProperty::Set&, KoProperty::Property&))); + connect(d->set, TQ_SIGNAL(propertyReset(KoProperty::Set&, KoProperty::Property&)), + this, TQ_SLOT(slotPropertyReset(KoProperty::Set&, KoProperty::Property&))); + connect(d->set,TQ_SIGNAL(aboutToBeCleared()), this, TQ_SLOT(slotSetWillBeCleared())); + connect(d->set,TQ_SIGNAL(aboutToBeDeleted()), this, TQ_SLOT(slotSetWillBeDeleted())); } fill(); @@ -365,7 +365,7 @@ Editor::changeSetInternal(Set *set, bool preservePrevSelection, const TQCString& if (item) { d->itemToSelectLater = item; - TQTimer::singleShot(10, this, TQT_SLOT(selectItemLater())); + TQTimer::singleShot(10, this, TQ_SLOT(selectItemLater())); //d->doNotSetFocusOnSelection = !hasParent(this, focusWidget()); //setSelected(item, true); //d->doNotSetFocusOnSelection = false; @@ -644,12 +644,12 @@ Editor::createWidgetForProperty(Property *property, bool changeWidgetProperty) d->widgetCache[property] = widget; widget->setProperty(0); // to force reloading property later widget->hide(); - connect(widget, TQT_SIGNAL(valueChanged(Widget*)), - this, TQT_SLOT(slotWidgetValueChanged(Widget*)) ); - connect(widget, TQT_SIGNAL(acceptInput(Widget*)), - this, TQT_SLOT(slotWidgetAcceptInput(Widget*)) ); - connect(widget, TQT_SIGNAL(rejectInput(Widget*)), - this, TQT_SLOT(slotWidgetRejectInput(Widget*)) ); + connect(widget, TQ_SIGNAL(valueChanged(Widget*)), + this, TQ_SLOT(slotWidgetValueChanged(Widget*)) ); + connect(widget, TQ_SIGNAL(acceptInput(Widget*)), + this, TQ_SLOT(slotWidgetAcceptInput(Widget*)) ); + connect(widget, TQ_SIGNAL(rejectInput(Widget*)), + this, TQ_SLOT(slotWidgetRejectInput(Widget*)) ); } //update geometry earlier, because Widget::setValue() can depend on widget's geometry |