diff options
author | Mavridis Philippe <[email protected]> | 2021-01-13 19:30:17 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2021-01-13 19:30:17 +0200 |
commit | 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (patch) | |
tree | dc3ef0e6fedd64f5fb177c114f72e1515a07cd1b /src/ktlisttasks.cpp | |
parent | c6cbd71bc169ac0e927e52325dbbbcb506abbc73 (diff) | |
download | klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.tar.gz klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.zip |
Conversion Qt3->TQt
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/ktlisttasks.cpp')
-rw-r--r-- | src/ktlisttasks.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ktlisttasks.cpp b/src/ktlisttasks.cpp index 7349b0f..a5eba31 100644 --- a/src/ktlisttasks.cpp +++ b/src/ktlisttasks.cpp @@ -25,13 +25,13 @@ KTListTasks::KTListTasks(KTListItem* parent, CTCron* _ctcron) : refresh(); } -KTListTasks::KTListTasks(QListView* parent, CTCron* _ctcron) : +KTListTasks::KTListTasks(TQListView* parent, CTCron* _ctcron) : KTListItem(parent, 0, _ctcron) { refresh(); } -QString KTListTasks::getDescription() +TQString KTListTasks::getDescription() { return i18n("Tasks"); } @@ -45,7 +45,7 @@ QString KTListTasks::getDescription() // if (temptask->dirty()) // { // getCTCron()->task.push_back(temptask); -// new KTListTask(this, getCTCron(), temptask); // Qt will clean up +// new KTListTask(this, getCTCron(), temptask); // TQt will clean up // } // else // { @@ -61,11 +61,11 @@ void KTListTasks::refresh() // void KTListTasks::print (KTPrint& printer) const // { -// QFont stnd; +// TQFont stnd; // // stnd = printer.getFont(); // -// printer.setFont(QFont( KGlobalSettings::generalFont().family(), 10, QFont::Bold )); +// printer.setFont(TQFont( KGlobalSettings::generalFont().family(), 10, TQFont::Bold )); // printer.print (i18n("Task name:"), 1, KTPrint::alignTextLeft); // printer.print (i18n("Program:"), 2, KTPrint::alignTextCenter); // printer.print (i18n("Description:"),3,KTPrint::alignTextRight); @@ -83,7 +83,7 @@ void KTListTasks::refresh() // } // // KTListItem* ktli = (KTListItem*)this->firstChild(); -// Q_CHECK_PTR(ktli); +// TQ_CHECK_PTR(ktli); // // while (ktli) { // ktli->print(printer); |