summaryrefslogtreecommitdiffstats
path: root/parts
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 19:27:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 19:36:24 +0900
commit6b0cf55d6252a256d9fc5bcb89837bec7f21f40d (patch)
treed7b0d2851112aab7e3f7f1a8f8f3ea8de4034350 /parts
parente531a8d913f8e44fd1e7b20b1ef8e60fd2dc7be0 (diff)
downloadtdevelop-6b0cf55d6252a256d9fc5bcb89837bec7f21f40d.tar.gz
tdevelop-6b0cf55d6252a256d9fc5bcb89837bec7f21f40d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'parts')
-rw-r--r--parts/classview/hierarchydlg.cpp2
-rw-r--r--parts/ctags2/ctags2_widget.cpp2
-rw-r--r--parts/documentation/bookmarkview.cpp2
-rw-r--r--parts/documentation/contentsview.cpp2
-rw-r--r--parts/documentation/find_documentation.cpp2
-rw-r--r--parts/documentation/indexview.cpp2
-rw-r--r--parts/documentation/searchview.cpp2
-rw-r--r--parts/fileselector/fileselector_widget.cpp6
-rw-r--r--parts/outputviews/makewidget.cpp2
-rw-r--r--parts/replace/replaceview.cpp4
-rw-r--r--parts/texttools/texttoolswidget.cpp4
11 files changed, 15 insertions, 15 deletions
diff --git a/parts/classview/hierarchydlg.cpp b/parts/classview/hierarchydlg.cpp
index c8761861..32d05059 100644
--- a/parts/classview/hierarchydlg.cpp
+++ b/parts/classview/hierarchydlg.cpp
@@ -51,7 +51,7 @@ HierarchyDialog::HierarchyDialog( ClassViewPart *part )
TQPushButton *save_button = new KPushButton(KStdGuiItem::save(), this);
TQPushButton *refresh_button = new KPushButton(i18n("Refresh"), this);
- TQSplitter *splitter = new TQSplitter(Qt::Vertical, this);
+ TQSplitter *splitter = new TQSplitter(TQt::Vertical, this);
digraph = new DigraphView(splitter, "digraph view");
// member_tree = new ClassToolWidget(part, splitter);
diff --git a/parts/ctags2/ctags2_widget.cpp b/parts/ctags2/ctags2_widget.cpp
index b9b54d97..4225e83a 100644
--- a/parts/ctags2/ctags2_widget.cpp
+++ b/parts/ctags2/ctags2_widget.cpp
@@ -148,7 +148,7 @@ void CTags2Widget::updateDBDateLabel( )
TQFileInfo tagsdb(tagFiles[0]);
if ( tagsdb.exists() )
{
- datetime_label->setText( tagsdb.created().date().toString( Qt::ISODate ) );
+ datetime_label->setText( tagsdb.created().date().toString( TQt::ISODate ) );
}
else
{
diff --git a/parts/documentation/bookmarkview.cpp b/parts/documentation/bookmarkview.cpp
index f626e246..4ec63094 100644
--- a/parts/documentation/bookmarkview.cpp
+++ b/parts/documentation/bookmarkview.cpp
@@ -268,7 +268,7 @@ void BookmarkView::addBookmark(const TQString &title, const KURL &url)
void BookmarkView::itemMouseButtonPressed(int button, TQListViewItem *item, const TQPoint &pos, int // c
)
{
- if ((button != Qt::RightButton) || (!item))
+ if ((button != TQt::RightButton) || (!item))
return;
DocumentationItem *docItem = dynamic_cast<DocumentationItem*>(item);
if (!docItem)
diff --git a/parts/documentation/contentsview.cpp b/parts/documentation/contentsview.cpp
index 3707f318..3c07369c 100644
--- a/parts/documentation/contentsview.cpp
+++ b/parts/documentation/contentsview.cpp
@@ -73,7 +73,7 @@ void ContentsView::itemExecuted(TQListViewItem *item, const TQPoint &/*p*/, int
void ContentsView::itemMouseButtonPressed(int button, TQListViewItem *item, const TQPoint &pos, int // c
)
{
- if ((button != Qt::RightButton) || (!item))
+ if ((button != TQt::RightButton) || (!item))
return;
DocumentationItem *docItem = dynamic_cast<DocumentationItem*>(item);
if (!docItem)
diff --git a/parts/documentation/find_documentation.cpp b/parts/documentation/find_documentation.cpp
index ebddcd4c..85365f69 100644
--- a/parts/documentation/find_documentation.cpp
+++ b/parts/documentation/find_documentation.cpp
@@ -75,7 +75,7 @@ FindDocumentation::~FindDocumentation()
void FindDocumentation::buttonPressedOnItem( int button, TQListViewItem * item, const TQPoint & pos, int // c
)
{
- if ((button != Qt::RightButton) || (!item))
+ if ((button != TQt::RightButton) || (!item))
return;
DocumentationItem *docItem = dynamic_cast<DocumentationItem*>(item);
if (!docItem)
diff --git a/parts/documentation/indexview.cpp b/parts/documentation/indexview.cpp
index 1b2e67ba..f414e288 100644
--- a/parts/documentation/indexview.cpp
+++ b/parts/documentation/indexview.cpp
@@ -162,7 +162,7 @@ bool IndexView::eventFilter(TQObject *watched, TQEvent *e)
void IndexView::itemMouseButtonPressed(int button, TQListBoxItem *item, const TQPoint &pos)
{
- if ((button != Qt::RightButton) || (!item))
+ if ((button != TQt::RightButton) || (!item))
return;
IndexItem *docItem = dynamic_cast<IndexItem*>(item);
if (!docItem)
diff --git a/parts/documentation/searchview.cpp b/parts/documentation/searchview.cpp
index 67dca0ed..080254ae 100644
--- a/parts/documentation/searchview.cpp
+++ b/parts/documentation/searchview.cpp
@@ -303,7 +303,7 @@ void SearchView::executed(TQListViewItem *item)
void SearchView::itemMouseButtonPressed(int button, TQListViewItem *item, const TQPoint &pos, int // c
)
{
- if ((button != Qt::RightButton) || (!item))
+ if ((button != TQt::RightButton) || (!item))
return;
DocumentationItem *docItem = dynamic_cast<DocumentationItem*>(item);
if (!docItem)
diff --git a/parts/fileselector/fileselector_widget.cpp b/parts/fileselector/fileselector_widget.cpp
index e9b277f2..4925ec72 100644
--- a/parts/fileselector/fileselector_widget.cpp
+++ b/parts/fileselector/fileselector_widget.cpp
@@ -585,7 +585,7 @@ KFSConfigPage::KFSConfigPage( TQWidget *parent, const char *name, KDevFileSelect
lo->setSpacing( spacing );
// Toolbar - a lot for a little...
- TQGroupBox *gbToolbar = new TQGroupBox( 1, Qt::Vertical, i18n("Toolbar"), this );
+ TQGroupBox *gbToolbar = new TQGroupBox( 1, TQt::Vertical, i18n("Toolbar"), this );
acSel = new TDEActionSelector( gbToolbar );
acSel->setAvailableLabel( i18n("A&vailable actions:") );
acSel->setSelectedLabel( i18n("S&elected actions:") );
@@ -596,7 +596,7 @@ KFSConfigPage::KFSConfigPage( TQWidget *parent, const char *name, KDevFileSelect
connect( acSel, TQT_SIGNAL( movedDown( TQListBoxItem * ) ), this, TQT_SLOT( slotChanged() ) );
// Sync
- TQGroupBox *gbSync = new TQGroupBox( 1, Qt::Horizontal, i18n("Auto Synchronization"), this );
+ TQGroupBox *gbSync = new TQGroupBox( 1, TQt::Horizontal, i18n("Auto Synchronization"), this );
cbSyncActive = new TQCheckBox( i18n("When a docu&ment becomes active"), gbSync );
cbSyncOpen = new TQCheckBox( i18n("When a document is o&pened"), gbSync );
cbSyncShow = new TQCheckBox( i18n("When the file selector becomes visible"), gbSync );
@@ -621,7 +621,7 @@ KFSConfigPage::KFSConfigPage( TQWidget *parent, const char *name, KDevFileSelect
connect( sbFilterHistLength, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( slotChanged() ) );
// Session
- TQGroupBox *gbSession = new TQGroupBox( 1, Qt::Horizontal, i18n("Session"), this );
+ TQGroupBox *gbSession = new TQGroupBox( 1, TQt::Horizontal, i18n("Session"), this );
cbSesLocation = new TQCheckBox( i18n("Restore loca&tion"), gbSession );
cbSesFilter = new TQCheckBox( i18n("Restore last f&ilter"), gbSession );
lo->addWidget( gbSession );
diff --git a/parts/outputviews/makewidget.cpp b/parts/outputviews/makewidget.cpp
index 029efdc6..78b3a386 100644
--- a/parts/outputviews/makewidget.cpp
+++ b/parts/outputviews/makewidget.cpp
@@ -389,7 +389,7 @@ void MakeWidget::prevError()
void MakeWidget::contentsMouseReleaseEvent( TQMouseEvent* e )
{
TQTextEdit::contentsMouseReleaseEvent(e);
- if ( e->button() != Qt::LeftButton )
+ if ( e->button() != TQt::LeftButton )
return;
searchItem(paragraphAt(e->pos()));
}
diff --git a/parts/replace/replaceview.cpp b/parts/replace/replaceview.cpp
index a85b0818..7a797414 100644
--- a/parts/replace/replaceview.cpp
+++ b/parts/replace/replaceview.cpp
@@ -112,11 +112,11 @@ void ReplaceView::slotMousePressed(int btn, TQListViewItem* i, const TQPoint& po
if ( ReplaceItem * item = dynamic_cast<ReplaceItem*>( i ) )
{
- if ( btn == Qt::RightButton )
+ if ( btn == TQt::RightButton )
{
// popup menu?
}
- else if ( btn == Qt::LeftButton )
+ else if ( btn == TQt::LeftButton )
{
// map pos to item/column and call ReplacetItem::activate(pos)
item->activate( col, viewport()->mapFromGlobal( pos ) - TQPoint( 0, itemRect(item).top() ) );
diff --git a/parts/texttools/texttoolswidget.cpp b/parts/texttools/texttoolswidget.cpp
index db2f0acc..c6df3310 100644
--- a/parts/texttools/texttoolswidget.cpp
+++ b/parts/texttools/texttoolswidget.cpp
@@ -128,7 +128,7 @@ void TextToolsWidget::slotItemPressed(int button, TQListViewItem *item)
cursorIface->setCursorPosition(line, col);
}
- if (button == Qt::MidButton) {
+ if (button == TQt::MidButton) {
KTextEditor::SelectionInterface *selectionIface
= dynamic_cast<KTextEditor::SelectionInterface*>(rwpart);
if (selectionIface) {
@@ -144,7 +144,7 @@ void TextToolsWidget::slotItemPressed(int button, TQListViewItem *item)
void TextToolsWidget::slotReturnPressed(TQListViewItem *item)
{
- slotItemPressed(Qt::LeftButton, item);
+ slotItemPressed(TQt::LeftButton, item);
}