diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:46:02 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 18:41:00 +0900 |
commit | d0fc8a81142abedca766138edbd033dd4107daa7 (patch) | |
tree | 2a0de93a97438c432780b69c0a029e009c6db4eb /tdescreensaver/kdesavers/banner.cpp | |
parent | 060a647e209ab79f84514a0edb4e04fd51a47b19 (diff) | |
download | tdeartwork-d0fc8a81142abedca766138edbd033dd4107daa7.tar.gz tdeartwork-d0fc8a81142abedca766138edbd033dd4107daa7.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 64efc076184547c5d23863fb027dd3a01d552f19)
Diffstat (limited to 'tdescreensaver/kdesavers/banner.cpp')
-rw-r--r-- | tdescreensaver/kdesavers/banner.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/tdescreensaver/kdesavers/banner.cpp b/tdescreensaver/kdesavers/banner.cpp index a51579ba..853e9fee 100644 --- a/tdescreensaver/kdesavers/banner.cpp +++ b/tdescreensaver/kdesavers/banner.cpp @@ -83,8 +83,8 @@ KBannerSetup::KBannerSetup( TQWidget *parent, const char *name ) TDEFontCombo* comboFonts = new TDEFontCombo( TQFontDatabase().families(), group ); comboFonts->setCurrentFont( fontFamily ); gl->addWidget(comboFonts, 1, 1); - connect( comboFonts, TQT_SIGNAL( activated( const TQString& ) ), - TQT_SLOT( slotFamily( const TQString& ) ) ); + connect( comboFonts, TQ_SIGNAL( activated( const TQString& ) ), + TQ_SLOT( slotFamily( const TQString& ) ) ); label = new TQLabel( i18n("Size:"), group ); gl->addWidget(label, 2, 0); @@ -92,33 +92,33 @@ KBannerSetup::KBannerSetup( TQWidget *parent, const char *name ) comboSizes = new TQComboBox( TRUE, group ); fillFontSizes(); gl->addWidget(comboSizes, 2, 1); - connect( comboSizes, TQT_SIGNAL( activated( int ) ), TQT_SLOT( slotSize( int ) ) ); - connect( comboSizes, TQT_SIGNAL( textChanged( const TQString & ) ), - TQT_SLOT( slotSizeEdit( const TQString & ) ) ); + connect( comboSizes, TQ_SIGNAL( activated( int ) ), TQ_SLOT( slotSize( int ) ) ); + connect( comboSizes, TQ_SIGNAL( textChanged( const TQString & ) ), + TQ_SLOT( slotSizeEdit( const TQString & ) ) ); TQCheckBox *cb = new TQCheckBox( i18n("Bold"), group ); cb->setChecked( bold ); - connect( cb, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( slotBold( bool ) ) ); + connect( cb, TQ_SIGNAL( toggled( bool ) ), TQ_SLOT( slotBold( bool ) ) ); gl->addWidget(cb, 3, 0); cb = new TQCheckBox( i18n("Italic"), group ); cb->setChecked( italic ); gl->addWidget(cb, 3, 1); - connect( cb, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( slotItalic( bool ) ) ); + connect( cb, TQ_SIGNAL( toggled( bool ) ), TQ_SLOT( slotItalic( bool ) ) ); label = new TQLabel( i18n("Color:"), group ); gl->addWidget(label, 4, 0); colorPush = new KColorButton( fontColor, group ); gl->addWidget(colorPush, 4, 1); - connect( colorPush, TQT_SIGNAL( changed(const TQColor &) ), - TQT_SLOT( slotColor(const TQColor &) ) ); + connect( colorPush, TQ_SIGNAL( changed(const TQColor &) ), + TQ_SLOT( slotColor(const TQColor &) ) ); TQCheckBox *cyclingColorCb=new TQCheckBox(i18n("Cycling color"),group); cyclingColorCb->setMinimumSize(cyclingColorCb->sizeHint()); gl->addMultiCellWidget(cyclingColorCb,5,5,0,1); - connect(cyclingColorCb,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotCyclingColor(bool))); + connect(cyclingColorCb,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(slotCyclingColor(bool))); cyclingColorCb->setChecked(cyclingColor); preview = new TQWidget( main ); @@ -140,7 +140,7 @@ KBannerSetup::KBannerSetup( TQWidget *parent, const char *name ) sb->setTickmarks(TQSlider::Below); sb->setTickInterval(10); tl11->addWidget(sb); - connect( sb, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( slotSpeed( int ) ) ); + connect( sb, TQ_SIGNAL( valueChanged( int ) ), TQ_SLOT( slotSpeed( int ) ) ); TQHBoxLayout *tl2 = new TQHBoxLayout; tl->addLayout(tl2); @@ -151,13 +151,13 @@ KBannerSetup::KBannerSetup( TQWidget *parent, const char *name ) ed = new TQLineEdit( main ); tl2->addWidget(ed); ed->setText( message ); - connect( ed, TQT_SIGNAL( textChanged( const TQString & ) ), - TQT_SLOT( slotMessage( const TQString & ) ) ); + connect( ed, TQ_SIGNAL( textChanged( const TQString & ) ), + TQ_SLOT( slotMessage( const TQString & ) ) ); TQCheckBox *timeCb=new TQCheckBox( i18n("Show current time"), main); timeCb->setFixedSize(timeCb->sizeHint()); tl->addWidget(timeCb,0,TQt::AlignLeft); - connect(timeCb,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(slotTimeToggled(bool))); + connect(timeCb,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(slotTimeToggled(bool))); timeCb->setChecked(showTime); tl->addStretch(); @@ -353,7 +353,7 @@ KBannerSaver::KBannerSaver( WId id ) : KScreenSaver( id ) colorContext = TQColor::enterAllocContext(); needBlank = TRUE; timer.start( speed ); - connect( &timer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotTimeout() ) ); + connect( &timer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotTimeout() ) ); } KBannerSaver::~KBannerSaver() |