diff options
Diffstat (limited to 'tools/tqvfb')
-rw-r--r-- | tools/tqvfb/tqvfb.cpp | 36 | ||||
-rw-r--r-- | tools/tqvfb/tqvfbratedlg.cpp | 6 | ||||
-rw-r--r-- | tools/tqvfb/tqvfbview.cpp | 2 |
3 files changed, 22 insertions, 22 deletions
diff --git a/tools/tqvfb/tqvfb.cpp b/tools/tqvfb/tqvfb.cpp index 334efadf6..1fb8ade04 100644 --- a/tools/tqvfb/tqvfb.cpp +++ b/tools/tqvfb/tqvfb.cpp @@ -130,32 +130,32 @@ void TQVFb::enableCursor( bool e ) void TQVFb::createMenu(TQMenuData *menu) { TQPopupMenu *file = new TQPopupMenu( this ); - file->insertItem( "&Configure...", this, SLOT(configure()), ALT+CTRL+Key_C ); + file->insertItem( "&Configure...", this, TQ_SLOT(configure()), ALT+CTRL+Key_C ); file->insertSeparator(); - file->insertItem( "&Save image...", this, SLOT(saveImage()), ALT+CTRL+Key_S ); - file->insertItem( "&Animation...", this, SLOT(toggleAnimation()), ALT+CTRL+Key_A ); + file->insertItem( "&Save image...", this, TQ_SLOT(saveImage()), ALT+CTRL+Key_S ); + file->insertItem( "&Animation...", this, TQ_SLOT(toggleAnimation()), ALT+CTRL+Key_A ); file->insertSeparator(); - file->insertItem( "&Quit", tqApp, SLOT(quit()) ); + file->insertItem( "&Quit", tqApp, TQ_SLOT(quit()) ); menu->insertItem( "&File", file ); viewMenu = new TQPopupMenu( this ); viewMenu->setCheckable( TRUE ); - cursorId = viewMenu->insertItem( "Show &Cursor", this, SLOT(toggleCursor()) ); + cursorId = viewMenu->insertItem( "Show &Cursor", this, TQ_SLOT(toggleCursor()) ); enableCursor(TRUE); - viewMenu->insertItem( "&Refresh Rate...", this, SLOT(changeRate()) ); + viewMenu->insertItem( "&Refresh Rate...", this, TQ_SLOT(changeRate()) ); viewMenu->insertSeparator(); - viewMenu->insertItem( "Zoom scale &1", this, SLOT(setZoom1()) ); - viewMenu->insertItem( "Zoom scale &2", this, SLOT(setZoom2()) ); - viewMenu->insertItem( "Zoom scale &3", this, SLOT(setZoom3()) ); - viewMenu->insertItem( "Zoom scale &4", this, SLOT(setZoom4()) ); - viewMenu->insertItem( "Zoom scale &0.5", this, SLOT(setZoomHalf()) ); + viewMenu->insertItem( "Zoom scale &1", this, TQ_SLOT(setZoom1()) ); + viewMenu->insertItem( "Zoom scale &2", this, TQ_SLOT(setZoom2()) ); + viewMenu->insertItem( "Zoom scale &3", this, TQ_SLOT(setZoom3()) ); + viewMenu->insertItem( "Zoom scale &4", this, TQ_SLOT(setZoom4()) ); + viewMenu->insertItem( "Zoom scale &0.5", this, TQ_SLOT(setZoomHalf()) ); menu->insertItem( "&View", viewMenu ); TQPopupMenu *help = new TQPopupMenu( this ); - help->insertItem("&About", this, SLOT(about())); - help->insertItem("About &TQt", this, SLOT(aboutTQt())); + help->insertItem("&About", this, TQ_SLOT(about())); + help->insertItem("About &TQt", this, TQ_SLOT(aboutTQt())); menu->insertSeparator(); menu->insertItem( "&Help", help ); } @@ -221,7 +221,7 @@ void TQVFb::changeRate() { if ( !rateDlg ) { rateDlg = new TQVFbRateDialog( view->rate(), this ); - connect( rateDlg, SIGNAL(updateRate(int)), view, SLOT(setRate(int)) ); + connect( rateDlg, TQ_SIGNAL(updateRate(int)), view, TQ_SLOT(setRate(int)) ); } rateDlg->show(); @@ -297,10 +297,10 @@ void TQVFb::configure() config->gslider->setValue(int(view->gammaGreen()*400)); config->bslider->setValue(int(view->gammaBlue()*400)); } - connect(config->gammaslider, SIGNAL(valueChanged(int)), this, SLOT(setGamma400(int))); - connect(config->rslider, SIGNAL(valueChanged(int)), this, SLOT(setR400(int))); - connect(config->gslider, SIGNAL(valueChanged(int)), this, SLOT(setG400(int))); - connect(config->bslider, SIGNAL(valueChanged(int)), this, SLOT(setB400(int))); + connect(config->gammaslider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setGamma400(int))); + connect(config->rslider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setR400(int))); + connect(config->gslider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setG400(int))); + connect(config->bslider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setB400(int))); updateGammaLabels(); double ogr=view->gammaRed(), ogg=view->gammaGreen(), ogb=view->gammaBlue(); diff --git a/tools/tqvfb/tqvfbratedlg.cpp b/tools/tqvfb/tqvfbratedlg.cpp index 5c87e702e..082f2bb99 100644 --- a/tools/tqvfb/tqvfbratedlg.cpp +++ b/tools/tqvfb/tqvfbratedlg.cpp @@ -52,16 +52,16 @@ TQVFbRateDialog::TQVFbRateDialog( int rate, TQWidget *parent, const char *name, TQHBoxLayout *hl = new TQHBoxLayout( tl ); rateSlider = new TQSlider( 1, 100, 10, rate, TQSlider::Horizontal, this ); hl->addWidget( rateSlider ); - connect( rateSlider, SIGNAL(valueChanged(int)), this, SLOT(rateChanged(int)) ); + connect( rateSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(rateChanged(int)) ); rateLabel = new TQLabel( TQString( "%1fps" ).arg(rate), this ); hl->addWidget( rateLabel ); hl = new TQHBoxLayout( tl ); TQPushButton *pb = new TQPushButton( "OK", this ); - connect( pb, SIGNAL(clicked()), this, SLOT(accept()) ); + connect( pb, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()) ); hl->addWidget( pb ); pb = new TQPushButton( "Cancel", this ); - connect( pb, SIGNAL(clicked()), this, SLOT(cancel()) ); + connect( pb, TQ_SIGNAL(clicked()), this, TQ_SLOT(cancel()) ); hl->addWidget( pb ); } diff --git a/tools/tqvfb/tqvfbview.cpp b/tools/tqvfb/tqvfbview.cpp index f96df8ca1..d3ce8460b 100644 --- a/tools/tqvfb/tqvfbview.cpp +++ b/tools/tqvfb/tqvfbview.cpp @@ -144,7 +144,7 @@ TQVFbView::TQVFbView( int display_id, int w, int h, int d, TQWidget *parent, resizeContents( w, h ); timer = new TQTimer( this ); - connect( timer, SIGNAL(timeout()), this, SLOT(timeout()) ); + connect( timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(timeout()) ); gammatable=0; setGamma(1.0,1.0,1.0); |