summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 21:03:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-14 12:59:42 +0900
commita49b0e2c531c81e420dc103b5130e2fa8643f46d (patch)
tree42ee6213b300c2366208f6c122bee39845b5a89c /tdeioslave
parent36eda89f538b610db9dbda129d7c8e81089caf1a (diff)
downloadtdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.tar.gz
tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
Diffstat (limited to 'tdeioslave')
-rw-r--r--tdeioslave/cgi/kcmcgi/kcmcgi.cpp2
-rw-r--r--tdeioslave/fish/fish.cpp2
-rw-r--r--tdeioslave/man/man2html.cpp2
-rw-r--r--tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp4
-rw-r--r--tdeioslave/trash/tdeio_trash.cpp2
-rw-r--r--tdeioslave/trash/trashimpl.cpp4
6 files changed, 8 insertions, 8 deletions
diff --git a/tdeioslave/cgi/kcmcgi/kcmcgi.cpp b/tdeioslave/cgi/kcmcgi/kcmcgi.cpp
index a4297969e..1b36daaae 100644
--- a/tdeioslave/cgi/kcmcgi/kcmcgi.cpp
+++ b/tdeioslave/cgi/kcmcgi/kcmcgi.cpp
@@ -48,7 +48,7 @@ KCMCgi::KCMCgi(TQWidget *parent, const char *name)
TQVBoxLayout *topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint());
- TQGroupBox *topBox = new TQGroupBox( 1, Qt::Horizontal, i18n("Paths to Local CGI Programs"), this );
+ TQGroupBox *topBox = new TQGroupBox( 1, TQt::Horizontal, i18n("Paths to Local CGI Programs"), this );
topLayout->addWidget( topBox );
mListBox = new TQListBox( topBox );
diff --git a/tdeioslave/fish/fish.cpp b/tdeioslave/fish/fish.cpp
index e7a195c44..6f6cd93c6 100644
--- a/tdeioslave/fish/fish.cpp
+++ b/tdeioslave/fish/fish.cpp
@@ -776,7 +776,7 @@ int fishProtocol::handleResponse(const TQString &str){
int fishProtocol::makeTimeFromLs(const TQString &monthStr, const TQString &dayStr, const TQString &timeyearStr)
{
- TQDateTime dt(TQDate::currentDate(Qt::UTC));
+ TQDateTime dt(TQDate::currentDate(TQt::UTC));
int year = dt.date().year();
int month = dt.date().month();
int currentMonth = month;
diff --git a/tdeioslave/man/man2html.cpp b/tdeioslave/man/man2html.cpp
index 0b5f433e6..3f27feb68 100644
--- a/tdeioslave/man/man2html.cpp
+++ b/tdeioslave/man/man2html.cpp
@@ -330,7 +330,7 @@ static void InitNumberDefinitions( void )
{
// As the date number registers are more for end-users, better choose local time.
// Groff seems to support Gregorian dates only
- TQDate today( TQDate::currentDate( Qt::LocalTime ) );
+ TQDate today( TQDate::currentDate( TQt::LocalTime ) );
s_numberDefinitionMap.insert( "year", today.year() ); // Y2K-correct year
s_numberDefinitionMap.insert( "yr", today.year() - 1900 ); // Y2K-incorrect year
s_numberDefinitionMap.insert( "mo", today.month() );
diff --git a/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp b/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp
index 826b69f6a..5f72e3102 100644
--- a/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp
+++ b/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp
@@ -158,8 +158,8 @@ bool KFileMediaPlugin::readInfo(KFileMetaInfo &info, uint /*what*/)
TQPixmap bar(150, 20);
TQPainter p(&bar);
- p.fillRect(0, 0, length, 20, Qt::red);
- p.fillRect(length, 0, 150-length, 20, Qt::green);
+ p.fillRect(0, 0, length, 20, TQt::red);
+ p.fillRect(length, 0, 150-length, 20, TQt::green);
TQColorGroup cg = TQApplication::palette().active();
diff --git a/tdeioslave/trash/tdeio_trash.cpp b/tdeioslave/trash/tdeio_trash.cpp
index 90431afd5..eeb0f600b 100644
--- a/tdeioslave/trash/tdeio_trash.cpp
+++ b/tdeioslave/trash/tdeio_trash.cpp
@@ -435,7 +435,7 @@ bool TrashProtocol::createUDSEntry( const TQString& physicalPath, const TQString
addAtom( entry, TDEIO::UDS_MODIFICATION_TIME, buff.st_mtime );
addAtom( entry, TDEIO::UDS_ACCESS_TIME, buff.st_atime ); // ## or use it for deletion time?
addAtom( entry, TDEIO::UDS_EXTRA, 0, info.origPath );
- addAtom( entry, TDEIO::UDS_EXTRA, 0, info.deletionDate.toString( Qt::ISODate ) );
+ addAtom( entry, TDEIO::UDS_EXTRA, 0, info.deletionDate.toString( TQt::ISODate ) );
return true;
}
diff --git a/tdeioslave/trash/trashimpl.cpp b/tdeioslave/trash/trashimpl.cpp
index 4f7dbf492..8bfbbca8d 100644
--- a/tdeioslave/trash/trashimpl.cpp
+++ b/tdeioslave/trash/trashimpl.cpp
@@ -263,7 +263,7 @@ bool TrashImpl::createInfo( const TQString& origPath, int& trashId, TQString& fi
info += KURL::encode_string( makeRelativePath( topDirectoryPath( trashId ), origPath ), m_mibEnum ).latin1();
info += "\n";
info += "DeletionDate=";
- info += TQDateTime::currentDateTime().toString( Qt::ISODate ).latin1();
+ info += TQDateTime::currentDateTime().toString( TQt::ISODate ).latin1();
info += "\n";
size_t sz = info.size() - 1; // avoid trailing 0 from QCString
@@ -637,7 +637,7 @@ bool TrashImpl::readInfoFile( const TQString& infoPath, TrashedFileInfo& info, i
}
TQString line = cfg.readEntry( "DeletionDate" );
if ( !line.isEmpty() ) {
- info.deletionDate = TQDateTime::fromString( line, Qt::ISODate );
+ info.deletionDate = TQDateTime::fromString( line, TQt::ISODate );
}
return true;
}