diff options
Diffstat (limited to 'kmid/channelview.cpp')
-rw-r--r-- | kmid/channelview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmid/channelview.cpp b/kmid/channelview.cpp index 805d4b9a..a349691a 100644 --- a/kmid/channelview.cpp +++ b/kmid/channelview.cpp @@ -40,12 +40,12 @@ ChannelView::ChannelView(void) : KMainWindow(0, "ChannelView") Channel[i]=new KMidChannel3D(i+1,this); else Channel[i]=new KMidChannel4D(i+1,this); - connect(Channel[i],SIGNAL(signalToKMidClient(int *)),this,SLOT(slottokmidclient(int *))); + connect(Channel[i],TQT_SIGNAL(signalToKMidClient(int *)),this,TQT_SLOT(slottokmidclient(int *))); Channel[i]->setGeometry(5,5+i*CHANNELHEIGHT,width()-20,CHANNELHEIGHT); Channel[i]->show(); } - scrollbar=new QScrollBar(1,16,1,1,1,QScrollBar::Vertical,this,"Channelscrollbar"); - connect(scrollbar,SIGNAL(valueChanged(int)),this,SLOT(ScrollChn(int))); + scrollbar=new TQScrollBar(1,16,1,1,1,TQScrollBar::Vertical,this,"Channelscrollbar"); + connect(scrollbar,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(ScrollChn(int))); setScrollBarRange(); } @@ -54,13 +54,13 @@ ChannelView::~ChannelView() } -void ChannelView::closeEvent(QCloseEvent *e) +void ChannelView::closeEvent(TQCloseEvent *e) { emit destroyMe(); e->accept(); } -void ChannelView::resizeEvent(QResizeEvent *) +void ChannelView::resizeEvent(TQResizeEvent *) { scrollbar->setGeometry(width()-16,0,16,height()); for (int i=0;i<16;i++) @@ -150,7 +150,7 @@ void ChannelView::lookMode(int i) else Channel[i]=new KMidChannel4D(i+1,this); - connect(Channel[i],SIGNAL(signalToKMidClient(int *)),this,SLOT(slottokmidclient(int *))); + connect(Channel[i],TQT_SIGNAL(signalToKMidClient(int *)),this,TQT_SLOT(slottokmidclient(int *))); Channel[i]->setGeometry(5,5+(i-(scrollbar->value()-1))*CHANNELHEIGHT,width()-20,CHANNELHEIGHT); Channel[i]->loadState(tmp,&pgm); Channel[i]->show(); |