summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-04 22:04:17 +0900
committerMichele Calgaro <[email protected]>2023-11-05 11:35:55 +0900
commit42734aee2aa004f99afb0aad80a84b091dc0131f (patch)
treed0789929bc3823a688523cec0f83a250bfded0de /src
parente17d76fc530ce6163fcf4a325e16394cee6122c3 (diff)
downloadtdesvn-42734aee2aa004f99afb0aad80a84b091dc0131f.tar.gz
tdesvn-42734aee2aa004f99afb0aad80a84b091dc0131f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit cb8146969d9a3e8ff6273cc1b98152cafb30a9a4)
Diffstat (limited to 'src')
-rw-r--r--src/svnfrontend/graphtree/revgraphview.cpp2
-rw-r--r--src/svnfrontend/graphtree/revtreewidget.cpp2
-rw-r--r--src/svnqt/annotate_line.h6
-rw-r--r--src/svnqt/datetime.cpp4
-rw-r--r--src/tdesvnview.cpp4
5 files changed, 9 insertions, 9 deletions
diff --git a/src/svnfrontend/graphtree/revgraphview.cpp b/src/svnfrontend/graphtree/revgraphview.cpp
index a897e94..b1b574a 100644
--- a/src/svnfrontend/graphtree/revgraphview.cpp
+++ b/src/svnfrontend/graphtree/revgraphview.cpp
@@ -735,7 +735,7 @@ void RevGraphView::makeSelected(GraphTreeLabel*gtl)
void RevGraphView::contentsMouseDoubleClickEvent ( TQMouseEvent * e )
{
setFocus();
- if (e->button() == Qt::LeftButton) {
+ if (e->button() == TQt::LeftButton) {
TQCanvasItemList l = canvas()->collisions(e->pos());
if (l.count()>0) {
TQCanvasItem* i = l.first();
diff --git a/src/svnfrontend/graphtree/revtreewidget.cpp b/src/svnfrontend/graphtree/revtreewidget.cpp
index 46ae7fa..1fe32c3 100644
--- a/src/svnfrontend/graphtree/revtreewidget.cpp
+++ b/src/svnfrontend/graphtree/revtreewidget.cpp
@@ -41,7 +41,7 @@ RevTreeWidget::RevTreeWidget(TQObject*lt,svn::Client*cl, TQWidget* parent, const
RevTreeWidgetLayout = new TQVBoxLayout( this, 11, 6, "RevTreeWidgetLayout");
m_Splitter = new TQSplitter( this, "m_Splitter" );
- m_Splitter->setOrientation( Qt::Vertical );
+ m_Splitter->setOrientation( TQt::Vertical );
m_RevGraphView = new RevGraphView(lt,cl, m_Splitter, "m_RevGraphView" );
m_RevGraphView->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 2, m_RevGraphView->sizePolicy().hasHeightForWidth() ) );
diff --git a/src/svnqt/annotate_line.h b/src/svnqt/annotate_line.h
index 4bd2c01..0a03e97 100644
--- a/src/svnqt/annotate_line.h
+++ b/src/svnqt/annotate_line.h
@@ -49,7 +49,7 @@ namespace svn
const char *date,
const char *line)
: m_line_no (line_no), m_revision (revision),
- m_date( (date&&strlen(date))?TQDateTime::fromString(TQString::FROMUTF8(date),Qt::ISODate):TQDateTime()),
+ m_date( (date&&strlen(date))?TQDateTime::fromString(TQString::FROMUTF8(date),TQt::ISODate):TQDateTime()),
m_line(line?line:""),m_author(author?author:""),
m_merge_revision(-1),
m_merge_date(TQDateTime()),
@@ -69,10 +69,10 @@ namespace svn
const char *merge_path
)
: m_line_no (line_no), m_revision (revision),
- m_date( (date&&strlen(date))?TQDateTime::fromString(TQString::FROMUTF8(date),Qt::ISODate):TQDateTime()),
+ m_date( (date&&strlen(date))?TQDateTime::fromString(TQString::FROMUTF8(date),TQt::ISODate):TQDateTime()),
m_line(line?line:""),m_author(author?author:""),
m_merge_revision(merge_revision),
- m_merge_date( (merge_date&&strlen(merge_date))?TQDateTime::fromString(TQString::FROMUTF8(merge_date),Qt::ISODate):TQDateTime()),
+ m_merge_date( (merge_date&&strlen(merge_date))?TQDateTime::fromString(TQString::FROMUTF8(merge_date),TQt::ISODate):TQDateTime()),
m_merge_author(merge_author?merge_author:""),m_merge_path(merge_path?merge_path:"")
{
}
diff --git a/src/svnqt/datetime.cpp b/src/svnqt/datetime.cpp
index 6c0c269..22db8c5 100644
--- a/src/svnqt/datetime.cpp
+++ b/src/svnqt/datetime.cpp
@@ -140,8 +140,8 @@ namespace svn
void DateTime::setAprTime(apr_time_t aTime)
{
- if (aTime<0)m_time.setTime_t(0,Qt::LocalTime);
- else m_time.setTime_t(aTime/(1000*1000),Qt::LocalTime);
+ if (aTime<0)m_time.setTime_t(0,TQt::LocalTime);
+ else m_time.setTime_t(aTime/(1000*1000),TQt::LocalTime);
}
TQString DateTime::toString(const TQString&format)const
diff --git a/src/tdesvnview.cpp b/src/tdesvnview.cpp
index 78849da..246b3a9 100644
--- a/src/tdesvnview.cpp
+++ b/src/tdesvnview.cpp
@@ -69,12 +69,12 @@ tdesvnView::tdesvnView(TDEActionCollection*aCollection,TQWidget *parent,const ch
m_topLayout = new TQVBoxLayout(this);
m_Splitter = new TQSplitter( this, "m_Splitter" );
- m_Splitter->setOrientation( Qt::Vertical );
+ m_Splitter->setOrientation( TQt::Vertical );
m_flist=new tdesvnfilelist(m_Collection,m_Splitter);
m_infoSplitter = new TQSplitter(m_Splitter);
- m_infoSplitter->setOrientation( Qt::Horizontal );
+ m_infoSplitter->setOrientation( TQt::Horizontal );
m_infoSplitter->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 1, m_infoSplitter->sizePolicy().hasHeightForWidth() ) );
m_LogWindow=new KTextBrowser(m_infoSplitter);
Propertylist*pl = new Propertylist(m_infoSplitter);