summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/KMultiFormListBox
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/KMultiFormListBox')
-rw-r--r--kregexpeditor/KMultiFormListBox/ccp.cpp4
-rw-r--r--kregexpeditor/KMultiFormListBox/indexWindow.cpp2
-rw-r--r--kregexpeditor/KMultiFormListBox/indexWindow.h2
-rw-r--r--kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.cpp12
-rw-r--r--kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.h2
-rw-r--r--kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp18
-rw-r--r--kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.h2
-rw-r--r--kregexpeditor/KMultiFormListBox/tdemultiformlistbox.cpp4
-rw-r--r--kregexpeditor/KMultiFormListBox/tdemultiformlistbox.h2
-rw-r--r--kregexpeditor/KMultiFormListBox/tdemultiformlistboxentry.h2
-rw-r--r--kregexpeditor/KMultiFormListBox/widgetwindow.cpp10
11 files changed, 30 insertions, 30 deletions
diff --git a/kregexpeditor/KMultiFormListBox/ccp.cpp b/kregexpeditor/KMultiFormListBox/ccp.cpp
index 078ee7f..4f0d4b3 100644
--- a/kregexpeditor/KMultiFormListBox/ccp.cpp
+++ b/kregexpeditor/KMultiFormListBox/ccp.cpp
@@ -32,7 +32,7 @@
CCP::CCP(KMultiFormListBoxMultiVisible *ee_, KMultiFormListBoxEntry *eee_) : TQObject() {
ee = ee_;
eee = eee_;
- install(TQT_TQOBJECT(eee));
+ install(eee);
}
void CCP::install(TQObject *elm)
@@ -58,7 +58,7 @@ void CCP::install(TQObject *elm)
bool CCP::eventFilter(TQObject *, TQEvent *event)
{
if (event->type() != TQEvent::MouseButtonPress ||
- ((TQMouseEvent *) event)->button() != Qt::RightButton ||
+ ((TQMouseEvent *) event)->button() != TQt::RightButton ||
((TQMouseEvent *) event)->state() != TQEvent::ControlButton) {
return false;
}
diff --git a/kregexpeditor/KMultiFormListBox/indexWindow.cpp b/kregexpeditor/KMultiFormListBox/indexWindow.cpp
index 22bc14f..020ecf5 100644
--- a/kregexpeditor/KMultiFormListBox/indexWindow.cpp
+++ b/kregexpeditor/KMultiFormListBox/indexWindow.cpp
@@ -29,7 +29,7 @@
indexWindow::indexWindow() : TQWidget(0,"", WStyle_Customize | WType_Popup)
{
lb = new TQListBox(this);
- connect(lb,TQT_SIGNAL(selected(int)), this, TQT_SLOT(lbSelected(int)));
+ connect(lb,TQ_SIGNAL(selected(int)), this, TQ_SLOT(lbSelected(int)));
TQHBoxLayout *lay = new TQHBoxLayout(this);
lay->addWidget(lb);
lbFinish = false;
diff --git a/kregexpeditor/KMultiFormListBox/indexWindow.h b/kregexpeditor/KMultiFormListBox/indexWindow.h
index cf15393..a841bc0 100644
--- a/kregexpeditor/KMultiFormListBox/indexWindow.h
+++ b/kregexpeditor/KMultiFormListBox/indexWindow.h
@@ -40,7 +40,7 @@
**/
class indexWindow : public TQWidget{
-Q_OBJECT
+TQ_OBJECT
public:
diff --git a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.cpp b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.cpp
index 09c5052..a394c58 100644
--- a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.cpp
+++ b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.cpp
@@ -178,9 +178,9 @@ void KMultiFormListBoxMultiVisible::insertElmIntoWidget(KMultiFormListBoxEntry *
if (elm->indexButton()) {
elm->indexButton()->setPixmap(TQBitmap(indexButtonWidth, indexButtonHeight,
indexButtonBits, true));
- connect(elm->indexButton(), TQT_SIGNAL(clicked()), elm, TQT_SLOT(acceptIndexButton()));
- connect(elm, TQT_SIGNAL(gotoIndex(KMultiFormListBoxEntry *)),
- this, TQT_SLOT(showIndexList(KMultiFormListBoxEntry *)));
+ connect(elm->indexButton(), TQ_SIGNAL(clicked()), elm, TQ_SLOT(acceptIndexButton()));
+ connect(elm, TQ_SIGNAL(gotoIndex(KMultiFormListBoxEntry *)),
+ this, TQ_SLOT(showIndexList(KMultiFormListBoxEntry *)));
}
// Find the location to insert the new element.
@@ -266,14 +266,14 @@ void KMultiFormListBoxMultiVisible::cut(KMultiFormListBoxEntry *elm)
}
TQDataStream stream(clipboard, IO_WriteOnly);
- factory->toStream( TQT_TQOBJECT(elm), stream );
+ factory->toStream( elm, stream );
delElement(elm);
}
void KMultiFormListBoxMultiVisible::copy(KMultiFormListBoxEntry *elm)
{
TQDataStream stream(clipboard, IO_WriteOnly);
- factory->toStream(TQT_TQOBJECT(elm), stream);
+ factory->toStream(elm, stream);
}
void KMultiFormListBoxMultiVisible::paste(KMultiFormListBoxEntry *oldElm)
@@ -285,7 +285,7 @@ void KMultiFormListBoxMultiVisible::paste(KMultiFormListBoxEntry *oldElm)
KMultiFormListBoxEntry *newElm = factory->create(viewport());
TQDataStream stream( clipboard, IO_ReadOnly );
- factory->fromStream(stream, TQT_TQOBJECT(newElm));
+ factory->fromStream(stream, newElm);
insertElmIntoWidget(newElm,oldElm);
}
diff --git a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.h b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.h
index 5077496..f9cab74 100644
--- a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.h
+++ b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-multivisible.h
@@ -34,7 +34,7 @@
*/
class KMultiFormListBoxMultiVisible :public TQScrollView, KMultiFormListBoxShower {
-Q_OBJECT
+TQ_OBJECT
friend class KMultiFormListBox;
diff --git a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp
index f39c9e9..a366ad1 100644
--- a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp
+++ b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp
@@ -46,40 +46,40 @@ KMultiFormListBoxWindowed::KMultiFormListBoxWindowed(KMultiFormListBoxFactory *f
TQPushButton *but = new TQPushButton(addButtonText, this,"Add Button");
buttons->addWidget(but,0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SLOT(addNewElement()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SLOT(addNewElement()));
but = new TQPushButton(i18n("Edit"), this,"Edit Button");
buttons->addWidget(but,0);
- connect(but,TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditSelected()));
- connect(_listbox, TQT_SIGNAL(doubleClicked(TQListBoxItem *)), this, TQT_SLOT(slotEditSelected(TQListBoxItem *)));
+ connect(but,TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditSelected()));
+ connect(_listbox, TQ_SIGNAL(doubleClicked(TQListBoxItem *)), this, TQ_SLOT(slotEditSelected(TQListBoxItem *)));
_buttonList.append(but);
but = new TQPushButton(i18n("Delete"), this, "Delete Button");
buttons->addWidget(but,0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDeleteEntry()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDeleteEntry()));
_buttonList.append(but);
but = new TQPushButton(i18n("Copy"), this, "Copy Button");
buttons->addWidget(but,0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCopySelected()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCopySelected()));
_buttonList.append(but);
if (showUpDownButtons) {
but = new TQPushButton(i18n("Up"), this, "Up Button");
buttons->addWidget(but, 0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMoveItemUp()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotMoveItemUp()));
_buttonList.append(but);
but = new TQPushButton(i18n("Down"), this, "Down Button");
buttons->addWidget(but, 0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMoveItemDown()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotMoveItemDown()));
_buttonList.append(but);
}
if (showHelpButton) {
but = new KPushButton(KStdGuiItem::help(), this, "Help Button");
buttons->addWidget(but, 0);
- connect(but, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(showHelp()));
+ connect(but, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(showHelp()));
}
buttons->addStretch(1);
@@ -123,7 +123,7 @@ void KMultiFormListBoxWindowed::addNewElement()
TQWidget *widget = new WidgetWindow(_factory, _listbox);
widget->show();
- connect(widget, TQT_SIGNAL(finished()), this, TQT_SLOT(slotUpdateButtonState()));
+ connect(widget, TQ_SIGNAL(finished()), this, TQ_SLOT(slotUpdateButtonState()));
}
void KMultiFormListBoxWindowed::addElement()
diff --git a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.h b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.h
index 2b3a555..8f4e27a 100644
--- a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.h
+++ b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.h
@@ -37,7 +37,7 @@ class WindowListboxItem;
*/
class KMultiFormListBoxWindowed :public TQWidget, KMultiFormListBoxShower {
-Q_OBJECT
+TQ_OBJECT
friend class KMultiFormListBox;
diff --git a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox.cpp b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox.cpp
index 33eda27..2b22ee5 100644
--- a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox.cpp
+++ b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox.cpp
@@ -77,7 +77,7 @@ void KMultiFormListBox::toStream( TQDataStream& stream ) const
const KMultiFormListBoxEntryList elms = elements();
stream << elms.count();
for ( TQPtrListIterator<KMultiFormListBoxEntry> it(elms); *it; ++it)
- _factory->toStream( TQT_TQOBJECT(*it), stream );
+ _factory->toStream( *it, stream );
}
void KMultiFormListBox::fromStream( TQDataStream& stream )
@@ -97,7 +97,7 @@ void KMultiFormListBox::fromStream( TQDataStream& stream )
KMultiFormListBoxEntryList elms = elements();
for (TQPtrListIterator<KMultiFormListBoxEntry> it(elms); *it; ++it)
- _factory->fromStream( stream, TQT_TQOBJECT(*it) );
+ _factory->fromStream( stream, *it );
}
diff --git a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox.h b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox.h
index 1918625..f9917d0 100644
--- a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox.h
+++ b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox.h
@@ -62,7 +62,7 @@ class KMultiFormListBoxMultiVisible;
**/
class KMultiFormListBox : public TQWidget {
-Q_OBJECT
+TQ_OBJECT
public:
diff --git a/kregexpeditor/KMultiFormListBox/tdemultiformlistboxentry.h b/kregexpeditor/KMultiFormListBox/tdemultiformlistboxentry.h
index 957f3ab..a5b2974 100644
--- a/kregexpeditor/KMultiFormListBox/tdemultiformlistboxentry.h
+++ b/kregexpeditor/KMultiFormListBox/tdemultiformlistboxentry.h
@@ -47,7 +47,7 @@
**/
class KMultiFormListBoxEntry : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kregexpeditor/KMultiFormListBox/widgetwindow.cpp b/kregexpeditor/KMultiFormListBox/widgetwindow.cpp
index 9b055a3..6d101a0 100644
--- a/kregexpeditor/KMultiFormListBox/widgetwindow.cpp
+++ b/kregexpeditor/KMultiFormListBox/widgetwindow.cpp
@@ -47,7 +47,7 @@ void WidgetWindow::init(KMultiFormListBoxFactory *factory, TDEListBox *lb, KMult
myWidget = factory->create(frame);
}
TQDataStream stream( _backup, IO_WriteOnly );
- myFact->toStream( TQT_TQOBJECT(myWidget), stream );
+ myFact->toStream( myWidget, stream );
lay->addWidget(myWidget);
@@ -86,7 +86,7 @@ void WidgetWindow::slotCancel()
}
else {
TQDataStream stream( _backup, IO_ReadOnly );
- myFact->fromStream( stream, TQT_TQOBJECT(myWidget) );
+ myFact->fromStream( stream, myWidget );
}
KDialogBase::slotCancel();
}
@@ -96,9 +96,9 @@ WidgetWindow *WidgetWindow::clone()
WidgetWindow *item = new WidgetWindow(myFact, listbox);
TQByteArray data;
TQDataStream ws( data, IO_WriteOnly );
- myFact->toStream( TQT_TQOBJECT(myWidget), ws );
+ myFact->toStream( myWidget, ws );
TQDataStream rs( data, IO_ReadOnly );
- myFact->fromStream( rs, TQT_TQOBJECT(item->myWidget) );
+ myFact->fromStream( rs, item->myWidget );
item->slotOk();
return item;
@@ -107,7 +107,7 @@ WidgetWindow *WidgetWindow::clone()
void WidgetWindow::display()
{
TQDataStream stream( _backup, IO_WriteOnly);
- myFact->toStream( TQT_TQOBJECT(myWidget), stream );
+ myFact->toStream( myWidget, stream );
show();
}