diff options
Diffstat (limited to 'src/modules/dcc')
-rw-r--r-- | src/modules/dcc/canvas.cpp | 2 | ||||
-rw-r--r-- | src/modules/dcc/canvaswidget.cpp | 6 | ||||
-rw-r--r-- | src/modules/dcc/chat.cpp | 4 | ||||
-rw-r--r-- | src/modules/dcc/voice.cpp | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/dcc/canvas.cpp b/src/modules/dcc/canvas.cpp index cea1b918..8e51d943 100644 --- a/src/modules/dcc/canvas.cpp +++ b/src/modules/dcc/canvas.cpp @@ -58,7 +58,7 @@ extern KviDccBroker * g_pDccBroker; KviDccCanvas::KviDccCanvas(KviFrame *pFrm,KviDccDescriptor * dcc,const char * name) : KviDccWindow(KVI_WINDOW_TYPE_DCCCANVAS,pFrm,name,dcc) { - m_pSplitter = new TQSplitter(Qt::Vertical,this,"splitter"); + m_pSplitter = new TQSplitter(TQt::Vertical,this,"splitter"); m_pCanvas = new KviCanvasWidget(m_pSplitter); diff --git a/src/modules/dcc/canvaswidget.cpp b/src/modules/dcc/canvaswidget.cpp index 89bbbbda..51f4dbdb 100644 --- a/src/modules/dcc/canvaswidget.cpp +++ b/src/modules/dcc/canvaswidget.cpp @@ -1058,7 +1058,7 @@ void KviCanvasView::contentsMouseMoveEvent(TQMouseEvent *e) { // TQPoint p = inverseWorldMatrix().map(e->pos()); TQPoint p = e->pos(); - if(e->state() & Qt::LeftButton) + if(e->state() & TQt::LeftButton) { if((m_dragMode != None) && (m_pSelectedItem)) { @@ -1128,7 +1128,7 @@ void KviCanvasView::contentsMouseReleaseEvent(TQMouseEvent *e) void KviCanvasView::contentsMousePressEvent(TQMouseEvent *e) { - if(e->button() & Qt::LeftButton) + if(e->button() & TQt::LeftButton) { // TQPoint p = inverseWorldMatrix().map(e->pos()); TQPoint p = e->pos(); @@ -1497,7 +1497,7 @@ KviCanvasWidget::KviCanvasWidget(TQWidget * par) //#warning "Make this size as parameter of Dcc ?" m_pCanvas->resize(648,480); m_pMenuBar = new TQMenuBar(this); - m_pSplitter = new TQSplitter(Qt::Horizontal,this); + m_pSplitter = new TQSplitter(TQt::Horizontal,this); m_pCanvasView = new KviCanvasView(m_pCanvas,this,m_pSplitter); m_pStatusLabel = new TQLabel(this); m_pPropertiesWidget = new KviCanvasItemPropertiesWidget(m_pSplitter); diff --git a/src/modules/dcc/chat.cpp b/src/modules/dcc/chat.cpp index 78fd3986..59ee9c2c 100644 --- a/src/modules/dcc/chat.cpp +++ b/src/modules/dcc/chat.cpp @@ -89,7 +89,7 @@ extern KviDccBroker * g_pDccBroker; KviDccChat::KviDccChat(KviFrame *pFrm,KviDccDescriptor * dcc,const char * name) : KviDccWindow(KVI_WINDOW_TYPE_DCCCHAT,pFrm,name,dcc) { - m_pTopSplitter = new TQSplitter(Qt::Horizontal,this,"top_splitter"); + m_pTopSplitter = new TQSplitter(TQt::Horizontal,this,"top_splitter"); KviThemedLabel * dummy; dummy = new KviThemedLabel(m_pTopSplitter,"dummy_label"); KviTalVBox * box = new KviTalVBox(m_pTopSplitter); @@ -98,7 +98,7 @@ KviDccChat::KviDccChat(KviFrame *pFrm,KviDccDescriptor * dcc,const char * name) createCryptControllerButton(box); #endif - m_pSplitter = new TQSplitter(Qt::Horizontal,this,"splitter"); + m_pSplitter = new TQSplitter(TQt::Horizontal,this,"splitter"); m_pIrcView = new KviIrcView(m_pSplitter,pFrm,this); connect(m_pIrcView,TQT_SIGNAL(rightClicked()),this,TQT_SLOT(textViewRightClicked())); m_pInput = new KviInput(this); diff --git a/src/modules/dcc/voice.cpp b/src/modules/dcc/voice.cpp index 54fd433a..95963e95 100644 --- a/src/modules/dcc/voice.cpp +++ b/src/modules/dcc/voice.cpp @@ -652,7 +652,7 @@ KviDccVoice::KviDccVoice(KviFrame *pFrm,KviDccDescriptor * dcc,const char * name m_pDescriptor = dcc; m_pSlaveThread = 0; - m_pSplitter = new TQSplitter(Qt::Horizontal,this,"splitter"); + m_pSplitter = new TQSplitter(TQt::Horizontal,this,"splitter"); m_pIrcView = new KviIrcView(m_pSplitter,pFrm,this); m_pHBox = new KviTalHBox(this); @@ -680,7 +680,7 @@ KviDccVoice::KviDccVoice(KviFrame *pFrm,KviDccDescriptor * dcc,const char * name vbox2->setSpacing(1); //#warning "The volume slider should be enabled only when receiving data" - m_pVolumeSlider = new TQSlider(-100, 0, 10, 0, Qt::Vertical, m_pHBox, "dcc_voice_volume_slider"); + m_pVolumeSlider = new TQSlider(-100, 0, 10, 0, TQt::Vertical, m_pHBox, "dcc_voice_volume_slider"); m_pVolumeSlider->setValue(getMixerVolume()); /* Update the tooltip */ setMixerVolume(m_pVolumeSlider->value()); |