summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/actioneditor/actioneditor.cpp2
-rw-r--r--src/modules/aliaseditor/aliaseditor.cpp2
-rw-r--r--src/modules/channelsjoin/channelsjoinwindow.cpp2
-rw-r--r--src/modules/dcc/canvas.cpp2
-rw-r--r--src/modules/dcc/canvaswidget.cpp6
-rw-r--r--src/modules/dcc/chat.cpp4
-rw-r--r--src/modules/dcc/voice.cpp4
-rw-r--r--src/modules/dockwidget/libkvidockwidget_qt3.cpp4
-rw-r--r--src/modules/editor/scripteditor.cpp4
-rw-r--r--src/modules/eventeditor/eventeditor.cpp2
-rw-r--r--src/modules/filetransferwindow/filetransferwindow.cpp4
-rw-r--r--src/modules/help/helpwindow.cpp2
-rw-r--r--src/modules/links/linkswindow.cpp6
-rw-r--r--src/modules/list/listwindow.cpp6
-rw-r--r--src/modules/logview/logviewmdiwindow.cpp2
-rw-r--r--src/modules/notifier/notifierwindow.cpp6
-rw-r--r--src/modules/objects/class_dockwindow.cpp4
-rw-r--r--src/modules/objects/class_groupbox.cpp12
-rw-r--r--src/modules/objects/class_painter.cpp4
-rw-r--r--src/modules/objects/class_slider.cpp6
-rw-r--r--src/modules/objects/class_urllabel.cpp2
-rw-r--r--src/modules/objects/class_widget.cpp18
-rw-r--r--src/modules/options/dialog.cpp2
-rw-r--r--src/modules/options/optw_antispam.cpp2
-rw-r--r--src/modules/options/optw_avatar.cpp6
-rw-r--r--src/modules/options/optw_away.cpp2
-rw-r--r--src/modules/options/optw_connection.cpp20
-rw-r--r--src/modules/options/optw_ctcp.cpp2
-rw-r--r--src/modules/options/optw_ctcpfloodprotection.cpp2
-rw-r--r--src/modules/options/optw_dcc.cpp18
-rw-r--r--src/modules/options/optw_highlighting.cpp2
-rw-r--r--src/modules/options/optw_identity.cpp8
-rw-r--r--src/modules/options/optw_ignore.cpp2
-rw-r--r--src/modules/options/optw_input.cpp2
-rw-r--r--src/modules/options/optw_interfacefeatures.cpp2
-rw-r--r--src/modules/options/optw_irc.cpp8
-rw-r--r--src/modules/options/optw_ircoutput.cpp2
-rw-r--r--src/modules/options/optw_lag.cpp2
-rw-r--r--src/modules/options/optw_logging.cpp2
-rw-r--r--src/modules/options/optw_messages.cpp4
-rw-r--r--src/modules/options/optw_notify.cpp4
-rw-r--r--src/modules/options/optw_proxy.cpp2
-rw-r--r--src/modules/options/optw_query.cpp2
-rw-r--r--src/modules/options/optw_servers.cpp8
-rw-r--r--src/modules/options/optw_sound.cpp8
-rw-r--r--src/modules/options/optw_taskbar.cpp6
-rw-r--r--src/modules/options/optw_tray.cpp2
-rw-r--r--src/modules/options/optw_userlist.cpp4
-rw-r--r--src/modules/popupeditor/popupeditor.cpp4
-rw-r--r--src/modules/raweditor/raweditor.cpp2
-rw-r--r--src/modules/setup/setupwizard.cpp4
-rw-r--r--src/modules/sharedfileswindow/sharedfileswindow.cpp2
-rw-r--r--src/modules/socketspy/socketspywindow.cpp2
53 files changed, 121 insertions, 121 deletions
diff --git a/src/modules/actioneditor/actioneditor.cpp b/src/modules/actioneditor/actioneditor.cpp
index 705233f3..c0b0e7bc 100644
--- a/src/modules/actioneditor/actioneditor.cpp
+++ b/src/modules/actioneditor/actioneditor.cpp
@@ -650,7 +650,7 @@ KviActionEditor::KviActionEditor(TQWidget * par)
TQGridLayout * l = new TQGridLayout(this,1,1,2,2);
- m_pSplitter = new TQSplitter(Qt::Horizontal,this);
+ m_pSplitter = new TQSplitter(TQt::Horizontal,this);
l->addWidget(m_pSplitter,0,0);
diff --git a/src/modules/aliaseditor/aliaseditor.cpp b/src/modules/aliaseditor/aliaseditor.cpp
index 846f098f..e609fef9 100644
--- a/src/modules/aliaseditor/aliaseditor.cpp
+++ b/src/modules/aliaseditor/aliaseditor.cpp
@@ -210,7 +210,7 @@ KviAliasEditor::KviAliasEditor(TQWidget * par)
TQGridLayout * l = new TQGridLayout(this,1,1,2,2);
- m_pSplitter = new TQSplitter(Qt::Horizontal,this);
+ m_pSplitter = new TQSplitter(TQt::Horizontal,this);
l->addWidget(m_pSplitter,0,0);
diff --git a/src/modules/channelsjoin/channelsjoinwindow.cpp b/src/modules/channelsjoin/channelsjoinwindow.cpp
index 3dc26251..8c5e71e0 100644
--- a/src/modules/channelsjoin/channelsjoinwindow.cpp
+++ b/src/modules/channelsjoin/channelsjoinwindow.cpp
@@ -70,7 +70,7 @@ KviChannelsJoinWindow::KviChannelsJoinWindow(TQWidget * par, const char * name)
connect(m_pListView,TQT_SIGNAL(doubleClicked(KviTalListViewItem *)),this,TQT_SLOT(itemDoubleClicked(KviTalListViewItem *)));
- m_pGroupBox = new KviTalGroupBox(2,Qt::Horizontal,__tr2qs("Channel" ),this);
+ m_pGroupBox = new KviTalGroupBox(2,TQt::Horizontal,__tr2qs("Channel" ),this);
TQString szMsg = __tr2qs("Name");
szMsg.append(":");
TQLabel * l = new TQLabel(szMsg,m_pGroupBox);
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());
diff --git a/src/modules/dockwidget/libkvidockwidget_qt3.cpp b/src/modules/dockwidget/libkvidockwidget_qt3.cpp
index 78a1a28b..88a0eb8c 100644
--- a/src/modules/dockwidget/libkvidockwidget_qt3.cpp
+++ b/src/modules/dockwidget/libkvidockwidget_qt3.cpp
@@ -371,8 +371,8 @@ void KviDockWidget::tipRequest(KviDynamicToolTip *tip,const TQPoint &pnt)
void KviDockWidget::mousePressEvent(TQMouseEvent *e)
{
- if(e->button() & Qt::LeftButton)toggleParentFrame();
- else if(e->button() & Qt::RightButton)
+ if(e->button() & TQt::LeftButton)toggleParentFrame();
+ else if(e->button() & TQt::RightButton)
m_pContextPopup->popup(mapToGlobal(e->pos()));
}
diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp
index 3dc017c6..46bba621 100644
--- a/src/modules/editor/scripteditor.cpp
+++ b/src/modules/editor/scripteditor.cpp
@@ -167,7 +167,7 @@ KviScriptEditorWidgetColorOptions::KviScriptEditorWidgetColorOptions(TQWidget *
KviFontSelector * f = new KviFontSelector(this,__tr2qs_ctx("Font:","editor"),&g_fntNormal,true);
g->addMultiCellWidget(f,0,0,0,2);
m_pSelectorInterfaceList->append(f);
- KviTalGroupBox * gbox = new KviTalGroupBox(1,Qt::Horizontal,__tr2qs("Colors" ),this);
+ KviTalGroupBox * gbox = new KviTalGroupBox(1,TQt::Horizontal,__tr2qs("Colors" ),this);
g->addMultiCellWidget(gbox,1,1,0,2);
KviColorSelector * s = addColorSelector(gbox,__tr2qs_ctx("Background:","editor"),&g_clrBackground,true);
s = addColorSelector(gbox,__tr2qs_ctx("Normal text:","editor"),&g_clrNormalText,true);
@@ -380,7 +380,7 @@ void KviScriptEditorWidget::keyPressEvent(TQKeyEvent * e)
void KviScriptEditorWidget::contentsMousePressEvent(TQMouseEvent *e)
{
completelistbox->hide();
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
{
// bool bIsFirstWordInLine;
TQString buffer;
diff --git a/src/modules/eventeditor/eventeditor.cpp b/src/modules/eventeditor/eventeditor.cpp
index ec9511b5..efa75538 100644
--- a/src/modules/eventeditor/eventeditor.cpp
+++ b/src/modules/eventeditor/eventeditor.cpp
@@ -70,7 +70,7 @@ KviEventEditor::KviEventEditor(TQWidget * par)
{
TQGridLayout * l = new TQGridLayout(this,1,1,2,2);
- TQSplitter * spl = new TQSplitter(Qt::Horizontal,this);
+ TQSplitter * spl = new TQSplitter(TQt::Horizontal,this);
spl->setOpaqueResize(false);
l->addWidget(spl,0,0);
diff --git a/src/modules/filetransferwindow/filetransferwindow.cpp b/src/modules/filetransferwindow/filetransferwindow.cpp
index a1b8d505..8c2950c3 100644
--- a/src/modules/filetransferwindow/filetransferwindow.cpp
+++ b/src/modules/filetransferwindow/filetransferwindow.cpp
@@ -151,8 +151,8 @@ KviFileTransferWindow::KviFileTransferWindow(KviModuleExtensionDescriptor * d,Kv
m_pInput = new KviInput(this,0);
- m_pSplitter = new TQSplitter(Qt::Horizontal,this,"splitter");
- m_pVertSplitter = new TQSplitter(Qt::Vertical,m_pSplitter,"vsplitter");
+ m_pSplitter = new TQSplitter(TQt::Horizontal,this,"splitter");
+ m_pVertSplitter = new TQSplitter(TQt::Vertical,m_pSplitter,"vsplitter");
m_pListView = new KviTalListView(m_pVertSplitter);
//m_pListView->header()->hide();
diff --git a/src/modules/help/helpwindow.cpp b/src/modules/help/helpwindow.cpp
index fbeb1abf..3a815244 100644
--- a/src/modules/help/helpwindow.cpp
+++ b/src/modules/help/helpwindow.cpp
@@ -72,7 +72,7 @@ KviHelpWindow::KviHelpWindow(KviFrame * lpFrm,const char * name)
}
g_pHelpWindowList->append(this);
- m_pSplitter = new TQSplitter(Qt::Horizontal,this,"main_splitter");
+ m_pSplitter = new TQSplitter(TQt::Horizontal,this,"main_splitter");
m_pHelpWidget = new KviHelpWidget(m_pSplitter,lpFrm);
m_pToolBar=new KviTalVBox(m_pSplitter);
diff --git a/src/modules/links/linkswindow.cpp b/src/modules/links/linkswindow.cpp
index f2f51dd7..2a991dee 100644
--- a/src/modules/links/linkswindow.cpp
+++ b/src/modules/links/linkswindow.cpp
@@ -45,7 +45,7 @@ KviLinksWindow::KviLinksWindow(KviFrame * lpFrm,KviConsole * lpConsole)
{
g_pLinksWindowList->append(this);
- m_pTopSplitter = new TQSplitter(Qt::Horizontal,this,"top_splitter");
+ m_pTopSplitter = new TQSplitter(TQt::Horizontal,this,"top_splitter");
// The button box on the left
KviTalHBox * box = new KviTalHBox(m_pTopSplitter);
@@ -63,8 +63,8 @@ KviLinksWindow::KviLinksWindow(KviFrame * lpFrm,KviConsole * lpConsole)
connect(lpConsole->context(),TQT_SIGNAL(stateChanged()),
this,TQT_SLOT(connectionStateChange()));
- m_pSplitter = new TQSplitter(Qt::Horizontal,this,"splitter");
- m_pVertSplitter = new TQSplitter(Qt::Vertical,m_pSplitter,"vsplitter");
+ m_pSplitter = new TQSplitter(TQt::Horizontal,this,"splitter");
+ m_pVertSplitter = new TQSplitter(TQt::Vertical,m_pSplitter,"vsplitter");
m_pListView = new KviTalListView(m_pVertSplitter);
m_pListView->addColumn(__tr2qs("Link"));
diff --git a/src/modules/list/listwindow.cpp b/src/modules/list/listwindow.cpp
index e9d3e74d..9b40b912 100644
--- a/src/modules/list/listwindow.cpp
+++ b/src/modules/list/listwindow.cpp
@@ -172,9 +172,9 @@ KviListWindow::KviListWindow(KviFrame * lpFrm,KviConsole * lpConsole)
m_pItemList = new KviPointerList<KviChannelListViewItemData>;
m_pItemList->setAutoDelete(false);
- m_pSplitter = new TQSplitter(Qt::Horizontal,this,"splitter");
- m_pTopSplitter = new TQSplitter(Qt::Horizontal,this,"top_splitter");
- m_pVertSplitter = new TQSplitter(Qt::Vertical,m_pSplitter,"vsplitter");
+ m_pSplitter = new TQSplitter(TQt::Horizontal,this,"splitter");
+ m_pTopSplitter = new TQSplitter(TQt::Horizontal,this,"top_splitter");
+ m_pVertSplitter = new TQSplitter(TQt::Vertical,m_pSplitter,"vsplitter");
KviTalHBox * box = new KviTalHBox(m_pTopSplitter);
m_pOpenButton = new KviStyledToolButton(box);
diff --git a/src/modules/logview/logviewmdiwindow.cpp b/src/modules/logview/logviewmdiwindow.cpp
index ea92cfc7..a5845b8a 100644
--- a/src/modules/logview/logviewmdiwindow.cpp
+++ b/src/modules/logview/logviewmdiwindow.cpp
@@ -64,7 +64,7 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra
{
g_pLogViewWindow = this;
// m_pLogViewWidget = new KviLogViewWidget(this);
- m_pSplitter = new TQSplitter(Qt::Horizontal,this,"main_splitter");
+ m_pSplitter = new TQSplitter(TQt::Horizontal,this,"main_splitter");
m_pTabWidget = new TQTabWidget(m_pSplitter);
m_pIndexTab = new KviTalVBox(m_pTabWidget);
diff --git a/src/modules/notifier/notifierwindow.cpp b/src/modules/notifier/notifierwindow.cpp
index fa55316e..634af964 100644
--- a/src/modules/notifier/notifierwindow.cpp
+++ b/src/modules/notifier/notifierwindow.cpp
@@ -768,11 +768,11 @@ void KviNotifierWindow::mousePressEvent(TQMouseEvent * e)
m_pntClick = e->pos();
- if(e->button() == Qt::RightButton)
+ if(e->button() == TQt::RightButton)
{
contextPopup(mapToGlobal(e->pos()));
return;
- } else if(e->button() == Qt::LeftButton) {
+ } else if(e->button() == TQt::LeftButton) {
m_bLeftButtonIsPressed = true;
}
@@ -1104,7 +1104,7 @@ void KviNotifierWindow::redrawWindow()
inline void KviNotifierWindow::setCursor(int cur) {
if (m_cursor.shape() != cur) {
if(TQApplication::overrideCursor()) TQApplication::restoreOverrideCursor();
- m_cursor.setShape((Qt::CursorShape)cur);
+ m_cursor.setShape((TQt::CursorShape)cur);
TQApplication::setOverrideCursor(m_cursor);
} else if (cur==-1)
if(TQApplication::overrideCursor()) TQApplication::restoreOverrideCursor();
diff --git a/src/modules/objects/class_dockwindow.cpp b/src/modules/objects/class_dockwindow.cpp
index bc491dcb..44723aa1 100644
--- a/src/modules/objects/class_dockwindow.cpp
+++ b/src/modules/objects/class_dockwindow.cpp
@@ -143,7 +143,7 @@ bool KviKvsObject_dockwindow::function_addWidget(KviKvsObjectFunctionCall *c)
bool KviKvsObject_dockwindow::function_orientation(KviKvsObjectFunctionCall * c)
{
if(!widget())return true; // hum ? dead ?
- c->returnValue()->setString(_pDockWindow->orientation() == Qt::Horizontal ? TQString("horizontal") : TQString("vertical"));
+ c->returnValue()->setString(_pDockWindow->orientation() == TQt::Horizontal ? TQString("horizontal") : TQString("vertical"));
return true;
}
@@ -155,7 +155,7 @@ bool KviKvsObject_dockwindow::function_setOrientation(KviKvsObjectFunctionCall *
KVSO_PARAMETERS_END(c)
if(!widget())return true; // hum ? dead ?
- _pDockWindow->setOrientation(KviTQString::equalCI(szOrientation,"vertical") ? Qt::Vertical : Qt::Horizontal);
+ _pDockWindow->setOrientation(KviTQString::equalCI(szOrientation,"vertical") ? TQt::Vertical : TQt::Horizontal);
return true;
}
diff --git a/src/modules/objects/class_groupbox.cpp b/src/modules/objects/class_groupbox.cpp
index 6157b035..53f168bf 100644
--- a/src/modules/objects/class_groupbox.cpp
+++ b/src/modules/objects/class_groupbox.cpp
@@ -94,10 +94,10 @@ const int align_cod[] = {
!fn: $setAlignment(<alignment:string>)
Set the alignment of the groupbox; Valid values are Left,Right,HCenter.
!fn: $setOrientation<orientation:string>
- Sets the group box's orientation. Valid values are:Qt::Horizontal,Qt::Vertical.
+ Sets the group box's orientation. Valid values are Horizontal,Vertical.
!fn: $setColumnLayout(<columns:integer>,<orientation:string>)
Enables the automatic layout management. The children are arranged in n columns with the specified orientation.[br]
- Valid values for <orientation> are:Qt::Horizontal,Qt::Vertical.
+ Valid values for <orientation> are Horizontal,Vertical.
@examples:
[example]
|-Start:[br]
@@ -342,10 +342,10 @@ bool KviKvsObject_groupbox::functionSetOrientation(KviKvsObjectFunctionCall *c)
KVSO_PARAMETERS_END(c)
if(!widget())return true;
if(KviTQString::equalCI(szMode, "Horizontal"))
- ((KviTalGroupBox *)widget())->setOrientation(Qt::Horizontal);
+ ((KviTalGroupBox *)widget())->setOrientation(TQt::Horizontal);
else
if(KviTQString::equalCI(szMode, "Vertical"))
- ((KviTalGroupBox *)widget())->setOrientation(Qt::Vertical);
+ ((KviTalGroupBox *)widget())->setOrientation(TQt::Vertical);
else c->warning( __tr2qs("Unknown orientation: "));
return true;
}
@@ -360,10 +360,10 @@ bool KviKvsObject_groupbox::functionSetColumnLayout(KviKvsObjectFunctionCall *c)
KVSO_PARAMETERS_END(c)
if(!widget())return true;
if(szMode=="Horizontal")
- ((KviTalGroupBox *)widget())->setColumnLayout(uCol,Qt::Horizontal);
+ ((KviTalGroupBox *)widget())->setColumnLayout(uCol,TQt::Horizontal);
else
if(szMode=="Vertical")
- ((KviTalGroupBox *)widget())->setColumnLayout(uCol,Qt::Vertical);
+ ((KviTalGroupBox *)widget())->setColumnLayout(uCol,TQt::Vertical);
else c->warning( __tr2qs("Unknown orientation: "));
return true;
}
diff --git a/src/modules/objects/class_painter.cpp b/src/modules/objects/class_painter.cpp
index b7f78d23..bf407f4c 100644
--- a/src/modules/objects/class_painter.cpp
+++ b/src/modules/objects/class_painter.cpp
@@ -528,8 +528,8 @@ bool KviKvsObject_painter::functionsetBackGroundMode(KviKvsObjectFunctionCall *c
KVSO_PARAMETER("background mode",KVS_PT_STRING,0,szMode)
KVSO_PARAMETERS_END(c)
if(!m_pPainter)return true;
- if(KviTQString::equalCI(szMode,"Transparent")) m_pPainter->setBackgroundMode(Qt::TransparentMode);
- else if(KviTQString::equalCI(szMode,"Opaque")) m_pPainter->setBackgroundMode(Qt::OpaqueMode);
+ if(KviTQString::equalCI(szMode,"Transparent")) m_pPainter->setBackgroundMode(TQt::TransparentMode);
+ else if(KviTQString::equalCI(szMode,"Opaque")) m_pPainter->setBackgroundMode(TQt::OpaqueMode);
else c->warning( __tr2qs("Unknown orientation"));
return true;
diff --git a/src/modules/objects/class_slider.cpp b/src/modules/objects/class_slider.cpp
index a8e3d938..462bc14d 100644
--- a/src/modules/objects/class_slider.cpp
+++ b/src/modules/objects/class_slider.cpp
@@ -49,7 +49,7 @@
@functions:
!fn: $setOrientation(<orientation:string>)
Sets the slider's orientation.[br]
- Qt::Orientation value can be "Horizontal" or "Vertical".
+ Orientation value can be "Horizontal" or "Vertical".
!fn: $setTracking(<bTracking:boolean>)
Sets whether slider tracking is enabled to enable.[br]
Value can be 1 or 0.
@@ -265,9 +265,9 @@ bool KviKvsObject_slider::functionsetOrientation(KviKvsObjectFunctionCall *c)
KVSO_PARAMETERS_END(c)
if(!widget())return true;
if(KviTQString::equalCI(szOrientation,"Horizontal"))
- ((TQSlider *)widget())->setOrientation(Qt::Horizontal);
+ ((TQSlider *)widget())->setOrientation(TQt::Horizontal);
else if(KviTQString::equalCI(szOrientation,"Vertical"))
- ((TQSlider *)widget())->setOrientation(Qt::Vertical);
+ ((TQSlider *)widget())->setOrientation(TQt::Vertical);
else c->warning( __tr2qs("Unknown orientation '%Q'"),&szOrientation);
return true;
}
diff --git a/src/modules/objects/class_urllabel.cpp b/src/modules/objects/class_urllabel.cpp
index 1dce3643..635d05e1 100644
--- a/src/modules/objects/class_urllabel.cpp
+++ b/src/modules/objects/class_urllabel.cpp
@@ -31,7 +31,7 @@
#include "kvi_window.h"
#include "kvi_kvs_script.h"
-#define TQT_LEFT_BUTTON Qt::LeftButton
+#define TQT_LEFT_BUTTON TQt::LeftButton
//#warning "Functions to change colors for different states"
//#warning "$setUnderline(), $underline()"
diff --git a/src/modules/objects/class_widget.cpp b/src/modules/objects/class_widget.cpp
index 74e5dc1d..364e907c 100644
--- a/src/modules/objects/class_widget.cpp
+++ b/src/modules/objects/class_widget.cpp
@@ -725,27 +725,27 @@ bool KviKvsObject_widget::eventFilter(TQObject *o,TQEvent *e)
}
break;
case TQEvent::MouseButtonPress:
- if(((TQMouseEvent *)e)->button() & Qt::LeftButton)aparam = 0;
+ if(((TQMouseEvent *)e)->button() & TQt::LeftButton)aparam = 0;
else {
- if(((TQMouseEvent *)e)->button() & Qt::RightButton)aparam = 1;
+ if(((TQMouseEvent *)e)->button() & TQt::RightButton)aparam = 1;
else aparam = 2;
}
if(!callFunction(this,"mousePressEvent",retv,new KviKvsVariantList(new KviKvsVariant((kvs_int_t)aparam),new KviKvsVariant((kvs_int_t)((TQMouseEvent *)e)->pos().x()),new KviKvsVariant((kvs_int_t)((TQMouseEvent *)e)->pos().y())
))) brokenhandler = true; // ignore results of a broken event handler
break;
case TQEvent::MouseButtonRelease:
- if(((TQMouseEvent *)e)->button() & Qt::LeftButton)aparam = 0;
+ if(((TQMouseEvent *)e)->button() & TQt::LeftButton)aparam = 0;
else {
- if(((TQMouseEvent *)e)->button() & Qt::RightButton)aparam = 1;
+ if(((TQMouseEvent *)e)->button() & TQt::RightButton)aparam = 1;
else aparam = 2;
}
if(!callFunction(this,"mouseReleaseEvent",retv,new KviKvsVariantList(new KviKvsVariant((kvs_int_t)aparam),new KviKvsVariant((kvs_int_t)((TQMouseEvent *)e)->pos().x()),new KviKvsVariant((kvs_int_t)((TQMouseEvent *)e)->pos().y())
))) brokenhandler = true; // ignore results of a broken event handler
break;
case TQEvent::MouseButtonDblClick:
- if(( (TQMouseEvent *)e)->button() & Qt::LeftButton)aparam = 0;
+ if(( (TQMouseEvent *)e)->button() & TQt::LeftButton)aparam = 0;
else {
- if(((TQMouseEvent *)e)->button() & Qt::RightButton)aparam = 1;
+ if(((TQMouseEvent *)e)->button() & TQt::RightButton)aparam = 1;
else aparam = 2;
}
if(!callFunction(this,"mouseDoubleClickEvent",retv,new KviKvsVariantList(new KviKvsVariant((kvs_int_t)aparam),new KviKvsVariant((kvs_int_t)((TQMouseEvent *)e)->pos().x()),new KviKvsVariant((kvs_int_t)((TQMouseEvent *)e)->pos().y())
@@ -753,13 +753,13 @@ bool KviKvsObject_widget::eventFilter(TQObject *o,TQEvent *e)
break;
case TQEvent::MouseMove:
- if( (((TQMouseEvent *)e)->state()) & Qt::LeftButton) aparam = 0;
+ if( (((TQMouseEvent *)e)->state()) & TQt::LeftButton) aparam = 0;
else
{
- if(((TQMouseEvent *)e)->state() & Qt::RightButton)aparam = 1;
+ if(((TQMouseEvent *)e)->state() & TQt::RightButton)aparam = 1;
else
{
- if(((TQMouseEvent *)e)->state() & Qt::MidButton)aparam = 2;
+ if(((TQMouseEvent *)e)->state() & TQt::MidButton)aparam = 2;
else aparam = -1;
}
}
diff --git a/src/modules/options/dialog.cpp b/src/modules/options/dialog.cpp
index 92cba9d1..f446277d 100644
--- a/src/modules/options/dialog.cpp
+++ b/src/modules/options/dialog.cpp
@@ -178,7 +178,7 @@ KviOptionsDialog::KviOptionsDialog(TQWidget * par,const TQString &szGroup)
setCaption(szCaption);
TQGridLayout * g1 = new TQGridLayout(this,2,5,8,8);
- TQSplitter * spl = new TQSplitter(Qt::Horizontal,this);
+ TQSplitter * spl = new TQSplitter(TQt::Horizontal,this);
g1->addMultiCellWidget(spl,0,0,0,4);
diff --git a/src/modules/options/optw_antispam.cpp b/src/modules/options/optw_antispam.cpp
index 770db332..026dcdd9 100644
--- a/src/modules/options/optw_antispam.cpp
+++ b/src/modules/options/optw_antispam.cpp
@@ -36,7 +36,7 @@ KviAntispamOptionsWidget::KviAntispamOptionsWidget(TQWidget * parent)
{
createLayout(3,1);
- KviTalGroupBox *g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Enable Anti-spam For","options"));
+ KviTalGroupBox *g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Enable Anti-spam For","options"));
m_b1 = addBoolSelector(g,__tr2qs_ctx("Private messages","options"),KviOption_boolUseAntiSpamOnPrivmsg);
connect(m_b1,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(reenableStuff(bool)));
m_b2 = addBoolSelector(g,__tr2qs_ctx("Private notices","options"),KviOption_boolUseAntiSpamOnNotice);
diff --git a/src/modules/options/optw_avatar.cpp b/src/modules/options/optw_avatar.cpp
index d01e4567..7b578bda 100644
--- a/src/modules/options/optw_avatar.cpp
+++ b/src/modules/options/optw_avatar.cpp
@@ -37,7 +37,7 @@ KviAvatarAdvancedOptionsWidget::KviAvatarAdvancedOptionsWidget(TQWidget * parent
// AVATAR
// 1st Box
- KviTalGroupBox *g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Scaling in userlist","options"));
+ KviTalGroupBox *g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Scaling in userlist","options"));
KviBoolSelector *b = addBoolSelector(g,__tr2qs_ctx("Scale avatar images in userlist (recommended)","options"),KviOption_boolScaleAvatars);
#ifdef COMPILE_INFO_TIPS
KviTalToolTip::add(b,__tr2qs_ctx("<center>This option will force KVIrc to scale avatars" \
@@ -53,7 +53,7 @@ KviAvatarAdvancedOptionsWidget::KviAvatarAdvancedOptionsWidget(TQWidget * parent
connect(b,TQT_SIGNAL(toggled(bool)),u,TQT_SLOT(setEnabled(bool)));
//2nd
- g = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Scaling on load (and in user tooltips)","options"));
+ g = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Scaling on load (and in user tooltips)","options"));
b = addBoolSelector(g,__tr2qs_ctx("Scale avatar images on image load","options"),KviOption_boolScaleAvatarsOnLoad);
u = addUIntSelector(g,__tr2qs_ctx("Image width:","options"),KviOption_uintScaleAvatarsOnLoadWidth,0,1280,80,KVI_OPTION_BOOL(KviOption_boolScaleAvatarsOnLoad));
@@ -62,7 +62,7 @@ KviAvatarAdvancedOptionsWidget::KviAvatarAdvancedOptionsWidget(TQWidget * parent
connect(b,TQT_SIGNAL(toggled(bool)),u,TQT_SLOT(setEnabled(bool)));
// 2st Box
- KviTalGroupBox *gs = addGroupBox(0,2,0,2,1,Qt::Horizontal,__tr2qs_ctx("Request CTCP","options"));
+ KviTalGroupBox *gs = addGroupBox(0,2,0,2,1,TQt::Horizontal,__tr2qs_ctx("Request CTCP","options"));
KviBoolSelector * bs = addBoolSelector(g,__tr2qs_ctx("Request missing avatars","options"),KviOption_boolRequestMissingAvatars);
KviUIntSelector * us = addUIntSelector(g,__tr2qs_ctx("Maximum requested file size:","options"),KviOption_uintMaximumRequestedAvatarSize,0,1048576,102400,KVI_OPTION_BOOL(KviOption_boolRequestMissingAvatars));
diff --git a/src/modules/options/optw_away.cpp b/src/modules/options/optw_away.cpp
index 0faf216e..2b6610ae 100644
--- a/src/modules/options/optw_away.cpp
+++ b/src/modules/options/optw_away.cpp
@@ -40,7 +40,7 @@ KviAwayOptionsWidget::KviAwayOptionsWidget(TQWidget * parent)
addBoolSelector(0,1,0,1, __tr2qs_ctx("User input exits away mode","options"), KviOption_boolExitAwayOnInput);
- KviTalGroupBox *g = addGroupBox(0,2,0,2,1,Qt::Horizontal,__tr2qs_ctx("Away Nickname","options"));
+ KviTalGroupBox *g = addGroupBox(0,2,0,2,1,TQt::Horizontal,__tr2qs_ctx("Away Nickname","options"));
m_pEnableAwayNick = addBoolSelector(g,__tr2qs_ctx("Change nickname on away","options"),KviOption_boolChangeNickAway);
connect(m_pEnableAwayNick,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(enableCustomAwayText(bool)));
diff --git a/src/modules/options/optw_connection.cpp b/src/modules/options/optw_connection.cpp
index 21c1192c..577529ac 100644
--- a/src/modules/options/optw_connection.cpp
+++ b/src/modules/options/optw_connection.cpp
@@ -36,7 +36,7 @@ KviConnectionOptionsWidget::KviConnectionOptionsWidget(TQWidget * parent)
{
createLayout(2,1);
- KviTalGroupBox *gbox = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("On Disconnect","options"));
+ KviTalGroupBox *gbox = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("On Disconnect","options"));
KviBoolSelector *b1 = addBoolSelector(gbox,__tr2qs_ctx("Keep channels open","options"),KviOption_boolKeepChannelsOpenOnDisconnect,true);
@@ -49,7 +49,7 @@ KviConnectionOptionsWidget::KviConnectionOptionsWidget(TQWidget * parent)
mergeTip(b1,__tr2qs_ctx("<center>This option will cause KVIrc to keep queries open after disconnect.</center>","options"));
#endif
- gbox = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("On Unexpected Disconnect","options"));
+ gbox = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("On Unexpected Disconnect","options"));
b1 = addBoolSelector(gbox,__tr2qs_ctx("Keep channels open","options"),KviOption_boolKeepChannelsOpenOnUnexpectedDisconnect,true);
@@ -71,7 +71,7 @@ KviConnectionOptionsWidget::KviConnectionOptionsWidget(TQWidget * parent)
mergeTip(b1,__tr2qs_ctx("<center>This option will cause KVIrc to reopen query windows after a successful reconnect attempt.</center>","options"));
#endif
-// gbox = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("On Unexpected Disconnect","options"));
+// gbox = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("On Unexpected Disconnect","options"));
KviBoolSelector * b = addBoolSelector(gbox,__tr2qs_ctx("Automatically reconnect","options"),KviOption_boolAutoReconnectOnUnexpectedDisconnect);
#ifdef COMPILE_INFO_TIPS
mergeTip(b,__tr2qs_ctx("<center>This option will enable auto-reconnecting after an unexpected disconnect. " \
@@ -120,7 +120,7 @@ KviSSLOptionsWidget::KviSSLOptionsWidget(TQWidget * parent)
#ifdef COMPILE_SSL_SUPPORT
createLayout(3,1);
- KviTalGroupBox * gbox = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Certificate","options"));
+ KviTalGroupBox * gbox = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Certificate","options"));
KviBoolSelector * b = addBoolSelector(gbox,__tr2qs_ctx("Use SSL certificate (PEM format only)","options"),
&(KVI_OPTION_BOOL(KviOption_boolUseSSLCertificate)),true);
@@ -131,7 +131,7 @@ KviSSLOptionsWidget::KviSSLOptionsWidget(TQWidget * parent)
&(KVI_OPTION_STRING(KviOption_stringSSLCertificatePass)),KVI_OPTION_BOOL(KviOption_boolUseSSLCertificate));
connect(b,TQT_SIGNAL(toggled(bool)),p,TQT_SLOT(setEnabled(bool)));
- gbox = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Private Key","options"));
+ gbox = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Private Key","options"));
b = addBoolSelector(gbox,__tr2qs_ctx("Use SSL private key","options"),
&(KVI_OPTION_BOOL(KviOption_boolUseSSLPrivateKey)),true);
f = addFileSelector(gbox,__tr2qs_ctx("Private key location:","options"),
@@ -162,7 +162,7 @@ KviTransportOptionsWidget::KviTransportOptionsWidget(TQWidget * parent)
createLayout(5,1);
KviUIntSelector * u;
- KviTalGroupBox * g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Timeout Values","options"),this);
+ KviTalGroupBox * g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Timeout Values","options"),this);
u = addUIntSelector(g,__tr2qs_ctx("Connect timeout:","options"),KviOption_uintIrcSocketTimeout,5,6000,60);
u->setSuffix(__tr2qs_ctx(" sec","options"));
u = addUIntSelector(g,__tr2qs_ctx("Outgoing data queue flush timeout:","options"),KviOption_uintSocketQueueFlushTimeout,100,2000,500);
@@ -176,7 +176,7 @@ KviTransportOptionsWidget::KviTransportOptionsWidget(TQWidget * parent)
#endif
connect(b,TQT_SIGNAL(toggled(bool)),u,TQT_SLOT(setEnabled(bool)));
- g = addGroupBox(0,3,0,3,2,Qt::Horizontal,__tr2qs_ctx("Network Interfaces","options"));
+ g = addGroupBox(0,3,0,3,2,TQt::Horizontal,__tr2qs_ctx("Network Interfaces","options"));
b = addBoolSelector(g,__tr2qs_ctx("Bind IPv4 connections to:","options"),KviOption_boolBindIrcIpV4ConnectionsToSpecifiedAddress);
KviStringSelector * s = addStringSelector(g,"",KviOption_stringIpV4ConnectionBindAddress,KVI_OPTION_BOOL(KviOption_boolBindIrcIpV4ConnectionsToSpecifiedAddress));
@@ -210,7 +210,7 @@ KviIdentOptionsWidget::KviIdentOptionsWidget(TQWidget * parent)
m_pEnableIdent = addBoolSelector(0,0,0,0,__tr2qs_ctx("Enable ident service (bad practice on UNIX!)","options"),KviOption_boolUseIdentService);
connect(m_pEnableIdent,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(enableIpv4InIpv6(bool)));
- KviTalGroupBox * gbox = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Output verbosity","options"),KVI_OPTION_BOOL(KviOption_boolUseIdentService));
+ KviTalGroupBox * gbox = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Output verbosity","options"),KVI_OPTION_BOOL(KviOption_boolUseIdentService));
connect(m_pEnableIdent,TQT_SIGNAL(toggled(bool)),gbox,TQT_SLOT(setEnabled(bool)));
addLabel(gbox,__tr2qs_ctx("Output identd messages to:","options"));
@@ -232,7 +232,7 @@ KviIdentOptionsWidget::KviIdentOptionsWidget(TQWidget * parent)
break;
}
- gbox = addGroupBox(0,2,0,2,1,Qt::Horizontal,__tr2qs_ctx("Configuration","options"),KVI_OPTION_BOOL(KviOption_boolUseIdentService));
+ gbox = addGroupBox(0,2,0,2,1,TQt::Horizontal,__tr2qs_ctx("Configuration","options"),KVI_OPTION_BOOL(KviOption_boolUseIdentService));
KviBoolSelector *b = addBoolSelector(gbox,__tr2qs_ctx("Enable ident service only while connecting to server","options"),KviOption_boolUseIdentServiceOnlyOnConnect);
connect(m_pEnableIdent,TQT_SIGNAL(toggled(bool)),b,TQT_SLOT(setEnabled(bool)));
@@ -245,7 +245,7 @@ KviIdentOptionsWidget::KviIdentOptionsWidget(TQWidget * parent)
connect(m_pEnableIdent,TQT_SIGNAL(toggled(bool)),u,TQT_SLOT(setEnabled(bool)));
connect(m_pEnableIdent,TQT_SIGNAL(toggled(bool)),gbox,TQT_SLOT(setEnabled(bool)));
- gbox = addGroupBox(0,3,0,3,1,Qt::Horizontal,__tr2qs_ctx("IPv6 Settings","options"),KVI_OPTION_BOOL(KviOption_boolUseIdentService));
+ gbox = addGroupBox(0,3,0,3,1,TQt::Horizontal,__tr2qs_ctx("IPv6 Settings","options"),KVI_OPTION_BOOL(KviOption_boolUseIdentService));
m_pEnableIpv6 = addBoolSelector(gbox,__tr2qs_ctx("Enable service for IPv6","options"),
KviOption_boolIdentdEnableIpV6,
KVI_OPTION_BOOL(KviOption_boolUseIdentService));
diff --git a/src/modules/options/optw_ctcp.cpp b/src/modules/options/optw_ctcp.cpp
index c3c7c118..9ae7e8e4 100644
--- a/src/modules/options/optw_ctcp.cpp
+++ b/src/modules/options/optw_ctcp.cpp
@@ -44,7 +44,7 @@ KviCtcpOptionsWidget::KviCtcpOptionsWidget(TQWidget * parent)
"<br><br></p>","options"));
- KviTalGroupBox *gs = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("CTCP Replies","options"));
+ KviTalGroupBox *gs = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("CTCP Replies","options"));
KviStringSelector * s = addStringSelector(gs, __tr2qs_ctx("Append to VERSION reply:","options"),KviOption_stringCtcpVersionPostfix);
#ifdef COMPILE_INFO_TIPS
diff --git a/src/modules/options/optw_ctcpfloodprotection.cpp b/src/modules/options/optw_ctcpfloodprotection.cpp
index a0604d9b..99a47f47 100644
--- a/src/modules/options/optw_ctcpfloodprotection.cpp
+++ b/src/modules/options/optw_ctcpfloodprotection.cpp
@@ -93,7 +93,7 @@ KviCtcpFloodProtectionOptionsWidget::KviCtcpFloodProtectionOptionsWidget(TQWidge
#endif
connect(b,TQT_SIGNAL(toggled(bool)),u,TQT_SLOT(setEnabled(bool)));
- KviTalGroupBox * g = addGroupBox(0,2,1,2,2,Qt::Horizontal,__tr2qs_ctx("Ignored Requests","options"));
+ KviTalGroupBox * g = addGroupBox(0,2,1,2,2,TQt::Horizontal,__tr2qs_ctx("Ignored Requests","options"));
addBoolSelector(g,__tr2qs_ctx("PING","options"),KviOption_boolIgnoreCtcpPing);
addBoolSelector(g,__tr2qs_ctx("FINGER","options"),KviOption_boolIgnoreCtcpFinger);
addBoolSelector(g,__tr2qs_ctx("CLIENTINFO","options"),KviOption_boolIgnoreCtcpClientinfo);
diff --git a/src/modules/options/optw_dcc.cpp b/src/modules/options/optw_dcc.cpp
index a1911285..6e1e447f 100644
--- a/src/modules/options/optw_dcc.cpp
+++ b/src/modules/options/optw_dcc.cpp
@@ -70,7 +70,7 @@ KviDccAdvancedOptionsWidget::KviDccAdvancedOptionsWidget(TQWidget * parent)
{
createLayout(5,1);
- KviTalGroupBox * g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Network Properties","options"));
+ KviTalGroupBox * g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Network Properties","options"));
KviBoolSelector * b = addBoolSelector(g,__tr2qs_ctx("Use user-defined address or network interface","options"),KviOption_boolDccListenOnSpecifiedInterfaceByDefault);
@@ -195,18 +195,18 @@ KviDccSendGeneralOptionsWidget::KviDccSendGeneralOptionsWidget(TQWidget * parent
KviBoolSelector * b;
- KviTalGroupBox * g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("On Incoming File","options"));
+ KviTalGroupBox * g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("On Incoming File","options"));
KviBoolSelector * b2 = addBoolSelector(g,__tr2qs_ctx("Automatically accept","options"),KviOption_boolAutoAcceptDccSend);
KviBoolSelector * b3 = addBoolSelector(g,__tr2qs_ctx("Open transfer window as minimized when auto-accepted","options"),KviOption_boolCreateMinimizedDccSendWhenAutoAccepted,!KVI_OPTION_BOOL(KviOption_boolCreateMinimizedDccSend));
KviBoolSelector * b4 = addBoolSelector(g,__tr2qs_ctx("Automatically resume when auto-accepted","options"),KviOption_boolAutoResumeDccSendWhenAutoAccepted,KVI_OPTION_BOOL(KviOption_boolAutoAcceptDccSend));
- g = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Save Location","options"));
+ g = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Save Location","options"));
addDirectorySelector(g,__tr2qs_ctx("Download folder:","options"),KviOption_stringIncomingPath);
addBoolSelector(g,__tr2qs_ctx("Sort saved files by nicknames (create subfolders)","options"),KviOption_boolSortReceivedByDccFilesByNicks);
addBoolSelector(g,__tr2qs_ctx("Guess save path from media type","options"),KviOption_boolUseIncomingDccMediaTypeSavePath);
- g = addGroupBox(0,2,0,2,1,Qt::Horizontal,__tr2qs_ctx("On Download Completion","options"));
+ g = addGroupBox(0,2,0,2,1,TQt::Horizontal,__tr2qs_ctx("On Download Completion","options"));
addBoolSelector(g,__tr2qs_ctx("Notify completion in console","options"),KviOption_boolNotifyDccSendSuccessInConsole);
addBoolSelector(g,__tr2qs_ctx("Notify completion in notifier","options"),KviOption_boolNotifyDccSendSuccessInNotifier);
b = addBoolSelector(g,__tr2qs_ctx("Automatically clear transfer","options"),KviOption_boolAutoCloseDccSendOnSuccess);
@@ -235,7 +235,7 @@ KviDccSendAdvancedOptionsWidget::KviDccSendAdvancedOptionsWidget(TQWidget * pare
{
createLayout(4,1);
- KviTalGroupBox * g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Bug Compatibility","options"));
+ KviTalGroupBox * g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Bug Compatibility","options"));
KviBoolSelector * b = addBoolSelector(g,__tr2qs_ctx("Send ACK for byte 0","options"),KviOption_boolSendZeroAckInDccRecv);
#ifdef COMPILE_INFO_TIPS
mergeTip(b,
@@ -259,7 +259,7 @@ KviDccSendAdvancedOptionsWidget::KviDccSendAdvancedOptionsWidget(TQWidget * pare
#endif //COMPILE_INFO_TIPS
- g = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Limits","options"));
+ g = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Limits","options"));
KviTalHBox * hb = new KviTalHBox(g);
b = addBoolSelector(hb,__tr2qs_ctx("Limit upload bandwidth to","options"),KviOption_boolLimitDccSendSpeed);
@@ -280,7 +280,7 @@ KviDccSendAdvancedOptionsWidget::KviDccSendAdvancedOptionsWidget(TQWidget * pare
"KVIrc will refuse the requests when this limit is reached.</center>","options"));
#endif
- g = addGroupBox(0,2,0,2,1,Qt::Horizontal,__tr2qs_ctx("Tweaks","options"));
+ g = addGroupBox(0,2,0,2,1,TQt::Horizontal,__tr2qs_ctx("Tweaks","options"));
b = addBoolSelector(g,__tr2qs_ctx("Use fast send (send ahead)","options"),KviOption_boolUseFastDccSend);
#ifdef COMPILE_INFO_TIPS
@@ -346,7 +346,7 @@ KviDccChatOptionsWidget::KviDccChatOptionsWidget(TQWidget * parent)
{
createLayout(3,1);
- KviTalGroupBox * g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("On Chat Request","options"));
+ KviTalGroupBox * g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("On Chat Request","options"));
KviBoolSelector * b = addBoolSelector(g,__tr2qs_ctx("Automatically accept","options"),KviOption_boolAutoAcceptDccChat);
b = addBoolSelector(g,__tr2qs_ctx("Open minimized when auto-accepted","options"),KviOption_boolCreateMinimizedDccChatWhenAutoAccepted,!KVI_OPTION_BOOL(KviOption_boolCreateMinimizedDccChat));
@@ -367,7 +367,7 @@ KviDccVoiceOptionsWidget::KviDccVoiceOptionsWidget(TQWidget *p):KviOptionsWidget
createLayout(8, 1);
KviBoolSelector * b1 = addBoolSelector(0,0,0,0,__tr2qs_ctx("Open all minimized","options"),KviOption_boolCreateMinimizedDccVoice);
- KviTalGroupBox * g = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("On Voice Request","options"));
+ KviTalGroupBox * g = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("On Voice Request","options"));
KviBoolSelector * b = addBoolSelector(g,__tr2qs_ctx("Automatically accept","options"),KviOption_boolAutoAcceptDccVoice);
b = addBoolSelector(g,__tr2qs_ctx("Open minimized when auto-accepted","options"),KviOption_boolCreateMinimizedDccVoiceWhenAutoAccepted,!KVI_OPTION_BOOL(KviOption_boolCreateMinimizedDccVoice));
diff --git a/src/modules/options/optw_highlighting.cpp b/src/modules/options/optw_highlighting.cpp
index fdb8e908..52e5a64f 100644
--- a/src/modules/options/optw_highlighting.cpp
+++ b/src/modules/options/optw_highlighting.cpp
@@ -88,7 +88,7 @@ KviAlertOptionsWidget::KviAlertOptionsWidget(TQWidget * parent)
KviBoolSelector * b;
- KviTalGroupBox * g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Alert Restrictions","options"));
+ KviTalGroupBox * g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Alert Restrictions","options"));
KviBoolSelector * b3 = addBoolSelector(g,__tr2qs_ctx("Restrict alert","options"),KviOption_boolHighlightOnlyNormalMsg);
#ifdef COMPILE_INFO_TIPS
mergeTip(b3, __tr2qs_ctx("<center>If this option is enabled, KVIrc will alert in the taskbar only if a normal message is received in a channel.<br>Actions like joins, parts and mode changes will be ignored.<br> This is useful if you are in channels with a high rate of traffic and only want to be alerted for messages that are interesting to you.</center>","options"));
diff --git a/src/modules/options/optw_identity.cpp b/src/modules/options/optw_identity.cpp
index e403daec..32540453 100644
--- a/src/modules/options/optw_identity.cpp
+++ b/src/modules/options/optw_identity.cpp
@@ -313,7 +313,7 @@ KviIdentityGeneralOptionsWidget::KviIdentityGeneralOptionsWidget(TQWidget * pare
createLayout(3,1);
layout()->setMargin(10);
- KviTalGroupBox * gbox = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Basic Properties","options"));
+ KviTalGroupBox * gbox = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Basic Properties","options"));
KviTalHBox * hb = new KviTalHBox(gbox);
hb->setSpacing(3);
@@ -353,7 +353,7 @@ KviIdentityGeneralOptionsWidget::KviIdentityGeneralOptionsWidget(TQWidget * pare
TQString szCenterEnd("</center>");
TQString szTrailing = "<br><br>" + szOptionalCtcpUserInfo + szCenterEnd;
- gbox = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Profile","options"));
+ gbox = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Profile","options"));
hb = new KviTalHBox(gbox);
hb->setSpacing(4);
@@ -680,12 +680,12 @@ KviIdentityAdvancedOptionsWidget::KviIdentityAdvancedOptionsWidget(TQWidget * pa
createLayout(2,1);
layout()->setMargin(10);
- KviTalGroupBox * gbox = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("User Mode","options"));
+ KviTalGroupBox * gbox = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("User Mode","options"));
m_pISelector = addBoolSelector(gbox,__tr2qs_ctx("Invisible (+i)","options"),&m_bI);
m_pSSelector = addBoolSelector(gbox,__tr2qs_ctx("Server notices (+s)","options"),&m_bS);
m_pWSelector = addBoolSelector(gbox,__tr2qs_ctx("Wallops (+w)","options"),&m_bW);
- gbox = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Default Messages","options"));
+ gbox = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Default Messages","options"));
KviStringSelector * sel = addStringSelector(gbox, __tr2qs_ctx("Part message:","options"),KviOption_stringPartMessage);
diff --git a/src/modules/options/optw_ignore.cpp b/src/modules/options/optw_ignore.cpp
index 9d6b56a8..3dd923e3 100644
--- a/src/modules/options/optw_ignore.cpp
+++ b/src/modules/options/optw_ignore.cpp
@@ -35,7 +35,7 @@ KviIgnoreOptionsWidget::KviIgnoreOptionsWidget(TQWidget * parent)
{
createLayout(3,1);
- KviTalGroupBox *g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Enable Ignore For","options"));
+ KviTalGroupBox *g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Enable Ignore For","options"));
m_pIgnorePrivmsg = addBoolSelector(g,__tr2qs_ctx("Private/channel messages","options"),KviOption_boolEnableIgnoreOnPrivMsg);
m_pIgnoreNotice = addBoolSelector(g,__tr2qs_ctx("Private/channel notices","options"),KviOption_boolEnableIgnoreOnNotice);
diff --git a/src/modules/options/optw_input.cpp b/src/modules/options/optw_input.cpp
index 1153365a..20284eae 100644
--- a/src/modules/options/optw_input.cpp
+++ b/src/modules/options/optw_input.cpp
@@ -141,7 +141,7 @@ KviInputFeaturesOptionsWidget::KviInputFeaturesOptionsWidget(TQWidget * parent)
addBoolSelector(0,0,0,0,__tr2qs_ctx("Warp cursor at the end of line when browsing history","options"),KviOption_boolInputHistoryCursorAtEnd);
addBoolSelector(0,1,0,1,__tr2qs_ctx("Disable the input history window and it's log memory.","options"),KviOption_boolDisableInputHistory); //G&N 2005
addBoolSelector(0,2,0,2,__tr2qs_ctx("Hide input toolbuttons by default","options"),KviOption_boolHideInputToolButtons);
- KviTalGroupBox * g = addGroupBox(0,3,0,3,1,Qt::Horizontal,__tr2qs_ctx("Nick completion","options"));
+ KviTalGroupBox * g = addGroupBox(0,3,0,3,1,TQt::Horizontal,__tr2qs_ctx("Nick completion","options"));
addBoolSelector(g,__tr2qs_ctx("Use bash-like nick completion","options"),KviOption_boolBashLikeNickCompletion);
addStringSelector(g,__tr2qs_ctx("Nick completion postfix string","options"),KviOption_stringNickCompletionPostfix);
addBoolSelector(g,__tr2qs_ctx("Use the completion postfix string for the first word only","options"),KviOption_boolUseNickCompletionPostfixForFirstWordOnly);
diff --git a/src/modules/options/optw_interfacefeatures.cpp b/src/modules/options/optw_interfacefeatures.cpp
index 780c493f..d3377267 100644
--- a/src/modules/options/optw_interfacefeatures.cpp
+++ b/src/modules/options/optw_interfacefeatures.cpp
@@ -54,7 +54,7 @@ KviInterfaceFeaturesOptionsWidget::KviInterfaceFeaturesOptionsWidget(TQWidget *
addBoolSelector(0,4,0,4,__tr2qs_ctx("Enable visual effects","options"),KviOption_boolEnableVisualEffects);
addBoolSelector(0,5,0,5,__tr2qs_ctx("Hide Channel window tool buttons by default","options"),KviOption_boolHideWindowToolButtons);
- KviTalGroupBox * g = addGroupBox(0,6,0,6,1,Qt::Horizontal,__tr2qs_ctx("Open Dialog Window For","options"));
+ KviTalGroupBox * g = addGroupBox(0,6,0,6,1,TQt::Horizontal,__tr2qs_ctx("Open Dialog Window For","options"));
addBoolSelector(g,__tr2qs_ctx("Preferences","options"),KviOption_boolShowGeneralOptionsDialogAsToplevel);
addBoolSelector(g,__tr2qs_ctx("Registered Users","options"),KviOption_boolShowRegisteredUsersDialogAsToplevel);
addBoolSelector(g,__tr2qs_ctx("Identity","options"),KviOption_boolShowIdentityDialogAsToplevel);
diff --git a/src/modules/options/optw_irc.cpp b/src/modules/options/optw_irc.cpp
index 71b60956..22620045 100644
--- a/src/modules/options/optw_irc.cpp
+++ b/src/modules/options/optw_irc.cpp
@@ -107,7 +107,7 @@ KviChannelGeneralOptionsWidget::KviChannelGeneralOptionsWidget(TQWidget * pParen
{
createLayout(5,1);
- KviTalGroupBox * g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("On Channel Kick","options"));
+ KviTalGroupBox * g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("On Channel Kick","options"));
KviBoolSelector *b = addBoolSelector(g,__tr2qs_ctx("Rejoin channel","options"),KviOption_boolRejoinChannelOnKick);
#ifdef COMPILE_INFO_TIPS
@@ -124,7 +124,7 @@ KviChannelGeneralOptionsWidget::KviChannelGeneralOptionsWidget(TQWidget * pParen
"\"Rejoin channel\" option.</center>","options"));
#endif
- g = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("On Channel Part","options"));
+ g = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("On Channel Part","options"));
b = addBoolSelector(g,__tr2qs_ctx("Keep channel open","options"),KviOption_boolKeepChannelOpenOnPart);
#ifdef COMPILE_INFO_TIPS
@@ -185,7 +185,7 @@ KviChannelAdvancedOptionsWidget::KviChannelAdvancedOptionsWidget(TQWidget * pPar
}
m_pBanTypeCombo->setCurrentItem(KVI_OPTION_UINT(KviOption_uintDefaultBanType));
- KviTalGroupBox * g = addGroupBox(0,2,4,2,1,Qt::Horizontal,__tr2qs_ctx("On Channel Join","options"));
+ KviTalGroupBox * g = addGroupBox(0,2,4,2,1,TQt::Horizontal,__tr2qs_ctx("On Channel Join","options"));
addBoolSelector(g,__tr2qs_ctx("Do not send /WHO request","options"),KviOption_boolDisableWhoRequestOnJoin);
addBoolSelector(g,__tr2qs_ctx("Do not request ban list","options"),KviOption_boolDisableBanListRequestOnJoin);
addBoolSelector(g,__tr2qs_ctx("Do not request ban exception list","options"),KviOption_boolDisableBanExceptionListRequestOnJoin);
@@ -199,7 +199,7 @@ KviChannelAdvancedOptionsWidget::KviChannelAdvancedOptionsWidget(TQWidget * pPar
"your IRC bandwidth.</center>","options"));
#endif
- g = addGroupBox(0,4,4,4,1,Qt::Horizontal,__tr2qs_ctx("On Channel Join","options"));
+ g = addGroupBox(0,4,4,4,1,TQt::Horizontal,__tr2qs_ctx("On Channel Join","options"));
addBoolSelector(g,__tr2qs_ctx("Echo channel topic","options"),KviOption_boolEchoNumericTopic);
addBoolSelector(g,__tr2qs_ctx("Show channel sync time","options"),KviOption_boolShowChannelSyncTime);
diff --git a/src/modules/options/optw_ircoutput.cpp b/src/modules/options/optw_ircoutput.cpp
index 6446fe72..47bc7610 100644
--- a/src/modules/options/optw_ircoutput.cpp
+++ b/src/modules/options/optw_ircoutput.cpp
@@ -56,7 +56,7 @@ KviIrcOutputOptionsWidget::KviIrcOutputOptionsWidget(TQWidget * parent)
KVI_OPTION_UINT(KviOption_uintOutputVerbosityLevel) = KVI_VERBOSITY_LEVEL_NORMAL;
m_pVerbosityCombo->setCurrentItem(KVI_OPTION_UINT(KviOption_uintOutputVerbosityLevel));
- KviTalGroupBox * g = addGroupBox(0,1,1,1,1,Qt::Horizontal,__tr2qs_ctx("Show in active window","options"));
+ KviTalGroupBox * g = addGroupBox(0,1,1,1,1,TQt::Horizontal,__tr2qs_ctx("Show in active window","options"));
addBoolSelector(g,__tr2qs_ctx("External messages","options"),KviOption_boolExternalMessagesToActiveWindow);
addBoolSelector(g,__tr2qs_ctx("External CTCP replies","options"),KviOption_boolCtcpRepliesToActiveWindow);
addBoolSelector(g,__tr2qs_ctx("Whois replies","options"),KviOption_boolWhoisRepliesToActiveWindow);
diff --git a/src/modules/options/optw_lag.cpp b/src/modules/options/optw_lag.cpp
index 8dce8615..3c21a659 100644
--- a/src/modules/options/optw_lag.cpp
+++ b/src/modules/options/optw_lag.cpp
@@ -41,7 +41,7 @@ KviLagOptionsWidget::KviLagOptionsWidget(TQWidget * parent)
#ifdef COMPILE_INFO_TIPS
mergeTip(pUse,__tr2qs_ctx("<center>This enables the lag meter engine, which checks at regular intervals how much lag (latency) the server has.</center>","options"));
#endif
- KviTalGroupBox *g = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Configuration","options"),KVI_OPTION_BOOL(KviOption_boolUseLagMeterEngine));
+ KviTalGroupBox *g = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Configuration","options"),KVI_OPTION_BOOL(KviOption_boolUseLagMeterEngine));
KviUIntSelector * pInterval = addUIntSelector(g, __tr2qs_ctx("Lag meter heartbeat:","options"),KviOption_uintLagMeterHeartbeat,2000,10000,5000,KVI_OPTION_BOOL(KviOption_boolUseLagMeterEngine));
pInterval->setSuffix(__tr2qs_ctx(" msec","options"));
#ifdef COMPILE_INFO_TIPS
diff --git a/src/modules/options/optw_logging.cpp b/src/modules/options/optw_logging.cpp
index 378c1dd1..b1f25976 100644
--- a/src/modules/options/optw_logging.cpp
+++ b/src/modules/options/optw_logging.cpp
@@ -36,7 +36,7 @@ KviLoggingOptionsWidget::KviLoggingOptionsWidget(TQWidget * parent)
{
createLayout(4,1);
- KviTalGroupBox * g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Automatically Log","options"));
+ KviTalGroupBox * g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Automatically Log","options"));
addBoolSelector(g,__tr2qs_ctx("Query windows","options"),KviOption_boolAutoLogQueries);
addBoolSelector(g,__tr2qs_ctx("Channel windows","options"),KviOption_boolAutoLogChannels);
addBoolSelector(g,__tr2qs_ctx("DCC Chat windows","options"),KviOption_boolAutoLogDccChat);
diff --git a/src/modules/options/optw_messages.cpp b/src/modules/options/optw_messages.cpp
index 946339f6..b7a7a5e0 100644
--- a/src/modules/options/optw_messages.cpp
+++ b/src/modules/options/optw_messages.cpp
@@ -76,7 +76,7 @@ KviPrivmsgOptionsWidget::KviPrivmsgOptionsWidget(TQWidget * parent)
KviBoolSelector * b1;
KviBoolSelector * b2;
- KviTalGroupBox * g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("General","options"));
+ KviTalGroupBox * g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("General","options"));
addBoolSelector(g,__tr2qs_ctx("Show message icons","options"),KviOption_boolIrcViewShowImages);
addBoolSelector(g,__tr2qs_ctx("Draw some emoticons (smileys) as pictures","options"),KviOption_boolDrawEmoticons);
@@ -85,7 +85,7 @@ KviPrivmsgOptionsWidget::KviPrivmsgOptionsWidget(TQWidget * parent)
- g = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Nicknames","options"));
+ g = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Nicknames","options"));
b1 = addBoolSelector(g,__tr2qs_ctx("\"Smart\" nickname colors","options"),KviOption_boolColorNicks);
b2 = addBoolSelector(g,__tr2qs_ctx("Use same colors as in the userlist","options"),KviOption_boolUseUserListColorsAsNickColors,!KVI_OPTION_BOOL(KviOption_boolColorNicks));
diff --git a/src/modules/options/optw_notify.cpp b/src/modules/options/optw_notify.cpp
index 8688cdc6..423be23a 100644
--- a/src/modules/options/optw_notify.cpp
+++ b/src/modules/options/optw_notify.cpp
@@ -37,7 +37,7 @@ KviNotifyOptionsWidget::KviNotifyOptionsWidget(TQWidget * parent)
createLayout(5,1);
KviBoolSelector * b = addBoolSelector(0,0,0,0,__tr2qs_ctx("Use online notify list","options"),KviOption_boolUseNotifyList);
- KviTalGroupBox *g = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Configuration","options"));
+ KviTalGroupBox *g = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Configuration","options"));
connect(b,TQT_SIGNAL(toggled(bool)),g,TQT_SLOT(setEnabled(bool)));
connect(b,
@@ -56,7 +56,7 @@ KviNotifyOptionsWidget::KviNotifyOptionsWidget(TQWidget * parent)
KviOption_boolPopupNotifierOnNotifyOnLine,KVI_OPTION_BOOL(KviOption_boolUseNotifyList)),
TQT_SLOT(setEnabled(bool)));
- g = addGroupBox(0,2,0,2,1,Qt::Horizontal,__tr2qs_ctx("Advanced configuration","options"));
+ g = addGroupBox(0,2,0,2,1,TQt::Horizontal,__tr2qs_ctx("Advanced configuration","options"));
connect(b,TQT_SIGNAL(toggled(bool)),g,TQT_SLOT(setEnabled(bool)));
connect(b,
diff --git a/src/modules/options/optw_proxy.cpp b/src/modules/options/optw_proxy.cpp
index aa9cedac..02c29e4f 100644
--- a/src/modules/options/optw_proxy.cpp
+++ b/src/modules/options/optw_proxy.cpp
@@ -103,7 +103,7 @@ KviProxyOptionsWidget::KviProxyOptionsWidget(TQWidget * parent)
vbox->setStretchFactor(lll,100);
- KviTalGroupBox * gbox = addGroupBox(0,2,1,2,2,Qt::Horizontal,__tr2qs_ctx("Configuration","options"),this);
+ KviTalGroupBox * gbox = addGroupBox(0,2,1,2,2,TQt::Horizontal,__tr2qs_ctx("Configuration","options"),this);
//TQGridLayout * gl = new TQGridLayout(gbox->layout());
//gl->setMargin(2);
//gl->setSpacing(4);
diff --git a/src/modules/options/optw_query.cpp b/src/modules/options/optw_query.cpp
index 99403932..1efc3417 100644
--- a/src/modules/options/optw_query.cpp
+++ b/src/modules/options/optw_query.cpp
@@ -39,7 +39,7 @@ KviQueryOptionsWidget::KviQueryOptionsWidget(TQWidget * parent)
{
createLayout(8,1);
- KviTalGroupBox *g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Open Query For","options"));
+ KviTalGroupBox *g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Open Query For","options"));
KviBoolSelector *b = addBoolSelector(g, __tr2qs_ctx("Private messages","options"),KviOption_boolCreateQueryOnPrivmsg);
#ifdef COMPILE_INFO_TIPS
mergeTip(b,
diff --git a/src/modules/options/optw_servers.cpp b/src/modules/options/optw_servers.cpp
index 3706f10c..1e465947 100644
--- a/src/modules/options/optw_servers.cpp
+++ b/src/modules/options/optw_servers.cpp
@@ -124,7 +124,7 @@ KviNetworkDetailsWidget::KviNetworkDetailsWidget(TQWidget * par,KviIrcNetwork *
TQWidget * tab = new TQWidget(tw);
TQGridLayout * gl = new TQGridLayout(tab,4,2,10,4);
- KviTalGroupBox *gbox = new KviTalGroupBox(2,Qt::Horizontal,__tr2qs_ctx("Properties","options"),tab);
+ KviTalGroupBox *gbox = new KviTalGroupBox(2,TQt::Horizontal,__tr2qs_ctx("Properties","options"),tab);
gl->addMultiCellWidget(gbox,0,0,0,1);
l = new TQLabel(__tr2qs_ctx("Username:","options"),gbox);
@@ -474,7 +474,7 @@ KviServerDetailsWidget::KviServerDetailsWidget(TQWidget * par,KviIrcServer * s)
TQWidget * tab = new TQWidget(tw);
TQGridLayout * gl = new TQGridLayout(tab,3,1,10,4);
- KviTalGroupBox *gbox = new KviTalGroupBox(2,Qt::Horizontal,__tr2qs_ctx("Properties","options"),tab);
+ KviTalGroupBox *gbox = new KviTalGroupBox(2,TQt::Horizontal,__tr2qs_ctx("Properties","options"),tab);
gl->addWidget(gbox,0,0);
l = new TQLabel(__tr2qs_ctx("Username:","options"),gbox);
@@ -514,7 +514,7 @@ KviServerDetailsWidget::KviServerDetailsWidget(TQWidget * par,KviIrcServer * s)
"If you leave this field empty (most common case), KVIrc will first look if a real name is specified " \
"for the network that this server belongs to, and if that is empty the default \"real name\" (specified in the \"Identity\" settings) will be used.</center>","options"));
#endif
- gbox = new KviTalGroupBox(1,Qt::Horizontal,__tr2qs_ctx("User Mode","options"),tab);
+ gbox = new KviTalGroupBox(1,TQt::Horizontal,__tr2qs_ctx("User Mode","options"),tab);
gl->addWidget(gbox,1,0);
m_pUseDefaultInitUMode = new KviStyledCheckBox(__tr2qs_ctx("Use default user mode","options"),gbox);
@@ -1122,7 +1122,7 @@ KviServerOptionsWidget::KviServerOptionsWidget(TQWidget * parent)
TQFrame * lll = new TQFrame(vbox);
vbox->setStretchFactor(lll,100);
- KviTalGroupBox *gbox = addGroupBox(0,1,1,1,3,Qt::Horizontal,__tr2qs_ctx("Active Configuration","options"));
+ KviTalGroupBox *gbox = addGroupBox(0,1,1,1,3,TQt::Horizontal,__tr2qs_ctx("Active Configuration","options"));
m_pSrvNetLabel = new TQLabel(__tr2qs_ctx("Server:","options"),gbox);
m_pSrvNetEdit = new TQLineEdit(gbox);
diff --git a/src/modules/options/optw_sound.cpp b/src/modules/options/optw_sound.cpp
index d2d16598..72f527a7 100644
--- a/src/modules/options/optw_sound.cpp
+++ b/src/modules/options/optw_sound.cpp
@@ -61,7 +61,7 @@ KviSoundGeneralOptionsWidget::KviSoundGeneralOptionsWidget(TQWidget * parent)
#else
createLayout(3,1);
#endif
- KviTalGroupBox * g = addGroupBox(0,0,0,0,1,Qt::Horizontal,__tr2qs_ctx("Sound System","options"),true);
+ KviTalGroupBox * g = addGroupBox(0,0,0,0,1,TQt::Horizontal,__tr2qs_ctx("Sound System","options"),true);
KviTalToolTip::add(g,__tr2qs_ctx("This allows you to select the sound system to be used with KVIrc.","options"));
@@ -76,7 +76,7 @@ KviSoundGeneralOptionsWidget::KviSoundGeneralOptionsWidget(TQWidget * parent)
connect(m_pSoundTestButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(soundTest()));
- g = addGroupBox(0,1,0,1,1,Qt::Horizontal,__tr2qs_ctx("Media Player","options"),true);
+ g = addGroupBox(0,1,0,1,1,TQt::Horizontal,__tr2qs_ctx("Media Player","options"),true);
KviTalToolTip::add(g,__tr2qs_ctx("This allows you to select the preferred media player to be used with " \
"the mediaplayer.* module commands and functions.","options"));
@@ -99,7 +99,7 @@ KviSoundGeneralOptionsWidget::KviSoundGeneralOptionsWidget(TQWidget * parent)
m_pSoundTestButton->setEnabled(false);
m_pMediaTestButton->setEnabled(false);
- g = addGroupBox(0,2,0,2,1,Qt::Horizontal,__tr2qs_ctx("ID3 tags' encoding","options"),true);
+ g = addGroupBox(0,2,0,2,1,TQt::Horizontal,__tr2qs_ctx("ID3 tags' encoding","options"),true);
KviTalToolTip::add(g,__tr2qs_ctx("This allows you to select encoding of mp3 tags.","options"));
@@ -122,7 +122,7 @@ KviSoundGeneralOptionsWidget::KviSoundGeneralOptionsWidget(TQWidget * parent)
m_pTagsEncodingCombo->setCurrentItem(iMatch);
#ifdef COMPILE_ON_WINDOWS
- g = addGroupBox(0,3,0,3,1,Qt::Horizontal,__tr2qs_ctx("Winamp messages ecoding","options"),true);
+ g = addGroupBox(0,3,0,3,1,TQt::Horizontal,__tr2qs_ctx("Winamp messages ecoding","options"),true);
KviTalToolTip::add(g,__tr2qs_ctx("This allows you to select encoding of winamp messages.","options"));
diff --git a/src/modules/options/optw_taskbar.cpp b/src/modules/options/optw_taskbar.cpp
index 0c85ea7e..394c8a10 100644
--- a/src/modules/options/optw_taskbar.cpp
+++ b/src/modules/options/optw_taskbar.cpp
@@ -77,7 +77,7 @@ KviTreeTaskBarForegroundOptionsWidget::KviTreeTaskBarForegroundOptionsWidget(TQW
{
createLayout(3,1);
- KviTalGroupBox *g = addGroupBox(0,0,0,0,2,Qt::Horizontal,__tr2qs_ctx("Text/Alert Colors","options"));
+ KviTalGroupBox *g = addGroupBox(0,0,0,0,2,TQt::Horizontal,__tr2qs_ctx("Text/Alert Colors","options"));
addColorSelector(g,__tr2qs_ctx("Normal:","options"),KviOption_colorTreeTaskBarForeground);
addColorSelector(g,__tr2qs_ctx("Selected:","options"),KviOption_colorTreeTaskBarActiveForeground);
@@ -107,7 +107,7 @@ KviTreeTaskBarBackgroundOptionsWidget::KviTreeTaskBarBackgroundOptionsWidget(TQW
{
createLayout(4,2);
- KviTalGroupBox * g = addGroupBox(0,0,1,0,2,Qt::Horizontal,__tr2qs_ctx("Background Colors","options"));
+ KviTalGroupBox * g = addGroupBox(0,0,1,0,2,TQt::Horizontal,__tr2qs_ctx("Background Colors","options"));
addColorSelector(g,__tr2qs_ctx("Normal:","options"),KviOption_colorTreeTaskBarBackground);
addColorSelector(g,__tr2qs_ctx("Selected:","options"),KviOption_colorTreeTaskBarActiveBackground);
@@ -230,7 +230,7 @@ KviClassicTaskBarOptionsWidget::KviClassicTaskBarOptionsWidget(TQWidget * parent
{
createLayout(8,1);
addFontSelector(0,0,0,0,__tr2qs_ctx("Font:","options"),KviOption_fontTaskbar);
- KviTalGroupBox *g = addGroupBox(0,1,0,1,2,Qt::Horizontal,__tr2qs_ctx("Text/Alert Colors","options"));
+ KviTalGroupBox *g = addGroupBox(0,1,0,1,2,TQt::Horizontal,__tr2qs_ctx("Text/Alert Colors","options"));
addColorSelector(g,__tr2qs_ctx("Normal:","options"),KviOption_colorTaskBarNormalText);
addColorSelector(g,__tr2qs_ctx("Minimized:","options"), KviOption_colorTaskBarMinimizedText);
addColorSelector(g,__tr2qs_ctx("Alert Level 1:","options"),KviOption_colorTaskBarHighlight1Text);
diff --git a/src/modules/options/optw_tray.cpp b/src/modules/options/optw_tray.cpp
index df6fd0ba..6ddc3ede 100644
--- a/src/modules/options/optw_tray.cpp
+++ b/src/modules/options/optw_tray.cpp
@@ -44,7 +44,7 @@ KviTrayOptionsWidget::KviTrayOptionsWidget(TQWidget * parent)
m_pEnableFlashing = addBoolSelector(0,3,0,3,__tr2qs_ctx("Enable tray icon flashing","options"),KviOption_boolEnableTrayIconFlashing);
m_pLevelBasedNotify = addBoolSelector(0,4,0,4,__tr2qs_ctx("Enable level-based message notification (not a message-type based)","options"),KviOption_boolUseLevelBasedTrayNotification);
- m_pLevelsGroup = addGroupBox(0,5,0,5,1,Qt::Horizontal,__tr2qs_ctx("Select message levels to notify","options"));
+ m_pLevelsGroup = addGroupBox(0,5,0,5,1,TQt::Horizontal,__tr2qs_ctx("Select message levels to notify","options"));
addUIntSelector(m_pLevelsGroup,__tr2qs_ctx("Minimum level for low-priority messages","options"),
KviOption_uintMinTrayLowLevelMessage,
diff --git a/src/modules/options/optw_userlist.cpp b/src/modules/options/optw_userlist.cpp
index 595db91e..e5f68b48 100644
--- a/src/modules/options/optw_userlist.cpp
+++ b/src/modules/options/optw_userlist.cpp
@@ -50,7 +50,7 @@ KviUserListLookForegroundOptionsWidget::KviUserListLookForegroundOptionsWidget(T
addFontSelector(0,0,1,0,__tr2qs_ctx("Font:","options"),KviOption_fontUserListView);
- KviTalGroupBox * g = addGroupBox(0,1,1,1,1,Qt::Horizontal,__tr2qs_ctx("Nickname Colors","options"));
+ KviTalGroupBox * g = addGroupBox(0,1,1,1,1,TQt::Horizontal,__tr2qs_ctx("Nickname Colors","options"));
addColorSelector(g,__tr2qs_ctx("Normal:","options"),KviOption_colorUserListViewNormalForeground);
addColorSelector(g,__tr2qs_ctx("Selected:","options"),KviOption_colorUserListViewSelectionForeground);
addColorSelector(g,__tr2qs_ctx("Channel owner:","options"),KviOption_colorUserListViewChanOwnerForeground);
@@ -121,7 +121,7 @@ KviUserListLookBackgroundOptionsWidget::KviUserListLookBackgroundOptionsWidget(T
{
createLayout(3,2);
- KviTalGroupBox * g = addGroupBox(0,0,1,0,1,Qt::Horizontal,__tr2qs_ctx("Background Colors","options"));
+ KviTalGroupBox * g = addGroupBox(0,0,1,0,1,TQt::Horizontal,__tr2qs_ctx("Background Colors","options"));
addColorSelector(g,__tr2qs_ctx("Normal:","options"),KviOption_colorUserListViewBackground);
addColorSelector(g,__tr2qs_ctx("Selected:","options"),KviOption_colorUserListViewSelectionBackground);
diff --git a/src/modules/popupeditor/popupeditor.cpp b/src/modules/popupeditor/popupeditor.cpp
index cd2d8ba6..7fe805c7 100644
--- a/src/modules/popupeditor/popupeditor.cpp
+++ b/src/modules/popupeditor/popupeditor.cpp
@@ -202,7 +202,7 @@ KviSinglePopupEditor::KviSinglePopupEditor(TQWidget * par)
m_pMenuButton = new TQPushButton(__tr2qs("Test"),this);
g->addWidget(m_pMenuButton,0,2);
connect(m_pMenuButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(testPopup()));
- TQSplitter * spl = new TQSplitter(Qt::Vertical,this);
+ TQSplitter * spl = new TQSplitter(TQt::Vertical,this);
m_pListView = new KviTalListView(spl);
m_pListView->addColumn(__tr2qs("Item"));
@@ -1023,7 +1023,7 @@ KviPopupEditor::KviPopupEditor(TQWidget * par)
: TQWidget(par)
{
TQGridLayout * l = new TQGridLayout(this,1,1,0,2);
- TQSplitter * spl = new TQSplitter(Qt::Horizontal,this);
+ TQSplitter * spl = new TQSplitter(TQt::Horizontal,this);
l->addWidget(spl,0,0);
KviTalVBox * box = new KviTalVBox(spl);
diff --git a/src/modules/raweditor/raweditor.cpp b/src/modules/raweditor/raweditor.cpp
index e0e49011..b7786fee 100644
--- a/src/modules/raweditor/raweditor.cpp
+++ b/src/modules/raweditor/raweditor.cpp
@@ -74,7 +74,7 @@ KviRawEditor::KviRawEditor(TQWidget * par)
: TQWidget(par,"raw_event_editor")
{
TQGridLayout * l = new TQGridLayout(this,1,1,2,2);
- TQSplitter * spl = new TQSplitter(Qt::Horizontal,this);
+ TQSplitter * spl = new TQSplitter(TQt::Horizontal,this);
l->addWidget(spl,0,0);
KviTalVBox * boxi = new KviTalVBox(spl);
diff --git a/src/modules/setup/setupwizard.cpp b/src/modules/setup/setupwizard.cpp
index ee0230a7..23dea628 100644
--- a/src/modules/setup/setupwizard.cpp
+++ b/src/modules/setup/setupwizard.cpp
@@ -331,7 +331,7 @@ KviSetupWizard::KviSetupWizard()
if(nick == "root")nick = "newbie";
//m_pIdentity->m_pVBox
//__tr2qs("Basic Properties")
- KviTalGroupBox * gbox = new KviTalGroupBox(1,Qt::Horizontal,TQString(),m_pIdentity->m_pVBox);
+ KviTalGroupBox * gbox = new KviTalGroupBox(1,TQt::Horizontal,TQString(),m_pIdentity->m_pVBox);
m_pNickSelector = new KviStringSelector(gbox,__tr2qs("Nickname:"),&(KVI_OPTION_STRING(KviOption_stringNickname1)),true);
m_pNickSelector->setMinimumLabelWidth(120);
@@ -344,7 +344,7 @@ KviSetupWizard::KviSetupWizard()
TQString szCenterEnd("</center>");
TQString szTrailing = "<br><br>" + szOptionalCtcpUserInfo + szCenterEnd;
- gbox = new KviTalGroupBox(1,Qt::Horizontal,__tr2qs("Profile"),m_pIdentity->m_pVBox);
+ gbox = new KviTalGroupBox(1,TQt::Horizontal,__tr2qs("Profile"),m_pIdentity->m_pVBox);
m_pRealNameSelector = new KviStringSelector(gbox,__tr2qs("Real name:"),&(KVI_OPTION_STRING(KviOption_stringRealname)),true);
m_pRealNameSelector->setMinimumLabelWidth(120);
diff --git a/src/modules/sharedfileswindow/sharedfileswindow.cpp b/src/modules/sharedfileswindow/sharedfileswindow.cpp
index 7f6bda29..6895f0c8 100644
--- a/src/modules/sharedfileswindow/sharedfileswindow.cpp
+++ b/src/modules/sharedfileswindow/sharedfileswindow.cpp
@@ -206,7 +206,7 @@ KviSharedFilesWindow::KviSharedFilesWindow(KviModuleExtensionDescriptor * d,KviF
: KviWindow(KVI_WINDOW_TYPE_TOOL,lpFrm,"shared files window",0) , KviModuleExtension(d)
{
g_pSharedFilesWindow = this;
- m_pSplitter = new TQSplitter(Qt::Horizontal,this,"splitter");
+ m_pSplitter = new TQSplitter(TQt::Horizontal,this,"splitter");
KviTalVBox * vbox = new KviTalVBox(m_pSplitter);
diff --git a/src/modules/socketspy/socketspywindow.cpp b/src/modules/socketspy/socketspywindow.cpp
index 54394e7d..9f0d2ac9 100644
--- a/src/modules/socketspy/socketspywindow.cpp
+++ b/src/modules/socketspy/socketspywindow.cpp
@@ -37,7 +37,7 @@ KviSocketSpyWindow::KviSocketSpyWindow(KviFrame * lpFrm,KviConsole * lpConsole)
: KviWindow(KVI_WINDOW_TYPE_SOCKETSPY,lpFrm,"socket_spy",lpConsole) , KviIrcDataStreamMonitor(lpConsole->context())
{
g_pSocketSpyWindowList->append(this);
- m_pSplitter = new TQSplitter(Qt::Horizontal,this,"splitter");
+ m_pSplitter = new TQSplitter(TQt::Horizontal,this,"splitter");
m_pIrcView = new KviIrcView(m_pSplitter,lpFrm,this);
// Ensure proper focusing
//setFocusHandler(m_pIrcView,this);