diff options
Diffstat (limited to 'tdeui/tests/kdockwidgettest.cpp')
-rw-r--r-- | tdeui/tests/kdockwidgettest.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tdeui/tests/kdockwidgettest.cpp b/tdeui/tests/kdockwidgettest.cpp index f27fd0b4e..154d02463 100644 --- a/tdeui/tests/kdockwidgettest.cpp +++ b/tdeui/tests/kdockwidgettest.cpp @@ -120,12 +120,12 @@ DockApplication::DockApplication( const char* name ) TQPushButton* b1 = new TQPushButton(mainW); b1->setGeometry(10, 10, 250, 25); b1->setText("write dock config"); - connect(b1, TQT_SIGNAL(clicked()), TQT_SLOT(wConfig())); + connect(b1, TQ_SIGNAL(clicked()), TQ_SLOT(wConfig())); TQPushButton* b2 = new TQPushButton(mainW); b2->setGeometry(10, 35, 250, 25); b2->setText("read dock config"); - connect(b2, TQT_SIGNAL(clicked()), TQT_SLOT(rConfig())); + connect(b2, TQ_SIGNAL(clicked()), TQ_SLOT(rConfig())); m_bname = new TQPushButton(mainW); m_bname->setGeometry(10, 60, 250, 25); @@ -134,12 +134,12 @@ DockApplication::DockApplication( const char* name ) TQPushButton *b3 = new TQPushButton(mainW); b3->setGeometry(10,95,250,25); b3->setText("change the icon of the green widget"); - connect(b3,TQT_SIGNAL(clicked()), TQT_SLOT(gSetPix1())); + connect(b3,TQ_SIGNAL(clicked()), TQ_SLOT(gSetPix1())); TQPushButton *b4 = new TQPushButton(mainW); b4->setGeometry(10,130,250,25); b4->setText("remove icon "); - connect(b4,TQT_SIGNAL(clicked()), TQT_SLOT(gSetPix2())); + connect(b4,TQ_SIGNAL(clicked()), TQ_SLOT(gSetPix2())); setGeometry(200, 100, 500, 300); @@ -170,11 +170,11 @@ void DockApplication::initMenuBar() TQPixmap p(folder); TQPopupMenu *file_menu = new TQPopupMenu(); - file_menu->insertItem(p, "Change Green Widget Caption", this, TQT_SLOT(cap()) ); + file_menu->insertItem(p, "Change Green Widget Caption", this, TQ_SLOT(cap()) ); file_menu->insertSeparator(); - file_menu->insertItem(p, "Set Green Widget as MainDockWidget", this, TQT_SLOT(greenMain()) ); - file_menu->insertItem(p, "Set Blue Widget as MainDockWidget", this, TQT_SLOT(blueMain()) ); - file_menu->insertItem(p, "Set NULL as MainDockWidget", this, TQT_SLOT(nullMain()) ); + file_menu->insertItem(p, "Set Green Widget as MainDockWidget", this, TQ_SLOT(greenMain()) ); + file_menu->insertItem(p, "Set Blue Widget as MainDockWidget", this, TQ_SLOT(blueMain()) ); + file_menu->insertItem(p, "Set NULL as MainDockWidget", this, TQ_SLOT(nullMain()) ); KMenuBar* menu_bar = menuBar(); menu_bar->insertItem( "&Test", file_menu ); |