diff options
Diffstat (limited to 'src/iteminterface.cpp')
-rw-r--r-- | src/iteminterface.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/iteminterface.cpp b/src/iteminterface.cpp index 3e94b1a..3fcac4b 100644 --- a/src/iteminterface.cpp +++ b/src/iteminterface.cpp @@ -74,8 +74,8 @@ void ItemInterface::slotItemDocumentChanged( ItemDocument * doc ) slotClearAll(); if ( ItemDocument * itemDocument = dynamic_cast<ItemDocument*>((Document*)p_cvb) ) { - disconnect( itemDocument, TQT_SIGNAL(itemSelected(Item*)), this, TQT_SLOT(slotUpdateItemInterface()) ); - disconnect( itemDocument, TQT_SIGNAL(itemUnselected(Item*)), this, TQT_SLOT(slotUpdateItemInterface()) ); + disconnect( itemDocument, TQ_SIGNAL(itemSelected(Item*)), this, TQ_SLOT(slotUpdateItemInterface()) ); + disconnect( itemDocument, TQ_SIGNAL(itemUnselected(Item*)), this, TQ_SLOT(slotUpdateItemInterface()) ); } p_itemGroup = 0l; @@ -86,8 +86,8 @@ void ItemInterface::slotItemDocumentChanged( ItemDocument * doc ) if (!p_cvb) return; - connect( p_cvb, TQT_SIGNAL(itemSelected(Item*)), this, TQT_SLOT(slotUpdateItemInterface()) ); - connect( p_cvb, TQT_SIGNAL(itemUnselected(Item*)), this, TQT_SLOT(slotUpdateItemInterface()) ); + connect( p_cvb, TQ_SIGNAL(itemSelected(Item*)), this, TQ_SLOT(slotUpdateItemInterface()) ); + connect( p_cvb, TQ_SIGNAL(itemUnselected(Item*)), this, TQ_SLOT(slotUpdateItemInterface()) ); p_itemGroup = p_cvb->selectList(); @@ -285,8 +285,8 @@ TQWidget * ItemInterface::configWidget() box->setEditable( true ); m_stringComboBoxMap[vait.key()] = box; - connectMapWidget( box, TQT_SIGNAL(textChanged(const TQString &))); - connectMapWidget( box, TQT_SIGNAL(activated(const TQString &))); + connectMapWidget( box, TQ_SIGNAL(textChanged(const TQString &))); + connectMapWidget( box, TQ_SIGNAL(activated(const TQString &))); editWidget = box; break; @@ -301,7 +301,7 @@ TQWidget * ItemInterface::configWidget() KURLComboRequester * urlreq = new KURLComboRequester( configWidget ); urlreq->setFilter( vait.data()->filter() ); - connectMapWidget( urlreq, TQT_SIGNAL(urlSelected(const TQString &)) ); + connectMapWidget( urlreq, TQ_SIGNAL(urlSelected(const TQString &)) ); m_stringURLReqMap[vait.key()] = urlreq; KComboBox * box = urlreq->comboBox(); @@ -312,8 +312,8 @@ TQWidget * ItemInterface::configWidget() urlreq->setURL( vait.data()->value().toString() ); // Generally we only want a file name once the user has finished typing out the full file name. - connectMapWidget( box, TQT_SIGNAL(returnPressed(const TQString &))); - connectMapWidget( box, TQT_SIGNAL(activated(const TQString &))); + connectMapWidget( box, TQ_SIGNAL(returnPressed(const TQString &))); + connectMapWidget( box, TQ_SIGNAL(activated(const TQString &))); editWidget = urlreq; break; @@ -323,7 +323,7 @@ TQWidget * ItemInterface::configWidget() KLineEdit * edit = new KLineEdit( configWidget ); edit->setText( vait.data()->value().toString() ); - connectMapWidget(edit,TQT_SIGNAL(textChanged(const TQString &))); + connectMapWidget(edit,TQ_SIGNAL(textChanged(const TQString &))); m_stringLineEditMap[vait.key()] = edit; editWidget = edit; break; @@ -332,7 +332,7 @@ TQWidget * ItemInterface::configWidget() { KIntSpinBox *spin = new KIntSpinBox( (int)vait.data()->minValue(), (int)vait.data()->maxValue(), 1, vait.data()->value().toInt(), 10, configWidget ); - connectMapWidget( spin, TQT_SIGNAL(valueChanged(int)) ); + connectMapWidget( spin, TQ_SIGNAL(valueChanged(int)) ); m_intSpinBoxMap[vait.key()] = spin; editWidget = spin; break; @@ -341,7 +341,7 @@ TQWidget * ItemInterface::configWidget() { DoubleSpinBox *spin = new DoubleSpinBox( vait.data()->minValue(), vait.data()->maxValue(), vait.data()->minAbsValue(), vait.data()->value().toDouble(), vait.data()->unit(), configWidget ); - connectMapWidget( spin, TQT_SIGNAL(valueChanged(double))); + connectMapWidget( spin, TQ_SIGNAL(valueChanged(double))); m_doubleSpinBoxMap[vait.key()] = spin; editWidget = spin; break; @@ -353,7 +353,7 @@ TQWidget * ItemInterface::configWidget() ColorCombo * colorBox = new ColorCombo( (ColorCombo::ColorScheme)vait.data()->colorScheme(), configWidget ); colorBox->setColor( value ); - connectMapWidget( colorBox, TQT_SIGNAL(activated(const TQColor &))); + connectMapWidget( colorBox, TQ_SIGNAL(activated(const TQColor &))); m_colorComboMap[vait.key()] = colorBox; editWidget = colorBox; @@ -365,7 +365,7 @@ TQWidget * ItemInterface::configWidget() TQCheckBox * box = new TQCheckBox( vait.data()->toolbarCaption(), configWidget ); box->setChecked(value); - connectMapWidget( box, TQT_SIGNAL(toggled(bool))); + connectMapWidget( box, TQ_SIGNAL(toggled(bool))); m_boolCheckMap[vait.key()] = box; editWidget = box; break; @@ -430,7 +430,7 @@ TQWidget * ItemInterface::configWidget() void ItemInterface::connectMapWidget( TQWidget *widget, const char *_signal ) { - connect( widget, _signal, this, TQT_SLOT(tbDataChanged()) ); + connect( widget, _signal, this, TQ_SLOT(tbDataChanged()) ); } |