Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cb8146969d)
r14.1.x
Michele Calgaro 1 year ago
parent e17d76fc53
commit 42734aee2a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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();

@ -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() ) );

@ -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:"")
{
}

@ -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

@ -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);

Loading…
Cancel
Save