diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:05:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 18:04:37 +0900 |
commit | 5d52b8ff2df2d127a119ffd217a0db49c4d78567 (patch) | |
tree | cc21f36537bfb38f376cf97cb77688ea19882047 /kbugbuster | |
parent | 779722e260dd4d10bec7328ddc0a4e3e42a08e7d (diff) | |
download | tdesdk-5d52b8ff2df2d127a119ffd217a0db49c4d78567.tar.gz tdesdk-5d52b8ff2df2d127a119ffd217a0db49c4d78567.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1a7a57976491e8df569198d8e903bf9e57e233f0)
Diffstat (limited to 'kbugbuster')
-rw-r--r-- | kbugbuster/backend/bugcache.cpp | 4 | ||||
-rw-r--r-- | kbugbuster/backend/domprocessor.cpp | 4 | ||||
-rw-r--r-- | kbugbuster/gui/centralwidget.cpp | 4 | ||||
-rw-r--r-- | kbugbuster/gui/msginputdialog.cpp | 2 | ||||
-rw-r--r-- | kbugbuster/gui/packageselectdialog.cpp | 2 | ||||
-rw-r--r-- | kbugbuster/gui/preferencesdialog.cpp | 2 | ||||
-rw-r--r-- | kbugbuster/gui/severityselectdialog.cpp | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/kbugbuster/backend/bugcache.cpp b/kbugbuster/backend/bugcache.cpp index ce325a31..9daa5e3d 100644 --- a/kbugbuster/backend/bugcache.cpp +++ b/kbugbuster/backend/bugcache.cpp @@ -193,7 +193,7 @@ void BugCache::saveBugDetails( const Bug &bug, const BugDetails &details ) for ( it = parts.begin(); it != parts.end(); ++it ) { senders.append( (*it).sender.fullName() ); texts.append( (*it).text ); - dates.append( (*it).date.toString( Qt::ISODate ) ); + dates.append( (*it).date.toString( TQt::ISODate ) ); } m_cacheBugs->writeEntry( "Details", texts ); @@ -228,7 +228,7 @@ BugDetails BugCache::loadBugDetails( const Bug &bug ) TQStringList::ConstIterator itSenders = senders.begin(); TQStringList::ConstIterator itDates = dates.begin(); while( itTexts != texts.end() ) { - TQDateTime date = TQDateTime::fromString( *itDates, Qt::ISODate ); + TQDateTime date = TQDateTime::fromString( *itDates, TQt::ISODate ); parts.append( BugDetailsPart( Person(*itSenders), date, *itTexts ) ); ++itTexts; diff --git a/kbugbuster/backend/domprocessor.cpp b/kbugbuster/backend/domprocessor.cpp index 8ca0e1a8..bcc75900 100644 --- a/kbugbuster/backend/domprocessor.cpp +++ b/kbugbuster/backend/domprocessor.cpp @@ -194,7 +194,7 @@ KBB::Error DomProcessor::parseDomBugList( const TQDomElement &topElement, else if ( e.tagName() == "severity" ) severity = Bug::stringToSeverity( e.text() ); else if ( e.tagName() == "creationdate" ) - age = ( TQDateTime::fromString( e.text(), Qt::ISODate ) ).daysTo( TQDateTime::currentDateTime() ); + age = ( TQDateTime::fromString( e.text(), TQt::ISODate ) ).daysTo( TQDateTime::currentDateTime() ); } Person submitter( submitterName, submitterEmail ); @@ -397,7 +397,7 @@ bool DomProcessor::parseAttributeLine( const TQString &line, const TQString &key TQDateTime DomProcessor::parseDate( const TQString &dateStr ) { - TQDateTime date = TQDateTime::fromString( dateStr, Qt::ISODate ); + TQDateTime date = TQDateTime::fromString( dateStr, TQt::ISODate ); return date; } diff --git a/kbugbuster/gui/centralwidget.cpp b/kbugbuster/gui/centralwidget.cpp index f4e4c793..263c9f86 100644 --- a/kbugbuster/gui/centralwidget.cpp +++ b/kbugbuster/gui/centralwidget.cpp @@ -57,9 +57,9 @@ CentralWidget::CentralWidget( const TQCString &initialPackage, KDialog::spacingHint() ) )->setAutoAdd( true ); // Create TQSplitter children - m_vertSplitter = new TQSplitter( Qt::Vertical, this ); + m_vertSplitter = new TQSplitter( TQt::Vertical, this ); m_listPane = new CWBugListContainer( m_vertSplitter ); - m_horSplitter = new TQSplitter( Qt::Horizontal,m_vertSplitter ); + m_horSplitter = new TQSplitter( TQt::Horizontal,m_vertSplitter ); // The search pane isn't used. Should we remove the code? m_searchPane = new CWSearchWidget( m_horSplitter ); m_bugPane = new CWBugDetailsContainer( m_horSplitter ); diff --git a/kbugbuster/gui/msginputdialog.cpp b/kbugbuster/gui/msginputdialog.cpp index 5bea95be..a1e10a38 100644 --- a/kbugbuster/gui/msginputdialog.cpp +++ b/kbugbuster/gui/msginputdialog.cpp @@ -44,7 +44,7 @@ MsgInputDialog::MsgInputDialog(MsgInputDialog::MessageType type, const Bug &bug, TQFrame *topFrame = plainPage(); ( new TQHBoxLayout( topFrame ) )->setAutoAdd( true ); - mSplitter = new TQSplitter( Qt::Horizontal, topFrame ); + mSplitter = new TQSplitter( TQt::Horizontal, topFrame ); TQWidget *w = new TQWidget( mSplitter ); ( new TQVBoxLayout( w, spacingHint(), -1 ) )->setAutoAdd( true ); diff --git a/kbugbuster/gui/packageselectdialog.cpp b/kbugbuster/gui/packageselectdialog.cpp index d228cf86..ccd18880 100644 --- a/kbugbuster/gui/packageselectdialog.cpp +++ b/kbugbuster/gui/packageselectdialog.cpp @@ -46,7 +46,7 @@ PackageSelectDialog::PackageSelectDialog(TQWidget *parent,const char *name) : setMainWidget( topWidget ); TQBoxLayout *topLayout = new TQVBoxLayout( topWidget ); - TQSplitter *topSplitter = new TQSplitter( Qt::Vertical, topWidget ); + TQSplitter *topSplitter = new TQSplitter( TQt::Vertical, topWidget ); topSplitter->setOpaqueResize( true ); topLayout->addWidget( topSplitter ); diff --git a/kbugbuster/gui/preferencesdialog.cpp b/kbugbuster/gui/preferencesdialog.cpp index 20ca0267..a7a99478 100644 --- a/kbugbuster/gui/preferencesdialog.cpp +++ b/kbugbuster/gui/preferencesdialog.cpp @@ -113,7 +113,7 @@ void PreferencesDialog::setupAdvancedPage() TQBoxLayout *layout = new TQVBoxLayout( topFrame ); layout->setSpacing( spacingHint() ); - TQButtonGroup *mailGroup = new TQButtonGroup( 1,Qt::Horizontal, + TQButtonGroup *mailGroup = new TQButtonGroup( 1,TQt::Horizontal, i18n( "Mail Client" ), topFrame ); layout->addWidget( mailGroup ); diff --git a/kbugbuster/gui/severityselectdialog.cpp b/kbugbuster/gui/severityselectdialog.cpp index bef2640b..f256cfdc 100644 --- a/kbugbuster/gui/severityselectdialog.cpp +++ b/kbugbuster/gui/severityselectdialog.cpp @@ -13,7 +13,7 @@ SeveritySelectDialog::SeveritySelectDialog(TQWidget *parent,const char *name) : KDialogBase( parent, name, true, i18n("Select Severity"), Ok|Cancel ) { - mButtonGroup = new TQButtonGroup( 1,Qt::Horizontal, i18n("Severity"), this ); + mButtonGroup = new TQButtonGroup( 1,TQt::Horizontal, i18n("Severity"), this ); setMainWidget( mButtonGroup ); TQValueList<Bug::Severity> severities = Bug::severities(); |