diff options
Diffstat (limited to 'lib/koproperty')
-rw-r--r-- | lib/koproperty/editor.cpp | 48 | ||||
-rw-r--r-- | lib/koproperty/editors/booledit.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/coloredit.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/combobox.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/dateedit.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/datetimeedit.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/fontedit.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/linestyledit.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/pixmapedit.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/spinbox.cpp | 4 | ||||
-rw-r--r-- | lib/koproperty/editors/stringedit.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/stringlistedit.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/symbolcombo.cpp | 4 | ||||
-rw-r--r-- | lib/koproperty/editors/timeedit.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/editors/urledit.cpp | 2 | ||||
-rw-r--r-- | lib/koproperty/set.cpp | 16 |
16 files changed, 48 insertions, 48 deletions
diff --git a/lib/koproperty/editor.cpp b/lib/koproperty/editor.cpp index 8dfb6e8bb..8c62f14b2 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 diff --git a/lib/koproperty/editors/booledit.cpp b/lib/koproperty/editors/booledit.cpp index fb71a4453..a913c4835 100644 --- a/lib/koproperty/editors/booledit.cpp +++ b/lib/koproperty/editors/booledit.cpp @@ -50,7 +50,7 @@ BoolEdit::BoolEdit(Property *property, TQWidget *parent, const char *name) m_toggle->move(0, 0); m_toggle->resize(width(), height()); setFocusWidget(m_toggle); - connect(m_toggle, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(slotValueChanged(int))); + connect(m_toggle, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(slotValueChanged(int))); } BoolEdit::~BoolEdit() diff --git a/lib/koproperty/editors/coloredit.cpp b/lib/koproperty/editors/coloredit.cpp index f3cb2a2a4..9288abb4a 100644 --- a/lib/koproperty/editors/coloredit.cpp +++ b/lib/koproperty/editors/coloredit.cpp @@ -35,7 +35,7 @@ ColorButton::ColorButton(Property *property, TQWidget *parent, const char *name) TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new KColorCombo(this); m_edit->setFocusPolicy(TQWidget::NoFocus); - connect(m_edit, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotValueChanged(int))); + connect(m_edit, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotValueChanged(int))); m_edit->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding); m_edit->setMinimumHeight(5); l->addWidget(m_edit); diff --git a/lib/koproperty/editors/combobox.cpp b/lib/koproperty/editors/combobox.cpp index 92b437e9a..3438beabd 100644 --- a/lib/koproperty/editors/combobox.cpp +++ b/lib/koproperty/editors/combobox.cpp @@ -53,7 +53,7 @@ ComboBox::ComboBox(Property *property, TQWidget *parent, const char *name) //not needed for combo setLeavesTheSpaceForRevertButton(true); setFocusWidget(m_edit); - connect(m_edit, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotValueChanged(int))); + connect(m_edit, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotValueChanged(int))); } ComboBox::~ComboBox() diff --git a/lib/koproperty/editors/dateedit.cpp b/lib/koproperty/editors/dateedit.cpp index 4b61d80ff..2c39ecc35 100644 --- a/lib/koproperty/editors/dateedit.cpp +++ b/lib/koproperty/editors/dateedit.cpp @@ -44,7 +44,7 @@ DateEdit::DateEdit(Property *property, TQWidget *parent, const char *name) setLeavesTheSpaceForRevertButton(true); setFocusWidget(m_edit); - connect(m_edit, TQT_SIGNAL(valueChanged(const TQDate&)), this, TQT_SLOT(slotValueChanged(const TQDate&))); + connect(m_edit, TQ_SIGNAL(valueChanged(const TQDate&)), this, TQ_SLOT(slotValueChanged(const TQDate&))); } DateEdit::~DateEdit() diff --git a/lib/koproperty/editors/datetimeedit.cpp b/lib/koproperty/editors/datetimeedit.cpp index 74636c894..d45ae2df7 100644 --- a/lib/koproperty/editors/datetimeedit.cpp +++ b/lib/koproperty/editors/datetimeedit.cpp @@ -43,7 +43,7 @@ DateTimeEdit::DateTimeEdit(Property *property, TQWidget *parent, const char *nam setLeavesTheSpaceForRevertButton(true); setFocusWidget(m_edit); - connect(m_edit, TQT_SIGNAL(valueChanged(const TQDateTime&)), this, TQT_SLOT(slotValueChanged(const TQDateTime&))); + connect(m_edit, TQ_SIGNAL(valueChanged(const TQDateTime&)), this, TQ_SLOT(slotValueChanged(const TQDateTime&))); } DateTimeEdit::~DateTimeEdit() diff --git a/lib/koproperty/editors/fontedit.cpp b/lib/koproperty/editors/fontedit.cpp index e53e785f3..e9f48db7e 100644 --- a/lib/koproperty/editors/fontedit.cpp +++ b/lib/koproperty/editors/fontedit.cpp @@ -86,7 +86,7 @@ FontEdit::FontEdit(Property *property, TQWidget *parent, const char *name) m_edit->setMinimumHeight(5); setEditor(m_edit); setFocusWidget(m_edit->label()); - connect(m_edit, TQT_SIGNAL(fontSelected(const TQFont& )), this, TQT_SLOT(slotValueChanged(const TQFont&))); + connect(m_edit, TQ_SIGNAL(fontSelected(const TQFont& )), this, TQ_SLOT(slotValueChanged(const TQFont&))); } FontEdit::~FontEdit() diff --git a/lib/koproperty/editors/linestyledit.cpp b/lib/koproperty/editors/linestyledit.cpp index b8345390c..f1b5e30ee 100644 --- a/lib/koproperty/editors/linestyledit.cpp +++ b/lib/koproperty/editors/linestyledit.cpp @@ -152,7 +152,7 @@ LineStyleEdit::LineStyleEdit(Property *property, TQWidget *parent, const char *n setLeavesTheSpaceForRevertButton(true); setFocusWidget(m_edit); - connect(m_edit, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotValueChanged(int))); + connect(m_edit, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotValueChanged(int))); } LineStyleEdit::~LineStyleEdit() diff --git a/lib/koproperty/editors/pixmapedit.cpp b/lib/koproperty/editors/pixmapedit.cpp index 070de038b..0aac449ae 100644 --- a/lib/koproperty/editors/pixmapedit.cpp +++ b/lib/koproperty/editors/pixmapedit.cpp @@ -80,7 +80,7 @@ PixmapEdit::PixmapEdit(Property *property, TQWidget *parent, const char *name) m_popup->hide(); setFocusWidget(m_edit); - connect(m_button, TQT_SIGNAL(clicked()), this, TQT_SLOT(selectPixmap())); + connect(m_button, TQ_SIGNAL(clicked()), this, TQ_SLOT(selectPixmap())); } PixmapEdit::~PixmapEdit() diff --git a/lib/koproperty/editors/spinbox.cpp b/lib/koproperty/editors/spinbox.cpp index 3a53d9a06..fcb6ab896 100644 --- a/lib/koproperty/editors/spinbox.cpp +++ b/lib/koproperty/editors/spinbox.cpp @@ -102,7 +102,7 @@ IntEdit::IntEdit(Property *property, TQWidget *parent, const char *name) setLeavesTheSpaceForRevertButton(true); setFocusWidget(m_edit); - connect(m_edit, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotValueChanged(int))); + connect(m_edit, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotValueChanged(int))); } IntEdit::~IntEdit() @@ -253,7 +253,7 @@ DoubleEdit::DoubleEdit(Property *property, TQWidget *parent, const char *name) setLeavesTheSpaceForRevertButton(true); setFocusWidget(m_edit); - connect(m_edit, TQT_SIGNAL(valueChanged(double)), this, TQT_SLOT(slotValueChanged(double))); + connect(m_edit, TQ_SIGNAL(valueChanged(double)), this, TQ_SLOT(slotValueChanged(double))); } DoubleEdit::~DoubleEdit() diff --git a/lib/koproperty/editors/stringedit.cpp b/lib/koproperty/editors/stringedit.cpp index 1b61a251d..0d0be87b7 100644 --- a/lib/koproperty/editors/stringedit.cpp +++ b/lib/koproperty/editors/stringedit.cpp @@ -37,7 +37,7 @@ StringEdit::StringEdit(Property *property, TQWidget *parent, const char *name) l->addWidget(m_edit); setFocusWidget(m_edit); - connect(m_edit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotValueChanged(const TQString&))); + connect(m_edit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotValueChanged(const TQString&))); } StringEdit::~StringEdit() diff --git a/lib/koproperty/editors/stringlistedit.cpp b/lib/koproperty/editors/stringlistedit.cpp index dee5b335e..79e7257e3 100644 --- a/lib/koproperty/editors/stringlistedit.cpp +++ b/lib/koproperty/editors/stringlistedit.cpp @@ -55,7 +55,7 @@ StringListEdit::StringListEdit(Property *property, TQWidget *parent, const char l->addWidget(m_selectButton); setFocusWidget(m_selectButton); - connect(m_selectButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(showEditor())); + connect(m_selectButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(showEditor())); } StringListEdit::~StringListEdit() diff --git a/lib/koproperty/editors/symbolcombo.cpp b/lib/koproperty/editors/symbolcombo.cpp index 98882e58b..8c2308ee4 100644 --- a/lib/koproperty/editors/symbolcombo.cpp +++ b/lib/koproperty/editors/symbolcombo.cpp @@ -50,8 +50,8 @@ SymbolCombo::SymbolCombo(Property *property, TQWidget *parent, const char *name) m_select->setMinimumHeight(5); l->addWidget(m_select); - connect(m_select, TQT_SIGNAL(clicked()), this, TQT_SLOT(selectChar())); - connect(m_edit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotValueChanged(const TQString&))); + connect(m_select, TQ_SIGNAL(clicked()), this, TQ_SLOT(selectChar())); + connect(m_edit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotValueChanged(const TQString&))); } SymbolCombo::~SymbolCombo() diff --git a/lib/koproperty/editors/timeedit.cpp b/lib/koproperty/editors/timeedit.cpp index 94692a47a..d7c41b67f 100644 --- a/lib/koproperty/editors/timeedit.cpp +++ b/lib/koproperty/editors/timeedit.cpp @@ -43,7 +43,7 @@ TimeEdit::TimeEdit(Property *property, TQWidget *parent, const char *name) l->addWidget(m_edit); setLeavesTheSpaceForRevertButton(true); - connect(m_edit, TQT_SIGNAL(valueChanged(const TQTime&)), this, TQT_SLOT(slotValueChanged(const TQTime&))); + connect(m_edit, TQ_SIGNAL(valueChanged(const TQTime&)), this, TQ_SLOT(slotValueChanged(const TQTime&))); } TimeEdit::~TimeEdit() diff --git a/lib/koproperty/editors/urledit.cpp b/lib/koproperty/editors/urledit.cpp index 426fe0bd3..78ee3e879 100644 --- a/lib/koproperty/editors/urledit.cpp +++ b/lib/koproperty/editors/urledit.cpp @@ -42,7 +42,7 @@ URLEdit::URLEdit(Property *property, TQWidget *parent, const char *name) setProperty(property); - connect(m_edit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotValueChanged(const TQString&))); + connect(m_edit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotValueChanged(const TQString&))); m_edit->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding); } diff --git a/lib/koproperty/set.cpp b/lib/koproperty/set.cpp index 16fdacc8d..3d50a2b15 100644 --- a/lib/koproperty/set.cpp +++ b/lib/koproperty/set.cpp @@ -439,21 +439,21 @@ Set::typeName() const Buffer::Buffer() :Set(false) { - connect( this, TQT_SIGNAL( propertyChanged( KoProperty::Set&, KoProperty::Property& ) ), - this, TQT_SLOT(intersectedChanged( KoProperty::Set&, KoProperty::Property& ) ) ); + connect( this, TQ_SIGNAL( propertyChanged( KoProperty::Set&, KoProperty::Property& ) ), + this, TQ_SLOT(intersectedChanged( KoProperty::Set&, KoProperty::Property& ) ) ); - connect( this, TQT_SIGNAL( propertyReset( KoProperty::Set&, KoProperty::Property& ) ), - this, TQT_SLOT(intersectedReset( KoProperty::Set&, KoProperty::Property& ) ) ); + connect( this, TQ_SIGNAL( propertyReset( KoProperty::Set&, KoProperty::Property& ) ), + this, TQ_SLOT(intersectedReset( KoProperty::Set&, KoProperty::Property& ) ) ); } Buffer::Buffer(const Set *set) :Set(false) { - connect( this, TQT_SIGNAL( propertyChanged( KoProperty::Set&, KoProperty::Property& ) ), - this, TQT_SLOT(intersectedChanged( KoProperty::Set&, KoProperty::Property& ) ) ); + connect( this, TQ_SIGNAL( propertyChanged( KoProperty::Set&, KoProperty::Property& ) ), + this, TQ_SLOT(intersectedChanged( KoProperty::Set&, KoProperty::Property& ) ) ); - connect( this, TQT_SIGNAL( propertyReset( KoProperty::Set&, KoProperty::Property& ) ), - this, TQT_SLOT(intersectedReset( KoProperty::Set&, KoProperty::Property& ) ) ); + connect( this, TQ_SIGNAL( propertyReset( KoProperty::Set&, KoProperty::Property& ) ), + this, TQ_SLOT(intersectedReset( KoProperty::Set&, KoProperty::Property& ) ) ); initialSet( set ); } |