Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/88/head
Michele Calgaro 1 year ago
parent 929e1f08c9
commit 33ba77ee89
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -145,7 +145,7 @@ class QSomething;
namespace Akregator { namespace Akregator {
class Test : public QObject class Test : public TQObject
{ {
TQ_OBJECT TQ_OBJECT
@ -153,7 +153,7 @@ class Test : public QObject
typedef QValueList<Test> list; typedef QValueList<Test> list;
Test(); Test();
Test(QString someString); Test(TQString someString);
explicit Test(int i = 0); explicit Test(int i = 0);
virtual ~Test(); virtual ~Test();
@ -212,7 +212,7 @@ test.cpp:
namespace Akregator { namespace Akregator {
Test::Test() Test::Test()
: QObject() : TQObject()
, m_protectedVar(0) , m_protectedVar(0)
, m_privateVar(0) , m_privateVar(0)
, m_tastyThing(0) , m_tastyThing(0)
@ -220,8 +220,8 @@ Test::Test()
{ {
} }
Test::Test(QString someString) Test::Test(TQString someString)
: QObject() : TQObject()
, m_protectedVar(0) , m_protectedVar(0)
, m_privateVar(0) , m_privateVar(0)
, m_tastyThing(someString) , m_tastyThing(someString)
@ -230,7 +230,7 @@ Test::Test(QString someString)
} }
Test::Test(int i); Test::Test(int i);
: QObject() : TQObject()
, m_protectedVar(0) , m_protectedVar(0)
, m_privateVar(0) , m_privateVar(0)
, m_tastyThing(i) , m_tastyThing(i)

@ -2700,8 +2700,8 @@ at some future date.</para></note>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
void cancelEvent(const QString&amp; <replaceable>calendarFile</replaceable>, void cancelEvent(const TQString&amp; <replaceable>calendarFile</replaceable>,
const QString&amp; <replaceable>eventID</replaceable>) const TQString&amp; <replaceable>eventID</replaceable>)
</synopsis> </synopsis>
<refsect2> <refsect2>
@ -2751,8 +2751,8 @@ ignored.</para></note>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
void triggerEvent(const QString&amp; <replaceable>calendarFile</replaceable>, void triggerEvent(const TQString&amp; <replaceable>calendarFile</replaceable>,
const QString&amp; <replaceable>eventID</replaceable>) const TQString&amp; <replaceable>eventID</replaceable>)
</synopsis> </synopsis>
<refsect2> <refsect2>
@ -2809,8 +2809,8 @@ ignored.</para></note>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
void handleEvent(const QString&amp; <replaceable>calendarFile</replaceable>, void handleEvent(const TQString&amp; <replaceable>calendarFile</replaceable>,
const QString&amp; <replaceable>eventID</replaceable>) const TQString&amp; <replaceable>eventID</replaceable>)
</synopsis> </synopsis>
<refsect2> <refsect2>
@ -2876,26 +2876,26 @@ ignored.</para></note>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
bool scheduleMessage(const QString&amp; <replaceable>message</replaceable>, bool scheduleMessage(const TQString&amp; <replaceable>message</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>lateCancel</replaceable>,
int <replaceable>flags</replaceable>, int <replaceable>flags</replaceable>,
const QString&amp; <replaceable>bgColor</replaceable>, const TQString&amp; <replaceable>bgColor</replaceable>,
const QString&amp; <replaceable>fgColor</replaceable>, const TQString&amp; <replaceable>fgColor</replaceable>,
const QString&amp; <replaceable>font</replaceable>, const TQString&amp; <replaceable>font</replaceable>,
const KURL&amp; <replaceable>audioURL</replaceable>, const KURL&amp; <replaceable>audioURL</replaceable>,
int <replaceable>reminder</replaceable>, int <replaceable>reminder</replaceable>,
const QString&amp; <replaceable>recurrence</replaceable>, const TQString&amp; <replaceable>recurrence</replaceable>,
int <replaceable>subRepeatInterval</replaceable>, int <replaceable>subRepeatInterval</replaceable>,
int <replaceable>subRepeatCount</replaceable>) int <replaceable>subRepeatCount</replaceable>)
</synopsis> </synopsis>
<synopsis> <synopsis>
bool scheduleMessage(const QString&amp; <replaceable>message</replaceable>, bool scheduleMessage(const TQString&amp; <replaceable>message</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>flags</replaceable>, int <replaceable>lateCancel</replaceable>, int <replaceable>flags</replaceable>,
const QString&amp; <replaceable>bgColor</replaceable>, const TQString&amp; <replaceable>bgColor</replaceable>,
const QString&amp; <replaceable>fgColor</replaceable>, const TQString&amp; <replaceable>fgColor</replaceable>,
const QString&amp; <replaceable>font</replaceable>, const TQString&amp; <replaceable>font</replaceable>,
const KURL&amp; <replaceable>audioURL</replaceable>, const KURL&amp; <replaceable>audioURL</replaceable>,
int <replaceable>reminder</replaceable>, int <replaceable>reminder</replaceable>,
int <replaceable>recurType</replaceable>, int <replaceable>recurType</replaceable>,
@ -2903,18 +2903,18 @@ bool scheduleMessage(const QString&amp; <replaceable>message</replaceable>,
int <replaceable>recurCount</replaceable>) int <replaceable>recurCount</replaceable>)
</synopsis> </synopsis>
<synopsis> <synopsis>
bool scheduleMessage(const QString&amp; <replaceable>message</replaceable>, bool scheduleMessage(const TQString&amp; <replaceable>message</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>lateCancel</replaceable>,
int <replaceable>flags</replaceable>, int <replaceable>flags</replaceable>,
const QString&amp; <replaceable>bgColor</replaceable>, const TQString&amp; <replaceable>bgColor</replaceable>,
const QString&amp; <replaceable>fgColor</replaceable>, const TQString&amp; <replaceable>fgColor</replaceable>,
const QString&amp; <replaceable>font</replaceable>, const TQString&amp; <replaceable>font</replaceable>,
const KURL&amp; <replaceable>audioURL</replaceable>, const KURL&amp; <replaceable>audioURL</replaceable>,
int <replaceable>reminder</replaceable>, int <replaceable>reminder</replaceable>,
int <replaceable>recurType</replaceable>, int <replaceable>recurType</replaceable>,
int <replaceable>recurInterval</replaceable>, int <replaceable>recurInterval</replaceable>,
const QString&amp; <replaceable>endDateTime</replaceable>) const TQString&amp; <replaceable>endDateTime</replaceable>)
</synopsis> </synopsis>
<refsect2> <refsect2>
@ -2969,10 +2969,10 @@ applicable to message alarms.</para>
<listitem> <listitem>
<para>Specifies the background color for displaying the message. The <para>Specifies the background color for displaying the message. The
string may be in the format <quote>#RRGGBB</quote> (as returned by string may be in the format <quote>#RRGGBB</quote> (as returned by
<methodname>QColor::name()</methodname>) where RR, GG and BB are <methodname>TQColor::name()</methodname>) where RR, GG and BB are
two-digit hexadecimal values for red, green and blue. Alternatively two-digit hexadecimal values for red, green and blue. Alternatively
the string may be in any of the other formats accepted by the string may be in any of the other formats accepted by
<methodname>QColor::setNamedColor()</methodname>, such as a name from <methodname>TQColor::setNamedColor()</methodname>, such as a name from
the X color database (&eg; <quote>red</quote> or the X color database (&eg; <quote>red</quote> or
<quote>steelblue</quote>). Set the string to null to specify the <quote>steelblue</quote>). Set the string to null to specify the
current default background color.</para> current default background color.</para>
@ -3124,22 +3124,22 @@ text or image file.</refpurpose>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
bool scheduleFile(const KURL&amp; <replaceable>URL</replaceable>, bool scheduleFile(const KURL&amp; <replaceable>URL</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>lateCancel</replaceable>,
int <replaceable>flags</replaceable>, int <replaceable>flags</replaceable>,
const QString&amp; <replaceable>bgColor</replaceable>, const TQString&amp; <replaceable>bgColor</replaceable>,
const KURL&amp; <replaceable>audioURL</replaceable>, const KURL&amp; <replaceable>audioURL</replaceable>,
int <replaceable>reminder</replaceable>, int <replaceable>reminder</replaceable>,
const QString&amp; <replaceable>recurrence</replaceable>, const TQString&amp; <replaceable>recurrence</replaceable>,
int <replaceable>subRepeatInterval</replaceable>, int <replaceable>subRepeatInterval</replaceable>,
int <replaceable>subRepeatCount</replaceable>) int <replaceable>subRepeatCount</replaceable>)
</synopsis> </synopsis>
<synopsis> <synopsis>
bool scheduleFile(const KURL&amp; <replaceable>URL</replaceable>, bool scheduleFile(const KURL&amp; <replaceable>URL</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>lateCancel</replaceable>,
int <replaceable>flags</replaceable>, int <replaceable>flags</replaceable>,
const QString&amp; <replaceable>bgColor</replaceable>, const TQString&amp; <replaceable>bgColor</replaceable>,
const KURL&amp; <replaceable>audioURL</replaceable>, const KURL&amp; <replaceable>audioURL</replaceable>,
int <replaceable>reminder</replaceable>, int <replaceable>reminder</replaceable>,
int <replaceable>recurType</replaceable>, int <replaceable>recurType</replaceable>,
@ -3148,15 +3148,15 @@ bool scheduleFile(const KURL&amp; <replaceable>URL</replaceable>,
</synopsis> </synopsis>
<synopsis> <synopsis>
bool scheduleFile(const KURL&amp; <replaceable>URL</replaceable>, bool scheduleFile(const KURL&amp; <replaceable>URL</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>lateCancel</replaceable>,
int <replaceable>flags</replaceable>, int <replaceable>flags</replaceable>,
const QString&amp; <replaceable>bgColor</replaceable>, const TQString&amp; <replaceable>bgColor</replaceable>,
const KURL&amp; <replaceable>audioURL</replaceable>, const KURL&amp; <replaceable>audioURL</replaceable>,
int <replaceable>reminder</replaceable>, int <replaceable>reminder</replaceable>,
int <replaceable>recurType</replaceable>, int <replaceable>recurType</replaceable>,
int <replaceable>recurInterval</replaceable>, int <replaceable>recurInterval</replaceable>,
const QString&amp; <replaceable>endDateTime</replaceable>) const TQString&amp; <replaceable>endDateTime</replaceable>)
</synopsis> </synopsis>
<refsect2> <refsect2>
@ -3212,10 +3212,10 @@ applicable to file alarms.</para>
<listitem> <listitem>
<para>Specifies the background color for displaying the file. The <para>Specifies the background color for displaying the file. The
string may be in the format <quote>#RRGGBB</quote> (as returned by string may be in the format <quote>#RRGGBB</quote> (as returned by
<methodname>QColor::name()</methodname>) where RR, GG and BB are <methodname>TQColor::name()</methodname>) where RR, GG and BB are
two-digit hexadecimal values for red, green and blue. Alternatively two-digit hexadecimal values for red, green and blue. Alternatively
the string may be in any of the other formats accepted by the string may be in any of the other formats accepted by
<methodname>QColor::setNamedColor()</methodname>, such as a name from <methodname>TQColor::setNamedColor()</methodname>, such as a name from
the X color database (&eg; <quote>red</quote> or the X color database (&eg; <quote>red</quote> or
<quote>steelblue</quote>). Set the string to null to specify the <quote>steelblue</quote>). Set the string to null to specify the
current default background color.</para> current default background color.</para>
@ -3338,17 +3338,17 @@ command.</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
bool scheduleCommand(const QString&amp; <replaceable>commandLine</replaceable>, bool scheduleCommand(const TQString&amp; <replaceable>commandLine</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>lateCancel</replaceable>,
int <replaceable>flags</replaceable>, int <replaceable>flags</replaceable>,
const QString&amp; <replaceable>recurrence</replaceable>, const TQString&amp; <replaceable>recurrence</replaceable>,
int <replaceable>subRepeatInterval</replaceable>, int <replaceable>subRepeatInterval</replaceable>,
int <replaceable>subRepeatCount</replaceable>) int <replaceable>subRepeatCount</replaceable>)
</synopsis> </synopsis>
<synopsis> <synopsis>
bool scheduleCommand(const QString&amp; <replaceable>commandLine</replaceable>, bool scheduleCommand(const TQString&amp; <replaceable>commandLine</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>lateCancel</replaceable>,
int <replaceable>flags</replaceable>, int <replaceable>flags</replaceable>,
int <replaceable>recurType</replaceable>, int <replaceable>recurType</replaceable>,
@ -3356,13 +3356,13 @@ bool scheduleCommand(const QString&amp; <replaceable>commandLine</replaceable>,
int <replaceable>recurCount</replaceable>) int <replaceable>recurCount</replaceable>)
</synopsis> </synopsis>
<synopsis> <synopsis>
bool scheduleCommand(const QString&amp; <replaceable>commandLine</replaceable>, bool scheduleCommand(const TQString&amp; <replaceable>commandLine</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>lateCancel</replaceable>,
int <replaceable>flags</replaceable>, int <replaceable>flags</replaceable>,
int <replaceable>recurType</replaceable>, int <replaceable>recurType</replaceable>,
int <replaceable>recurInterval</replaceable>, int <replaceable>recurInterval</replaceable>,
const QString&amp; <replaceable>endDateTime</replaceable>) const TQString&amp; <replaceable>endDateTime</replaceable>)
</synopsis> </synopsis>
<refsect2> <refsect2>
@ -3512,25 +3512,25 @@ parameters, its usage is identical to
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
bool scheduleEmail(const QString&amp; <replaceable>fromID</replaceable>, bool scheduleEmail(const TQString&amp; <replaceable>fromID</replaceable>,
const QString&amp; <replaceable>addresses</replaceable>, const TQString&amp; <replaceable>addresses</replaceable>,
const QString&amp; <replaceable>subject</replaceable>, const TQString&amp; <replaceable>subject</replaceable>,
const QString&amp; <replaceable>message</replaceable>, const TQString&amp; <replaceable>message</replaceable>,
const QString&amp; <replaceable>attachments</replaceable>, const TQString&amp; <replaceable>attachments</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>lateCancel</replaceable>,
int <replaceable>flags</replaceable>, int <replaceable>flags</replaceable>,
const QString&amp; <replaceable>recurrence</replaceable>, const TQString&amp; <replaceable>recurrence</replaceable>,
int <replaceable>subRepeatInterval</replaceable>, int <replaceable>subRepeatInterval</replaceable>,
int <replaceable>subRepeatCount</replaceable>) int <replaceable>subRepeatCount</replaceable>)
</synopsis> </synopsis>
<synopsis> <synopsis>
bool scheduleEmail(const QString&amp; <replaceable>fromID</replaceable>, bool scheduleEmail(const TQString&amp; <replaceable>fromID</replaceable>,
const QString&amp; <replaceable>addresses</replaceable>, const TQString&amp; <replaceable>addresses</replaceable>,
const QString&amp; <replaceable>subject</replaceable>, const TQString&amp; <replaceable>subject</replaceable>,
const QString&amp; <replaceable>message</replaceable>, const TQString&amp; <replaceable>message</replaceable>,
const QString&amp; <replaceable>attachments</replaceable>, const TQString&amp; <replaceable>attachments</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>lateCancel</replaceable>,
int <replaceable>flags</replaceable>, int <replaceable>flags</replaceable>,
int <replaceable>recurType</replaceable>, int <replaceable>recurType</replaceable>,
@ -3538,17 +3538,17 @@ bool scheduleEmail(const QString&amp; <replaceable>fromID</replaceable>,
int <replaceable>recurCount</replaceable>) int <replaceable>recurCount</replaceable>)
</synopsis> </synopsis>
<synopsis> <synopsis>
bool scheduleEmail(const QString&amp; <replaceable>fromID</replaceable>, bool scheduleEmail(const TQString&amp; <replaceable>fromID</replaceable>,
const QString&amp; <replaceable>addresses</replaceable>, const TQString&amp; <replaceable>addresses</replaceable>,
const QString&amp; <replaceable>subject</replaceable>, const TQString&amp; <replaceable>subject</replaceable>,
const QString&amp; <replaceable>message</replaceable>, const TQString&amp; <replaceable>message</replaceable>,
const QString&amp; <replaceable>attachments</replaceable>, const TQString&amp; <replaceable>attachments</replaceable>,
const QString&amp; <replaceable>dateTime</replaceable>, const TQString&amp; <replaceable>dateTime</replaceable>,
int <replaceable>lateCancel</replaceable>, int <replaceable>lateCancel</replaceable>,
nt <replaceable>flags</replaceable>, nt <replaceable>flags</replaceable>,
int <replaceable>recurType</replaceable>, int <replaceable>recurType</replaceable>,
int <replaceable>recurInterval</replaceable>, int <replaceable>recurInterval</replaceable>,
const QString&amp; <replaceable>endTime</replaceable>) const TQString&amp; <replaceable>endTime</replaceable>)
</synopsis> </synopsis>
<refsect2> <refsect2>
@ -3728,7 +3728,7 @@ dialog</link> to edit an alarm.</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
bool edit(const QString&amp; <replaceable>eventID</replaceable>) bool edit(const TQString&amp; <replaceable>eventID</replaceable>)
</synopsis> </synopsis>
<refsect2> <refsect2>
@ -3772,7 +3772,7 @@ dialog</link> to edit a new alarm.</refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
bool editNew(const QString&amp; <replaceable>templateName</replaceable>) bool editNew(const TQString&amp; <replaceable>templateName</replaceable>)
</synopsis> </synopsis>
<refsect2> <refsect2>

@ -1117,7 +1117,7 @@ times were reset.</para></glossdef> </glossentry>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
QString version() TQString version()
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1> <refsect1>
@ -1138,7 +1138,7 @@ in the typical GNU format of major.minor.bugfix.</para>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
QString quit() TQString quit()
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1> <refsect1>
@ -1159,7 +1159,7 @@ external program can gracefully shutdown &karm;.
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
QString hastodo(QString taskname) TQString hastodo(TQString taskname)
</synopsis> </synopsis>
<refsect2> <refsect2>
<title>Parameters</title> <title>Parameters</title>
@ -1175,7 +1175,7 @@ QString hastodo(QString taskname)
</refsynopsisdiv> </refsynopsisdiv>
<refsect1> <refsect1>
<title>Description</title> <title>Description</title>
<para><function>hastodo(QString taskname)</function> is a &DCOP; call that <para><function>hastodo(TQString taskname)</function> is a &DCOP; call that
looks for a of the given name. If found, it returns the looks for a of the given name. If found, it returns the
iCalendar UID that identifies that todo. If not found, it returns an empty iCalendar UID that identifies that todo. If not found, it returns an empty
string. string.
@ -1196,7 +1196,7 @@ than one todo has a matching name, the first one found is returned.</para>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
QString addtodo(QString todoname) TQString addtodo(TQString todoname)
</synopsis> </synopsis>
<refsect2> <refsect2>
<title>Parameters</title> <title>Parameters</title>
@ -1213,7 +1213,7 @@ QString addtodo(QString todoname)
<refsect1> <refsect1>
<title>Description</title> <title>Description</title>
<para><function>addtodo(QString todoname)</function> is a &DCOP; call that <para><function>addtodo(TQString todoname)</function> is a &DCOP; call that
adds a new top-level todo to the current storage. The UID of the new todo adds a new top-level todo to the current storage. The UID of the new todo
is returned. is returned.
</para> </para>

@ -76,9 +76,9 @@ These are the Q_SIGNALS:
<li>Preferences::autoSavePeriod(int) <li>Preferences::autoSavePeriod(int)
<li>Preferences::detectIdleness(bool) <li>Preferences::detectIdleness(bool)
<li>Preferences::idlenessTimeout(int) <li>Preferences::idlenessTimeout(int)
<li>Preferences::saveFile(QString) <li>Preferences::saveFile(TQString)
<li>Preferences::setupChanged() <li>Preferences::setupChanged()
<li>Preferences::timeLog(QString) <li>Preferences::timeLog(TQString)
<li>Preferences::timeLoging(bool) <li>Preferences::timeLoging(bool)
<li>Preferences::hideOnClose(bool) <li>Preferences::hideOnClose(bool)
</ol> </ol>
@ -100,8 +100,8 @@ These are the Q_SIGNALS:
<li>Karm::load() <li>Karm::load()
<li>Karm::newSubTask() <li>Karm::newSubTask()
<li>Karm::newTask() <li>Karm::newTask()
<li>Karm::newTask(QString, QListViewItem*) <li>Karm::newTask(TQString, QListViewItem*)
<li>Karm::parseLine(QString, long*, QString*, int*) <li>Karm::parseLine(TQString, long*, TQString*, int*)
<li>Karm::resetSessionTimeForAllTasks() <li>Karm::resetSessionTimeForAllTasks()
<li>Karm::save() <li>Karm::save()
<li>Karm::startTimer() <li>Karm::startTimer()

@ -109,8 +109,8 @@ instance of the filter manager is held by the kernel
The search pattern is a QPtrList of search rules (kmsearchpattern.h) and a The search pattern is a QPtrList of search rules (kmsearchpattern.h) and a
boolean operator that defines their relation (and/or). boolean operator that defines their relation (and/or).
A search rule consists of a field-QString, a "function"-enum and a A search rule consists of a field-TQString, a "function"-enum and a
"contents" or "value" QString. The first gives the header (or "contents" or "value" TQString. The first gives the header (or
pseudoheader) to match against, the second says how to match (equals, pseudoheader) to match against, the second says how to match (equals,
consists, is less than,...) and the third holds the pattern to match consists, is less than,...) and the third holds the pattern to match
against. against.
@ -155,7 +155,7 @@ the corresponding config manager instead. But that won't change the
basic principle. basic principle.
Thus, there is an abstract base class ConfigurePage (defined in Thus, there is an abstract base class ConfigurePage (defined in
configuredialog_p.h), which derives from QWidget. It has four methods configuredialog_p.h), which derives from TQWidget. It has four methods
of which you have to reimplement at least the first two: of which you have to reimplement at least the first two:
- void setup() - void setup()
@ -239,7 +239,7 @@ as follows :
---< actual folder types: KMFolderImap, KMFolderMbox... >-- ---< actual folder types: KMFolderImap, KMFolderMbox... >--
At the base KMail's folder design starts with KMFolderNode which At the base KMail's folder design starts with KMFolderNode which
inherits QObject. KMFolderNode is the base class encapsulating inherits TQObject. KMFolderNode is the base class encapsulating
common folder properties such as the name and a boolean signifying whether common folder properties such as the name and a boolean signifying whether
the folder is a folder holding mail directly or a KMFolderDir. the folder is a folder holding mail directly or a KMFolderDir.
KMFolderNode's often do not have an on-disk representation, they are KMFolderNode's often do not have an on-disk representation, they are
@ -410,7 +410,7 @@ uniq: 3 bits = max. 8 different types with same chunk size:
010 Offset32 010 Offset32
011 SerNum/UOID 011 SerNum/UOID
100 DateTime 100 DateTime
101 Color (QRgb: (a,r,g,b)) 101 Color (TQRgb: (a,r,g,b))
110 reserved 110 reserved
111 Extend 111 Extend
@ -821,7 +821,7 @@ During the design phase we identified a need for BodyPartFormatters to
request their being called on some form of events, e.g. a dcop request their being called on some form of events, e.g. a dcop
signal. Thus, the Memento interface also includes the IObserver and signal. Thus, the Memento interface also includes the IObserver and
ISubject interfaces. If a BodyPartFormatter needs to react to a signal ISubject interfaces. If a BodyPartFormatter needs to react to a signal
(Qt or DCOP), it implements the Memento interface using a QObject, (Qt or DCOP), it implements the Memento interface using a TQObject,
connects the signal to a slot on the Memento and (as an ISubject) connects the signal to a slot on the Memento and (as an ISubject)
notifies it's IObservers when the slot is called. If a Memento is notifies it's IObservers when the slot is called. If a Memento is
created, the reader window registers itself as an observer of the created, the reader window registers itself as an observer of the
@ -850,10 +850,10 @@ public:
}; };
class DelayedHelloWorldBodyPartMemento class DelayedHelloWorldBodyPartMemento
: public QObject, public KMail::BodyPartMemento { : public TQObject, public KMail::BodyPartMemento {
public: public:
DelayedHelloWorldBodyPartMemento() DelayedHelloWorldBodyPartMemento()
: QObject( 0, "DelayedHelloWorldBodyPartMemento" ), : TQObject( 0, "DelayedHelloWorldBodyPartMemento" ),
KMail::BodyPartMemento() KMail::BodyPartMemento()
{ {
QTimer::singleShot( 10*1000, this, SLOT(slotTimeout()) ); QTimer::singleShot( 10*1000, this, SLOT(slotTimeout()) );

@ -16,14 +16,14 @@ your tdepim source directory.
In the import method of your filter you are passed a FilterInfo object. This has In the import method of your filter you are passed a FilterInfo object. This has
the following methods that you may want to use: the following methods that you may want to use:
void setFrom( const QString& from ); // Set to file importing from void setFrom( const TQString& from ); // Set to file importing from
void setTo( const QString& to ); // Set to folder importing into void setTo( const TQString& to ); // Set to folder importing into
void setCurrent( const QString& current ); // What we are doing void setCurrent( const TQString& current ); // What we are doing
void setCurrent( int percent = 0 ); // Set percentage of current file void setCurrent( int percent = 0 ); // Set percentage of current file
void setOverall( int percent = 0 ); // Set overall percentage void setOverall( int percent = 0 ); // Set overall percentage
void addLog( const QString& log ); // Add a message for the user to see void addLog( const TQString& log ); // Add a message for the user to see
void alert( const QString& message ); // Tell user something has gone wrong void alert( const TQString& message ); // Tell user something has gone wrong
QWidget *parent(); // The parent widget TQWidget *parent(); // The parent widget
bool removeDupMsg; // true, if user selected 'remove duplicated messages' bool removeDupMsg; // true, if user selected 'remove duplicated messages'

@ -48,11 +48,11 @@ KNotesNetworkSender::KNotesNetworkSender( const TQString& hostname, int port )
// TQObject:: prefix needed, otherwise the KStreamSocket::connect() // TQObject:: prefix needed, otherwise the KStreamSocket::connect()
// mehtod is called!!! // mehtod is called!!!
QObject::connect( TQT_TQOBJECT(this), TQT_SIGNAL(connected( const KResolverEntry& )), TQObject::connect( TQT_TQOBJECT(this), TQT_SIGNAL(connected( const KResolverEntry& )),
TQT_SLOT(slotConnected( const KResolverEntry& )) ); TQT_SLOT(slotConnected( const KResolverEntry& )) );
QObject::connect( TQT_TQOBJECT(this), TQT_SIGNAL(gotError( int )), TQT_SLOT(slotError( int )) ); TQObject::connect( TQT_TQOBJECT(this), TQT_SIGNAL(gotError( int )), TQT_SLOT(slotError( int )) );
QObject::connect( TQT_TQOBJECT(this), TQT_SIGNAL(closed()), TQT_SLOT(slotClosed()) ); TQObject::connect( TQT_TQOBJECT(this), TQT_SIGNAL(closed()), TQT_SLOT(slotClosed()) );
QObject::connect( TQT_TQOBJECT(this), TQT_SIGNAL(readyWrite()), TQT_SLOT(slotReadyWrite()) ); TQObject::connect( TQT_TQOBJECT(this), TQT_SIGNAL(readyWrite()), TQT_SLOT(slotReadyWrite()) );
} }
void KNotesNetworkSender::setSenderId( const TQString& sender ) void KNotesNetworkSender::setSenderId( const TQString& sender )

@ -57,7 +57,7 @@ In the kontact plugin
* Don't use dcopClient() until the part is loaded * Don't use dcopClient() until the part is loaded
* After loading the part, you might want to create a DCOP stub to use some * After loading the part, you might want to create a DCOP stub to use some
of its methods (do both in a loadPart() method, e.g.). of its methods (do both in a loadPart() method, e.g.).
* Implement createDCOPInterface( const QString& serviceType ), to * Implement createDCOPInterface( const TQString& serviceType ), to
load the part if the serviceType is one provided by it. load the part if the serviceType is one provided by it.
See KAddressbookPlugin (plugins/kaddressbook/*) for a working example. See KAddressbookPlugin (plugins/kaddressbook/*) for a working example.

@ -367,7 +367,7 @@ h: there is something else broken IMHO
Summary View Summary View
------------ ------------
h: How would one best integrate a summary view into kontact? h: How would one best integrate a summary view into kontact?
h: a) add a virtual QWidget *summary(const QDateTime&, QWidget* parent ); h: a) add a virtual TQWidget *summary(const QDateTime&, TQWidget* parent );
h: to get a summary widget for a day? h: to get a summary widget for a day?
h: b) use some sort of XML to UI to represent the summary informations h: b) use some sort of XML to UI to represent the summary informations
h: c) have a stand a lone part which opens the PIM data seperately? ( How h: c) have a stand a lone part which opens the PIM data seperately? ( How

@ -71,7 +71,7 @@ KParts::ReadOnlyPart *Core::createPart( const char *libname )
KParts::ReadOnlyPart *pimPart = dynamic_cast<KParts::ReadOnlyPart*>( part ); KParts::ReadOnlyPart *pimPart = dynamic_cast<KParts::ReadOnlyPart*>( part );
if ( pimPart ) { if ( pimPart ) {
mParts.insert( libname, pimPart ); mParts.insert( libname, pimPart );
QObject::connect( pimPart, TQT_SIGNAL( destroyed( TQObject * ) ), TQObject::connect( pimPart, TQT_SIGNAL( destroyed( TQObject * ) ),
TQT_SLOT( slotPartDestroyed( TQObject * ) ) ); TQT_SLOT( slotPartDestroyed( TQObject * ) ) );
} else { } else {
// TODO move to KParts::ComponentFactory // TODO move to KParts::ComponentFactory

@ -10,12 +10,12 @@ NOTES:
It uses internal state member variables and such. It uses internal state member variables and such.
DATA STRUCTURES: DATA STRUCTURES:
QMap<QString,int> m_uids is in fact a set of known uids telling us QMap<TQString,int> m_uids is in fact a set of known uids telling us
whether we're already busy or finished reading the Master event whether we're already busy or finished reading the Master event
for this UID. The map contains the UID as key, with a value of 1, for this UID. The map contains the UID as key, with a value of 1,
if UID is either being or finished downloading. if UID is either being or finished downloading.
QMap<QString,DwString *> m_transferJobs maps URLs being downloaded QMap<TQString,DwString *> m_transferJobs maps URLs being downloaded
to strings of data already received. A URL is removed from the map to strings of data already received. A URL is removed from the map
if all data has been received if all data has been received

Loading…
Cancel
Save