summaryrefslogtreecommitdiffstats
path: root/quanta
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 19:27:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 19:27:43 +0900
commit818c8f1cd1fd849f857201eb8911434c514d6c3e (patch)
tree7d3b76bd03fb2bfd3dd8a11713dc28e7a88c069c /quanta
parenta6f77b2087cbf3c4047f46b684c7ae33b7757ec1 (diff)
downloadtdewebdev-818c8f1cd1fd849f857201eb8911434c514d6c3e.tar.gz
tdewebdev-818c8f1cd1fd849f857201eb8911434c514d6c3e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'quanta')
-rw-r--r--quanta/components/csseditor/colorslider.cpp6
-rw-r--r--quanta/components/framewizard/visualframeeditor.cpp4
-rw-r--r--quanta/parts/kafka/kafkahtmlpart.cpp4
-rw-r--r--quanta/src/quanta.cpp4
-rw-r--r--quanta/src/quantaview.cpp2
-rw-r--r--quanta/treeviews/structtreeview.cpp10
-rw-r--r--quanta/utility/qpevents.cpp2
-rw-r--r--quanta/utility/toolbartabwidget.cpp4
8 files changed, 18 insertions, 18 deletions
diff --git a/quanta/components/csseditor/colorslider.cpp b/quanta/components/csseditor/colorslider.cpp
index d8d2b0f6..1a639106 100644
--- a/quanta/components/csseditor/colorslider.cpp
+++ b/quanta/components/csseditor/colorslider.cpp
@@ -43,9 +43,9 @@ colorSlider::colorSlider(const TQString& fn,const TQString& l,const TQString& c,
leftLabel->setTextFormat (TQt::RichText ) ;
centerLabel->setTextFormat ( TQt::RichText ) ;
rightLabel->setTextFormat (TQt::RichText ) ;
- m_leftValue = new TQSlider ( 0, 255, 1, 0, Qt::Horizontal , leftBox);
- m_centerValue = new TQSlider ( 0, 255, 1, 0, Qt::Horizontal , centerBox);
- m_rightValue = new TQSlider ( 0, 255, 1, 0, Qt::Horizontal , rightBox);
+ m_leftValue = new TQSlider ( 0, 255, 1, 0, TQt::Horizontal , leftBox);
+ m_centerValue = new TQSlider ( 0, 255, 1, 0, TQt::Horizontal , centerBox);
+ m_rightValue = new TQSlider ( 0, 255, 1, 0, TQt::Horizontal , rightBox);
setSpacing(10);
connect(m_leftValue, TQT_SIGNAL(valueChanged ( int)), this, TQT_SLOT(convertLeftValue(int)));
connect(m_centerValue, TQT_SIGNAL(valueChanged ( int)), this, TQT_SLOT(convertCenterValue(int)));
diff --git a/quanta/components/framewizard/visualframeeditor.cpp b/quanta/components/framewizard/visualframeeditor.cpp
index 36974d0d..7fc11420 100644
--- a/quanta/components/framewizard/visualframeeditor.cpp
+++ b/quanta/components/framewizard/visualframeeditor.cpp
@@ -289,8 +289,8 @@ void VisualFrameEditor::drawGUI(treeNode *n, TQWidget* parent){
TQSplitter *splitter = new TQSplitter(parent,splitterName.ascii());
if(SIZES.contains(splitterName)) splitter->setSizes( SIZES[splitterName] );
switch( n->splitType() ){
- case VERTICAL : splitter->setOrientation(Qt::Horizontal);break;
- case HORIZONTAL : splitter->setOrientation(Qt::Vertical);break;
+ case VERTICAL : splitter->setOrientation(TQt::Horizontal);break;
+ case HORIZONTAL : splitter->setOrientation(TQt::Vertical);break;
default:break;
}
n->firstChild();
diff --git a/quanta/parts/kafka/kafkahtmlpart.cpp b/quanta/parts/kafka/kafkahtmlpart.cpp
index 545dec8c..1d633e98 100644
--- a/quanta/parts/kafka/kafkahtmlpart.cpp
+++ b/quanta/parts/kafka/kafkahtmlpart.cpp
@@ -657,7 +657,7 @@ bool KafkaWidget::eventFilter(TQObject *, TQEvent *event)
kdDebug(25001) << "KafkaWidget::eventFilter() Text - " <<
keyevent->text() << endl;
#endif
- //if(( keyevent->state() & TQt::ShiftButton) || ( keyevent->state() == Qt::NoButton))
+ //if(( keyevent->state() & TQt::ShiftButton) || ( keyevent->state() == TQt::NoButton))
if( keyevent->text().length() &&
( !( keyevent->state() & ControlButton ) &&
!( keyevent->state() & AltButton ) &&
@@ -2263,7 +2263,7 @@ void KafkaWidget::applyQueuedToggableTagActions()
{
if(tag_action->name() == *it)
{
- tag_action->slotActionActivated(TDEAction::EmulatedActivation, Qt::NoButton);
+ tag_action->slotActionActivated(TDEAction::EmulatedActivation, TQt::NoButton);
break;
}
}
diff --git a/quanta/src/quanta.cpp b/quanta/src/quanta.cpp
index ada70492..c3e3713f 100644
--- a/quanta/src/quanta.cpp
+++ b/quanta/src/quanta.cpp
@@ -262,7 +262,7 @@ QuantaApp::QuantaApp(int mdiMode) : DCOPObject("WindowManagerIf"), KMdiMainFrm(
m_parserEnabled = true;
cursorLine = 0;
cursorCol = 0;
- emit eventHappened("quanta_start", TQDateTime::currentDateTime().toString(Qt::ISODate), TQString());
+ emit eventHappened("quanta_start", TQDateTime::currentDateTime().toString(TQt::ISODate), TQString());
setAcceptDrops(true);
tabWidget()->installEventFilter(this);
}
@@ -4145,7 +4145,7 @@ bool QuantaApp::queryClose()
{
saveOptions();
// kdDebug(24000) << "Quanta will exit" << endl;
- emit eventHappened("quanta_exit", TQDateTime::currentDateTime().toString(Qt::ISODate), TQString());
+ emit eventHappened("quanta_exit", TQDateTime::currentDateTime().toString(TQt::ISODate), TQString());
} else
slotFileNew();
return canExit;
diff --git a/quanta/src/quantaview.cpp b/quanta/src/quantaview.cpp
index 18bb8b29..8003ce62 100644
--- a/quanta/src/quantaview.cpp
+++ b/quanta/src/quantaview.cpp
@@ -98,7 +98,7 @@ QuantaView::QuantaView(TQWidget *parent, const char *name, const TQString &capti
m_toolbarTab ->setFocusPolicy( TQWidget::NoFocus );
//create a splitter to separate the VPL and document area
- m_splitter = new TQSplitter(Qt::Vertical, this);
+ m_splitter = new TQSplitter(TQt::Vertical, this);
//place the widgets in a grid
m_viewLayout = new TQGridLayout(this, 2, 0);
m_viewLayout->setRowStretch(0, 0);
diff --git a/quanta/treeviews/structtreeview.cpp b/quanta/treeviews/structtreeview.cpp
index 3cf66b14..f2b827cc 100644
--- a/quanta/treeviews/structtreeview.cpp
+++ b/quanta/treeviews/structtreeview.cpp
@@ -489,7 +489,7 @@ void StructTreeView::slotMouseClicked(int button, TQListViewItem *item, const TQ
setSelected(item, true);
- if (button == Qt::RightButton)
+ if (button == TQt::RightButton)
{
if (dynamic_cast<StructTreeTag*>(item))
{
@@ -499,7 +499,7 @@ void StructTreeView::slotMouseClicked(int button, TQListViewItem *item, const TQ
return;
}
- if (button == Qt::LeftButton)
+ if (button == TQt::LeftButton)
{
if (handleLBM == i18n("Find Tag && Open Tree"))
setOpen(item, !isOpen(item));
@@ -516,7 +516,7 @@ void StructTreeView::slotMouseClicked(int button, TQListViewItem *item, const TQ
slotGotoTag(item);
}
- if (button == Qt::MidButton)
+ if (button == TQt::MidButton)
{
if (handleMBM == i18n("nothing"))
return;
@@ -537,7 +537,7 @@ void StructTreeView::slotMouseClicked(int button, TQListViewItem *item, const TQ
setSelected(item, true);
}
} else
- if (button == Qt::RightButton)
+ if (button == TQt::RightButton)
emptyAreaMenu->popup(point);
}
@@ -866,7 +866,7 @@ void StructTreeView::startDrag()
void StructTreeView::contentsMousePressEvent(TQMouseEvent* e)
{
- if(e->button() == Qt::LeftButton)
+ if(e->button() == TQt::LeftButton)
{
TQPoint p = contentsToViewport(e->pos());
m_draggedItem = itemAt(p);
diff --git a/quanta/utility/qpevents.cpp b/quanta/utility/qpevents.cpp
index 8a8dfa26..87ec17d9 100644
--- a/quanta/utility/qpevents.cpp
+++ b/quanta/utility/qpevents.cpp
@@ -294,7 +294,7 @@ bool QPEvents::handleEvent(const EventAction& ev)
TQTextStream stream(&file);
stream.setEncoding(TQTextStream::UnicodeUTF8);
//Note: the log text should not be translated.
- TQString s = TQDateTime::currentDateTime().toString(Qt::ISODate) + ": ";
+ TQString s = TQDateTime::currentDateTime().toString(TQt::ISODate) + ": ";
s.append( "Event : " + m_eventName + " : ");
s.append( "Action: " + ev.action + " : ");
if (ev.arguments[1] == "full")
diff --git a/quanta/utility/toolbartabwidget.cpp b/quanta/utility/toolbartabwidget.cpp
index 26765eee..b2f61d18 100644
--- a/quanta/utility/toolbartabwidget.cpp
+++ b/quanta/utility/toolbartabwidget.cpp
@@ -157,7 +157,7 @@ void ToolbarTabWidget::slotEditToolbar()
void ToolbarTabWidget::mousePressEvent ( TQMouseEvent * e )
{
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
{
TQPoint p = e->globalPos();
TQTab *tab = 0L;
@@ -296,7 +296,7 @@ void QuantaToolBar::slotIconTextChanged(int id)
void QuantaToolBar::mousePressEvent(TQMouseEvent *e)
{
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
{
m_popupMenu->clear();
TQPoint p = e->globalPos();