Compare commits

...

18 Commits

Author SHA1 Message Date
TDE Gitea 3395355e57 Merge translation files from master branch.
1 day ago
TDE Gitea eca240cac7 Merge translation files from master branch.
3 days ago
TDE Gitea cadc8b76b0 Merge translation files from master branch.
2 weeks ago
TDE Gitea e0652ba28b Merge translation files from master branch.
3 weeks ago
Michele Calgaro e9d5333939
Use centralized cmake version
2 months ago
Michele Calgaro 031143c754
Replace Qt with TQt
2 months ago
TDE Gitea 84beaa20de Merge translation files from master branch.
3 months ago
Michele Calgaro f9289944a1
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
4 months ago
Michele Calgaro 3b5ccc656f
Remove various '#define' strings - part 6
5 months ago
Michele Calgaro abcd9a4560
Replaced various '#define' with actual strings - part 5
5 months ago
TDE Gitea 1d47a02e82 Merge translation files from master branch.
5 months ago
Michele Calgaro 04d2f2a575
Replace 'Event' #define strings
5 months ago
Slávek Banko 2f80418ddf
Raise the minimum required version of CMake to 3.5.
6 months ago
Michele Calgaro 255ec90652
Replace Qt with TQt
6 months ago
Michele Calgaro 1a31fdd3d3
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
7 months ago
Michele Calgaro 0a566136eb
Drop TQT_BASE_OBJECT* defines
9 months ago
Michele Calgaro 980849e7c8
Replace Q_OBJECT with TQ_OBJECT
9 months ago
Michele Calgaro 83e4ace78c
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
10 months ago

@ -9,7 +9,11 @@
#
#################################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
##### include our cmake modules #################

@ -9,7 +9,12 @@
#
#################################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
#### general package setup ######################
@ -33,11 +38,6 @@ enable_testing( )
include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### setup install paths #######################
include( TDESetupPaths )

@ -371,8 +371,8 @@ To provide a consistent experience to KPilot users, there already
exists a class \class{ConduitConfig} which is a subclass of \class{KDialog}.
This dialog does most of the basic work for you.
\subsection{The dialog template, using QT Designer}
Of course, first we need to have a dialog template in the form of a QT
\subsection{The dialog template, using TQt Designer}
Of course, first we need to have a dialog template in the form of a TQt
Designer file (which has an extension .ui). Start up \file{designer} and
create a new widget (no dialogbox, i.e. no OK or cancel buttons, these will be added automatically). The dialogbox should contain a QTabWidget, even if you only need one tab. A second tab "About" will be added more or less automatically by the conduit listing the copyright and the authors of your conduit. A typical example of the coknduit setup widget dialog is shown in the following screenshot:
\includegraphics[width=14cm]{pictures/ProxyTab}
@ -401,9 +401,9 @@ class MALWidget;
class MALWidgetSetup : public ConduitConfig
{
Q_OBJECT
TQ_OBJECT
public:
MALWidgetSetup(QWidget *,const char *,const QStringList &);
MALWidgetSetup(TQWidget *,const char *,const QStringList &);
virtual ~MALWidgetSetup() {};
virtual void readSettings();
protected:
@ -417,7 +417,7 @@ private:
This class implements the dialog box itself, and our dialog template
will be inserted into this dialog by the constructor:
{\footnotesize\begin{verbatim}
MALWidgetSetup::MALWidgetSetup(QWidget *w, const char *n,
MALWidgetSetup::MALWidgetSetup(TQWidget *w, const char *n,
const QStringList & a) :
ConduitConfig(w,n,a)
{
@ -437,7 +437,7 @@ The first two lines create an instance of our dialog template and add it
as the tab widget to the dialog. Since we will have to set and read the
values of the controls in that tab widget, we need to store a pointer to
the instance in the variable \code{fConfigWidget} which is of the same type
(\code{MALWidget}) we assigned to our dialog template in QT Designer. The
(\code{MALWidget}) we assigned to our dialog template in TQt Designer. The
third line of code adds the about page (which is created by the factory,
see last section) to the tab widget, while the last two line just adjust
the size of the dialog box and are not always needed.
@ -453,7 +453,7 @@ char*} variable of the conduit factory class), and then we can use the methods
\item \code{fConfig->readEntry("entryname", \em{defaultstring})}
\item \code{fConfig->readBoolEntry("entryname", \em{defaultBoolValue})}
\end{itemize}
to retrieve the settings from the configuration file. We then use the methods of the QT and KDE widgets to assign the text or value to the controls:
to retrieve the settings from the configuration file. We then use the methods of the TQt and TDE widgets to assign the text or value to the controls:
{\footnotesize\begin{verbatim}
/* virtual */ void MALWidgetSetup::readSettings()
@ -584,7 +584,7 @@ All conduits are subclasses of \class{SyncAction}, which provides the following
environment will deal with \code{syncDone()}.
\item
\code{void addSyncLogEntry(const QString \&e,bool suppress=false)} ... Write a log entry to the pilot. Causes signal \code{logEntry(const char *)} to be emitted.
\code{void addSyncLogEntry(const TQString \&e,bool suppress=false)} ... Write a log entry to the pilot. Causes signal \code{logEntry(const char *)} to be emitted.
\item
\code{int pilotSocket()}\qquad ... returns the pilot socket (needed if you use your own functions to talk to the handheld. This is not recommended, but necessary in some cases)
\item
@ -596,9 +596,9 @@ In addition to these functions the class also has some signals you can emit to d
\begin{itemize}
\item \code{void syncDone(SyncAction *)} ... tell KPilot that the conduit has finished. Every conduit that returns true in its \code{exec()} method needs to emit this signal, otherwise KPilot will wait forever for the conduit to return.
\item \code{void logMessage(const QString \&)} ... Adds a message to KPilot's log, but not to the handheld's log.
\item \code{void logError(const QString \&)} ... Adds an error message to KPilot's log
\item \code{void logProgress(const QString \&,int)} ... Adds a log message and sets the progress bar to the given percentage.
\item \code{void logMessage(const TQString \&)} ... Adds a message to KPilot's log, but not to the handheld's log.
\item \code{void logError(const TQString \&)} ... Adds an error message to KPilot's log
\item \code{void logProgress(const TQString \&,int)} ... Adds a log message and sets the progress bar to the given percentage.
\end{itemize}
@ -611,9 +611,9 @@ In addition to \class{SyncAction}'s methods it adds the following methods:
the handheld in regular intervals
\item \code{void stopTickle()} ... stop the timer
\item\code{int questionYesNo(const QString \&question ,
const QString \&caption = QString::null,
const QString \&key = QString::null,
\item\code{int questionYesNo(const TQString \&question ,
const TQString \&caption = TQString::null,
const TQString \&key = TQString::null,
unsigned timeout = 20000)} ... Ask a yes-no question of the user.
This has a timeout so that you don't wait forever for inattentive users.
It's much like \code{KMessageBox::questionYesNo()}, but with this extra
@ -658,13 +658,13 @@ of this class that you might need in your conduit:
to the \code{DBInfo} variable, which can then be used in other functions.
\item
\code{bool retrieveDatabase(const QString \&path, struct DBInfo *db)}
\code{bool retrieveDatabase(const TQString \&path, struct DBInfo *db)}
\qquad ... Retrieve the database indicated by \code{DBInfo *db} into
the local file path.
\item
\code{bool installFile(const QString \&, bool deleteFile=true)}\qquad ... Installs the .prc
\code{bool installFile(const TQString \&, bool deleteFile=true)}\qquad ... Installs the .prc
or .pdb database from the PC to the handheld. Returns true on success.
If deleteFile is set true or left out, the local file is deleted after successful installation.
\item
@ -744,7 +744,7 @@ database to not dirty.
from Palm Pilot database
\item\code{bool isOpen()} ... Returns false if the database could not be
opened, e.g. no connection to the handheld or file could not be created.
\item\code{virtual QString dbPathName()} ... Returns some sensible human-readable
\item\code{virtual TQString dbPathName()} ... Returns some sensible human-readable
identifier for the database. Serial databases get Pilot:, local databases
return the full path.
\item\code{virtual int readAppBlock(unsigned char* buffer, int maxLen)} ...
@ -757,8 +757,8 @@ Writes the application block info.
The constructors of \class{PilotLocalDatabase} and \class{PilotSerialDatabase} are:
\begin{itemize}
\item\code{PilotSerialDatabase(int linksocket, const char* dbName)} ... linksocket
\item\code{PilotLocalDatabase( const QString\& path, const QString\& name)}
\item\code{PilotLocalDatabase(const QString \&name)} ... open database by name only
\item\code{PilotLocalDatabase( const TQString\& path, const TQString\& name)}
\item\code{PilotLocalDatabase(const TQString \&name)} ... open database by name only
(no explicit path). The path \file{\$TDEHOME/share/apps/kpilot/DBBackup/PalmUserName/}
is set by KPilot automatically.
\end{itemize}
@ -945,7 +945,7 @@ Another issue is how to propagate log messages from the external library to KPil
emit logMessage(i18n("My own log message"));
\end{verbatim}
The problem with these slots is that they are Qt-specific, while most libraries are written in C, and expect a hook function that will be called whenever a message needs to be written out. Unfortunately you cannot pass a member of your SyncAction-derived class, either, so the way out is to store a pointer to the current conduit instance (only one will be active at any time, anyway) in a static variable, and call the member method from this pointer:
The problem with these slots is that they are TQt-specific, while most libraries are written in C, and expect a hook function that will be called whenever a message needs to be written out. Unfortunately you cannot pass a member of your SyncAction-derived class, either, so the way out is to store a pointer to the current conduit instance (only one will be active at any time, anyway) in a static variable, and call the member method from this pointer:
{\footnotesize
\begin{verbatim}
@ -976,7 +976,7 @@ int malconduit_logf(const char *format, ...) {
return rval;
}
void MALConduit::printLogMessage(QString msg) {
void MALConduit::printLogMessage(TQString msg) {
FUNCTIONSETUP;
emit logMessage(msg);
}
@ -1012,7 +1012,7 @@ The conduit has to find out
\item if a local copy is kept, if the local copy of a database has been changed or added (again using the modified flat of the records inside the database).
\end{itemize}
To assure a responsive user interface, we will once again use \texttt{QTimer::singleShot(this, 0, SLOT(whatever()));} for each of these steps.
To assure a responsive user interface, we will once again use \texttt{QTimer::singleShot(this, 0, TQ_SLOT(whatever()));} for each of these steps.
The \code{DOCConduit::exec()} function is just the entry point and calls syncNextDB, which will go through all PalmDOC databases on the handheld and determine if any of them has been changed:
@ -1022,7 +1022,7 @@ The \code{DOCConduit::exec()} function is just the entry point and calls syncNex
FUNCTIONSETUP;
readConfig();
dbnr=0;
QTimer::singleShot(0, this, SLOT(syncNextDB()));
QTimer::singleShot(0, this, TQ_SLOT(syncNextDB()));
return true;
}
\end{verbatim}
@ -1040,7 +1040,7 @@ void DOCConduit::syncNextDB() {
if (eSyncDirection==eSyncPCToPDA || fHandle->findDatabase(NULL, &dbinfo, dbnr, dbtype(), dbcreator() /*, cardno */ ) < 0) {
// no more databases available, so check for PC->Palm sync
QTimer::singleShot(0, this, SLOT(syncNextDOC()));
QTimer::singleShot(0, this, TQ_SLOT(syncNextDOC()));
return;
}
dbnr=dbinfo.index+1;
@ -1048,12 +1048,12 @@ void DOCConduit::syncNextDB() {
// if creator and/or type don't match, go to next db
if (!isCorrectDBTypeCreator(dbinfo) || fDBNames.contains(dbinfo.name)) {
QTimer::singleShot(0, this, SLOT(syncNextDB()));
QTimer::singleShot(0, this, TQ_SLOT(syncNextDB()));
return;
}
QString docfilename=constructDOCFileName(dbinfo.name);
QString pdbfilename=constructPDBFileName(dbinfo.name);
TQString docfilename=constructDOCFileName(dbinfo.name);
TQString pdbfilename=constructPDBFileName(dbinfo.name);
docSyncInfo syncInfo(dbinfo.name, docfilename, pdbfilename, eSyncNone);
syncInfo.dbinfo=dbinfo;
@ -1061,7 +1061,7 @@ void DOCConduit::syncNextDB() {
fSyncInfoList.append(syncInfo);
fDBNames.append(dbinfo.name);
QTimer::singleShot(0, this, SLOT(syncNextDB()));
QTimer::singleShot(0, this, TQ_SLOT(syncNextDB()));
return;
}
\end{verbatim}
@ -1077,7 +1077,7 @@ void DOCConduit::syncNextDOC() {
if (eSyncDirection==eSyncPDAToPC ) {
// We don't sync from PC to PDB, so start the conflict resolution and then the actual sync process
docnames.clear();
QTimer::singleShot(0, this, SLOT(checkPDBFiles()));
QTimer::singleShot(0, this, TQ_SLOT(checkPDBFiles()));
return;
}
@ -1089,16 +1089,16 @@ void DOCConduit::syncNextDOC() {
if (dociterator==docnames.end()) {
// no more databases available, so start the conflict resolution and then the actual sync proces
docnames.clear();
QTimer::singleShot(0, this, SLOT(checkPDBFiles()));
QTimer::singleShot(0, this, TQ_SLOT(checkPDBFiles()));
return;
}
QString fn=(*dociterator);
TQString fn=(*dociterator);
QDir dr(fDOCDir);
QFileInfo fl(dr, fn );
QString docfilename=fl.absFilePath();
QString pdbfilename;
TQString docfilename=fl.absFilePath();
TQString pdbfilename;
dociterator++;
DBInfo dbinfo;
@ -1116,7 +1116,7 @@ void DOCConduit::syncNextDOC() {
fDBNames.append(dbinfo.name);
}
QTimer::singleShot(0, this, SLOT(syncNextDOC()));
QTimer::singleShot(0, this, TQ_SLOT(syncNextDOC()));
return;
}
@ -1129,7 +1129,7 @@ void DOCConduit::checkPDBFiles() {
if (fLocalSync || !fKeepPDBLocally || eSyncDirection==eSyncPCToPDA )
{
// no more databases available, so check for PC->Palm sync
QTimer::singleShot(0, this, SLOT(resolve()));
QTimer::singleShot(0, this, TQ_SLOT(resolve()));
return;
}
@ -1142,20 +1142,20 @@ void DOCConduit::checkPDBFiles() {
if (dociterator==docnames.end()) {
// no more databases available, so start the conflict resolution and then the actual sync proces
docnames.clear();
QTimer::singleShot(0, this, SLOT(resolve()));
QTimer::singleShot(0, this, TQ_SLOT(resolve()));
return;
}
QString fn=(*dociterator);
TQString fn=(*dociterator);
QDir dr(fPDBDir);
QFileInfo fl(dr, fn );
QString pdbfilename=fl.absFilePath();
TQString pdbfilename=fl.absFilePath();
dociterator++;
// Get the doc title and check if it has already been synced (in the synced docs list of in fDBNames to be synced)
// If the doc title doesn't appear in either list, install it to the Handheld, and add it to the list of dbs to be synced.
QString dbname=fl.baseName(TRUE).left(30);
TQString dbname=fl.baseName(TRUE).left(30);
if (!fDBNames.contains(dbname) && !fDBListSynced.contains(dbname)) {
if (fHandle->installFiles(pdbfilename )) {
DBInfo dbinfo;
@ -1174,7 +1174,7 @@ void DOCConduit::checkPDBFiles() {
}
}
QTimer::singleShot(0, this, SLOT(checkPDBFiles()));
QTimer::singleShot(0, this, TQ_SLOT(checkPDBFiles()));
}
\end{verbatim}
}
@ -1221,7 +1221,7 @@ void DOCConduit::resolve() {
if (!dlg || !dlg->exec() ) {
KPILOT_DELETE(dlg)
emit logMessage(i18n("Sync aborted by user."));
QTimer::singleShot(0, this, SLOT(cleanup()));
QTimer::singleShot(0, this, TQ_SLOT(cleanup()));
return;
}
}
@ -1231,7 +1231,7 @@ void DOCConduit::resolve() {
// fDBNames will be filled with the names of the databases that are actually synced (not deleted), so I can write the list to the config file
fDBNames.clear();
fSyncInfoListIterator=fSyncInfoList.begin();
QTimer::singleShot(0,this, SLOT(syncDatabases()));
QTimer::singleShot(0,this, TQ_SLOT(syncDatabases()));
return;
}
\end{verbatim}
@ -1245,7 +1245,7 @@ Finally, the actual sync of the databases is done again with \code{QTimer::singl
void DOCConduit::syncDatabases() {
FUNCTIONSETUP;
if (fSyncInfoListIterator==fSyncInfoList.end()) {
QTimer::singleShot(0, this, SLOT(cleanup()));
QTimer::singleShot(0, this, TQ_SLOT(cleanup()));
return;
}
@ -1272,7 +1272,7 @@ void DOCConduit::syncDatabases() {
}
if (sinfo.direction != eSyncDelete) fDBNames.append(sinfo.handheldDB);
QTimer::singleShot(0,this, SLOT(syncDatabases()));
QTimer::singleShot(0,this, TQ_SLOT(syncDatabases()));
return;
}
\end{verbatim}
@ -1290,7 +1290,7 @@ bool DOCConduit::doSync(docSyncInfo &sinfo) {
if (!QFile::remove(sinfo.docfilename)) {
kdWarning()<<i18n("Unable to delete the text file \"%1\" on the PC").arg(sinfo.docfilename)<<endl;
}
QString bmkfilename = sinfo.docfilename;
TQString bmkfilename = sinfo.docfilename;
if (bmkfilename.endsWith(".txt")){
bmkfilename.remove(bmkfilename.length()-4, 4);
}
@ -1331,8 +1331,8 @@ bool DOCConduit::doSync(docSyncInfo &sinfo) {
if (database && database->isOpen()) {
DOCConverter docconverter;
connect(&docconverter, SIGNAL(logError(const QString &)), SIGNAL(logError(const QString &)));
connect(&docconverter, SIGNAL(logMessage(const QString &)), SIGNAL(logMessage(const QString &)));
connect(&docconverter, TQ_SIGNAL(logError(const TQString &)), TQ_SIGNAL(logError(const TQString &)));
connect(&docconverter, TQ_SIGNAL(logMessage(const TQString &)), TQ_SIGNAL(logMessage(const TQString &)));
docconverter.setDOCpath(fDOCDir, sinfo.docfilename);
docconverter.setPDB(database);
@ -1357,7 +1357,7 @@ bool DOCConduit::doSync(docSyncInfo &sinfo) {
QFile docfile(docconverter.docFilename());
if (docfile.open(IO_ReadOnly)) {
docmd5.update(docfile);
QString thisDigest(docmd5.hexDigest().data());
TQString thisDigest(docmd5.hexDigest().data());
fConfig->writeEntry(docconverter.docFilename(), thisDigest);
fConfig->sync();
DEBUGCONDUIT<<"MD5 Checksum of the text "<<sinfo.docfilename<<" is "<<thisDigest<<endl;
@ -1370,8 +1370,8 @@ bool DOCConduit::doSync(docSyncInfo &sinfo) {
emit logError(i18n("Unable to install the locally created PalmDOC %1 to the handheld.").arg(sinfo.dbinfo.name));
if (!res)
emit logError(i18n("Conversion of PalmDOC \"%1\" failed.").arg(sinfo.dbinfo.name));
// disconnect(&docconverter, SIGNAL(logError(const QString &)), SIGNAL(logError(const QString &)));
// disconnect(&docconverter, SIGNAL(logMessage(const QString &)), SIGNAL(logMessage(const QString &)));
// disconnect(&docconverter, TQ_SIGNAL(logError(const TQString &)), TQ_SIGNAL(logError(const TQString &)));
// disconnect(&docconverter, TQ_SIGNAL(logMessage(const TQString &)), TQ_SIGNAL(logMessage(const TQString &)));
// KPILOT_DELETE(database);
}
else
@ -1632,7 +1632,7 @@ This is also varpoware
> 5) How about responsiveness of the front end? I realized there are no
> QTimer::singleShot to let qt process the queue between syncing two records.
> TQTimer::singleShot to let tqt process the queue between syncing two records.
> Or did I miss something?
currenlty this is true. While we aim for ASYNC the syncing is currently

@ -14,7 +14,7 @@ class TDEAboutData;
class MALConduitFactory : public KLibFactory
{
Q_OBJECT
TQ_OBJECT
public:
MALConduitFactory(TQObject * = 0L,const char * = 0L);

@ -58,7 +58,7 @@ Header Files
============
One thing we *do* need to agree on is how to protect
.h files from double-inclusion. In Qt and KDE there's:
.h files from double-inclusion. In TQt and TDE there's:
#ifndef QTCLASS_H
#ifndef _KDECLASS_H

@ -48,8 +48,7 @@ Current features include:
INSTALLATION
============
KPilot 4.0.0 _REQUIRES_ KDE 2 (http://www.kde.org/) and
v2.2.0 or better of the QT widget set (http://www.troll.no/).
KPilot 4.0.0 _REQUIRES_ TDE and the TQt library
KPilot also _REQUIRES_ pilot-link, which is not distributed with
all the linux distro's out there. You may have to go looking.
@ -60,11 +59,6 @@ all the linux distro's out there. You may have to go looking.
make install
from the kpilot-4.0.0 directory should configure and install KPilot.
If you are using KPanel (the panel that comes with KDE) restarting it
should insert an icon into the Utilities submenu. If you are not using
KPanel, the executable is named kpilot and will be installed in either
/opt/kde/bin/ or /usr/local/kde/bin (whichever is appropriate for your
system).
In some cases KPilot will not compile due to configuration
differences; in this case a less simple
@ -79,14 +73,12 @@ should do the trick. If this fails as well, you can subscribe to the
KPilot mailing list and state the nature of the failure there.
*NOTE* that KPilot makes assumptions about where pilot-link and
the Qt libraries are; in particular it is important to set TQTDIR correctly
(to the Qt 1.44 directories) when compiling KPilot. On many systems the
command to do this will be
the TQt libraries are; in particular it is important to set TQTDIR correctly
when compiling KPilot. On many systems the command to do this will be
export TQTDIR=/usr/lib/qt-2*
export TQTDIR=/usr/lib/tqt
but your mileage may vary. RedHat 6.2 systems ship with Qt 1.45 and Qt 2.1,
in which case it is doubly important to set TQTDIR properly.
but your mileage may vary.
USING THE SOFTWARE
==================

@ -14,7 +14,7 @@ with the handheld.
The lib/ directory holds the base library for KPilot.
This boils down to a bunch of wrappers for pilot-link
classes (not using p-l's C++ code because that isn't
Qt-ish) and a few classes that do interesting things:
TQt-ish) and a few classes that do interesting things:
KPilotDeviceLink for managing the device connection,
and SyncAction for doing stuff during a sync.

@ -141,7 +141,7 @@ FINISHED TODO jobs
RESOLUTION: Implemented the InternalEditorAction that syncs these modifications
+(19a)Implement the internal editor sync
+(19a)When syncing, also backup the databases (if option is set)
+(19b)Add all codecs that are supported by Qt, automatically fill the
+(19b)Add all codecs that are supported by TQt, automatically fill the
combobox in the config dialog. Change the combobox to an editable
Combobox so that the user can also give other encodings (if he
installed the corresponding plugins).

@ -530,7 +530,7 @@ void AbbrowserConduit::showAddresses(
if ( syncMode().isTest() )
{
TQTimer::singleShot(0, this, TQT_SLOT(slotTestRecord()));
TQTimer::singleShot(0, this, TQ_SLOT(slotTestRecord()));
return true;
}
@ -580,7 +580,7 @@ void AbbrowserConduit::showAddresses(
for this, and no longer purge the whole addressbook before the sync to
prevent data loss in case of connection loss. */
TQTimer::singleShot(0, this, TQT_SLOT(slotPalmRecToPC()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPalmRecToPC()));
return true;
}
@ -596,7 +596,7 @@ void AbbrowserConduit::slotPalmRecToPC()
{
DEBUGKPILOT << fname << ": Done; change to PCtoHH phase." << endl;
abiter = aBook->begin();
TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm()));
return;
}
@ -614,7 +614,7 @@ void AbbrowserConduit::slotPalmRecToPC()
if(!palmRec)
{
abiter = aBook->begin();
TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm()));
return;
}
@ -622,7 +622,7 @@ void AbbrowserConduit::slotPalmRecToPC()
if(syncedIds.contains(palmRec->id()))
{
KPILOT_DELETE(palmRec);
TQTimer::singleShot(0, this, TQT_SLOT(slotPalmRecToPC()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPalmRecToPC()));
return;
}
@ -650,7 +650,7 @@ void AbbrowserConduit::slotPalmRecToPC()
KPILOT_DELETE(palmRec);
KPILOT_DELETE(backupRec);
TQTimer::singleShot(0, this, TQT_SLOT(slotPalmRecToPC()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPalmRecToPC()));
}
@ -664,7 +664,7 @@ void AbbrowserConduit::slotPCRecToPalm()
{
DEBUGKPILOT << fname << ": Done; change to delete records." << endl;
pilotindex = 0;
TQTimer::singleShot(0, this, TQT_SLOT(slotDeletedRecord()));
TQTimer::singleShot(0, this, TQ_SLOT(slotDeletedRecord()));
return;
}
@ -678,7 +678,7 @@ void AbbrowserConduit::slotPCRecToPalm()
{
DEBUGKPILOT << fname << ": address with id " << ad.uid() <<
" marked archived, so don't sync." << endl;
TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm()));
return;
}
@ -691,7 +691,7 @@ void AbbrowserConduit::slotPCRecToPalm()
DEBUGKPILOT << fname << ": This is a new record." << endl;
// it's a new item(no record ID and not inserted by the Palm -> PC sync), so add it
syncAddressee(ad, 0L, 0L);
TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm()));
return;
}
@ -699,7 +699,7 @@ void AbbrowserConduit::slotPCRecToPalm()
if (syncedIds.contains(rid))
{
DEBUGKPILOT << ": address with id " << rid << " already synced." << endl;
TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm()));
return;
}
@ -742,7 +742,7 @@ void AbbrowserConduit::slotPCRecToPalm()
syncedIds.append(rid);
// done with the sync process, go on with the next one:
TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm()));
}
@ -755,7 +755,7 @@ void AbbrowserConduit::slotDeletedRecord()
if(!backupRec || isFirstSync() )
{
KPILOT_DELETE(backupRec);
TQTimer::singleShot(0, this, TQT_SLOT(slotDeleteUnsyncedPCRecords()));
TQTimer::singleShot(0, this, TQ_SLOT(slotDeleteUnsyncedPCRecords()));
return;
}
@ -796,7 +796,7 @@ void AbbrowserConduit::slotDeletedRecord()
KPILOT_DELETE(palmRec);
KPILOT_DELETE(backupAddr);
KPILOT_DELETE(backupRec);
TQTimer::singleShot(0, this, TQT_SLOT(slotDeletedRecord()));
TQTimer::singleShot(0, this, TQ_SLOT(slotDeletedRecord()));
}
@ -829,7 +829,7 @@ void AbbrowserConduit::slotDeleteUnsyncedPCRecords()
}
}
}
TQTimer::singleShot(0, this, TQT_SLOT(slotDeleteUnsyncedHHRecords()));
TQTimer::singleShot(0, this, TQ_SLOT(slotDeleteUnsyncedHHRecords()));
}
@ -852,7 +852,7 @@ void AbbrowserConduit::slotDeleteUnsyncedHHRecords()
}
}
}
TQTimer::singleShot(0, this, TQT_SLOT(slotCleanup()));
TQTimer::singleShot(0, this, TQ_SLOT(slotCleanup()));
}
@ -1893,5 +1893,5 @@ void AbbrowserConduit::slotTestRecord()
// Schedule more work.
++pilotindex;
TQTimer::singleShot(0, this, TQT_SLOT(slotTestRecord()));
TQTimer::singleShot(0, this, TQ_SLOT(slotTestRecord()));
}

@ -53,7 +53,7 @@ typedef TQValueList<recordid_t> RecordIDList;
class AbbrowserConduit : public ConduitAction
{
Q_OBJECT
TQ_OBJECT
public:
AbbrowserConduit(KPilotLink *o,const char *n = 0L,

@ -73,20 +73,20 @@ AbbrowserWidgetSetup::AbbrowserWidgetSetup(TQWidget *w, const char *n) :
ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,fAbout);
fWidget=fConfigWidget;
fConfigWidget->fAbookFile->setMode(KFile::File);
#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified()));
CM(fSyncDestination,TQT_SIGNAL(clicked(int)));
CM(fAbookFile,TQT_SIGNAL(textChanged(const TQString &)));
CM(fArchive,TQT_SIGNAL(toggled(bool)));
CM(fConflictResolution,TQT_SIGNAL(activated(int)));
CM(fOtherPhone,TQT_SIGNAL(activated(int)));
CM(fAddress,TQT_SIGNAL(activated(int)));
CM(fFax,TQT_SIGNAL(activated(int)));
CM(fCustom0,TQT_SIGNAL(activated(int)));
CM(fCustom1,TQT_SIGNAL(activated(int)));
CM(fCustom2,TQT_SIGNAL(activated(int)));
CM(fCustom3,TQT_SIGNAL(activated(int)));
CM(fCustomDate, TQT_SIGNAL(activated(int)));
CM(fCustomDate, TQT_SIGNAL(textChanged(const TQString&)));
#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified()));
CM(fSyncDestination,TQ_SIGNAL(clicked(int)));
CM(fAbookFile,TQ_SIGNAL(textChanged(const TQString &)));
CM(fArchive,TQ_SIGNAL(toggled(bool)));
CM(fConflictResolution,TQ_SIGNAL(activated(int)));
CM(fOtherPhone,TQ_SIGNAL(activated(int)));
CM(fAddress,TQ_SIGNAL(activated(int)));
CM(fFax,TQ_SIGNAL(activated(int)));
CM(fCustom0,TQ_SIGNAL(activated(int)));
CM(fCustom1,TQ_SIGNAL(activated(int)));
CM(fCustom2,TQ_SIGNAL(activated(int)));
CM(fCustom3,TQ_SIGNAL(activated(int)));
CM(fCustomDate, TQ_SIGNAL(activated(int)));
CM(fCustomDate, TQ_SIGNAL(textChanged(const TQString&)));
#undef CM
}

@ -193,16 +193,16 @@ ResolutionDlg::ResolutionDlg( TQWidget* parent, KPilotLink*fH,
if (tickleTimer)
{
connect( tickleTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(_tickle()));
connect( tickleTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(_tickle()));
// tickle the palm every 10 seconds to prevent a timeout until the
// sync is really finished.
tickleTimer->start( 10000 );
}
connect(fWidget->fKeepBoth, TQT_SIGNAL(clicked()), TQT_SLOT(slotKeepBoth()));
connect(fWidget->fBackupValues, TQT_SIGNAL(clicked()), TQT_SLOT(slotUseBackup()));
connect(fWidget->fPalmValues, TQT_SIGNAL(clicked()), TQT_SLOT(slotUsePalm()));
connect(fWidget->fPCValues, TQT_SIGNAL(clicked()), TQT_SLOT(slotUsePC()));
connect(fWidget->fKeepBoth, TQ_SIGNAL(clicked()), TQ_SLOT(slotKeepBoth()));
connect(fWidget->fBackupValues, TQ_SIGNAL(clicked()), TQ_SLOT(slotUseBackup()));
connect(fWidget->fPalmValues, TQ_SIGNAL(clicked()), TQ_SLOT(slotUsePalm()));
connect(fWidget->fPCValues, TQ_SIGNAL(clicked()), TQ_SLOT(slotUsePC()));
}
void ResolutionDlg::adjustButtons(ResolutionTable*tab)

@ -39,7 +39,7 @@ class ResolutionTable;
class ResolutionDlg : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:

@ -104,7 +104,7 @@ class docRegExpBookmark:public docMatchBookmark {
*************************************************************************************************************/
class DOCConverter:public TQObject {
Q_OBJECT
TQ_OBJECT
private:
PilotDatabase * docdb;

@ -24,7 +24,7 @@ RegExps, while the PalmDoc conduit uses the QRegExp, which have
some slight differences (especially concerning the ^ and $
patterns as well as backreferences). So if you used MakeDocJ,
the .bmk file syntax will be quite familiar, but you will still
have to adapt your bookmark files for Qt regular expressions
have to adapt your bookmark files for TQt regular expressions
instead of Java regular expressions

@ -163,7 +163,7 @@ bool DOCConduit::pcTextChanged(TQString txtfn)
KMD5 docmd5;
TQFile txtfile(txtfn);
if (txtfile.open(IO_ReadOnly)){
docmd5.update(*TQT_TQIODEVICE(&txtfile));
docmd5.update(txtfile);
TQString thisDigest(docmd5.hexDigest() /* .data() */);
#ifdef DEBUG
DEBUGKPILOT<<"New digest is "<<thisDigest<<endl;
@ -271,7 +271,7 @@ TQString DOCConduit::constructTXTFileName(TQString name) {
emit logMessage(i18n("Searching for texts and databases to synchronize"));
TQTimer::singleShot(0, this, TQT_SLOT(syncNextDB()));
TQTimer::singleShot(0, this, TQ_SLOT(syncNextDB()));
return true;
}
@ -336,8 +336,8 @@ bool DOCConduit::doSync(docSyncInfo &sinfo)
if (database && database->isOpen()) {
DOCConverter docconverter;
connect(&docconverter, TQT_SIGNAL(logError(const TQString &)), TQT_SIGNAL(logError(const TQString &)));
connect(&docconverter, TQT_SIGNAL(logMessage(const TQString &)), TQT_SIGNAL(logMessage(const TQString &)));
connect(&docconverter, TQ_SIGNAL(logError(const TQString &)), TQ_SIGNAL(logError(const TQString &)));
connect(&docconverter, TQ_SIGNAL(logMessage(const TQString &)), TQ_SIGNAL(logMessage(const TQString &)));
docconverter.setTXTpath( DOCConduitSettings::tXTDirectory(), sinfo.txtfilename );
docconverter.setPDB(database);
@ -362,7 +362,7 @@ bool DOCConduit::doSync(docSyncInfo &sinfo)
KMD5 docmd5;
TQFile txtfile(docconverter.txtFilename());
if (txtfile.open(IO_ReadOnly)) {
docmd5.update(*TQT_TQIODEVICE(&txtfile));
docmd5.update(txtfile);
TQString thisDigest(docmd5.hexDigest() /* .data() */);
DOCConduitSettings::self()->config()->writeEntry(docconverter.txtFilename(), thisDigest);
DOCConduitSettings::self()->config()->sync();
@ -382,8 +382,8 @@ bool DOCConduit::doSync(docSyncInfo &sinfo)
if (!res)
emit logError(i18n("Conversion of PalmDOC \"%1\" failed.")
.arg(TQString::fromLatin1(sinfo.dbinfo.name)));
// disconnect(&docconverter, TQT_SIGNAL(logError(const TQString &)), TQT_SIGNAL(logError(const TQString &)));
// disconnect(&docconverter, TQT_SIGNAL(logMessage(const TQString &)), TQT_SIGNAL(logMessage(const TQString &)));
// disconnect(&docconverter, TQ_SIGNAL(logError(const TQString &)), TQ_SIGNAL(logError(const TQString &)));
// disconnect(&docconverter, TQ_SIGNAL(logMessage(const TQString &)), TQ_SIGNAL(logMessage(const TQString &)));
// KPILOT_DELETE(database);
}
else
@ -404,7 +404,7 @@ void DOCConduit::syncNextDB() {
if (eSyncDirection==eSyncPCToPDA || fHandle->findDatabase(NULL, &dbinfo, dbnr, dbtype(), dbcreator() /*, cardno */ ) < 0)
{
// no more databases available, so check for PC->Palm sync
TQTimer::singleShot(0, this, TQT_SLOT(syncNextTXT()));
TQTimer::singleShot(0, this, TQ_SLOT(syncNextTXT()));
return;
}
dbnr=dbinfo.index+1;
@ -416,7 +416,7 @@ void DOCConduit::syncNextDB() {
if (!isCorrectDBTypeCreator(dbinfo) ||
fDBNames.contains(TQString::fromLatin1(dbinfo.name)))
{
TQTimer::singleShot(0, this, TQT_SLOT(syncNextDB()));
TQTimer::singleShot(0, this, TQ_SLOT(syncNextDB()));
return;
}
@ -430,7 +430,7 @@ void DOCConduit::syncNextDB() {
fSyncInfoList.append(syncInfo);
fDBNames.append(TQString::fromLatin1(dbinfo.name));
TQTimer::singleShot(0, this, TQT_SLOT(syncNextDB()));
TQTimer::singleShot(0, this, TQ_SLOT(syncNextDB()));
return;
}
@ -444,7 +444,7 @@ void DOCConduit::syncNextTXT()
{
// We don't sync from PC to PDB, so start the conflict resolution and then the actual sync process
docnames.clear();
TQTimer::singleShot(0, this, TQT_SLOT(checkPDBFiles()));
TQTimer::singleShot(0, this, TQ_SLOT(checkPDBFiles()));
return;
}
@ -456,7 +456,7 @@ void DOCConduit::syncNextTXT()
if (dociterator==docnames.end()) {
// no more databases available, so start the conflict resolution and then the actual sync proces
docnames.clear();
TQTimer::singleShot(0, this, TQT_SLOT(checkPDBFiles()));
TQTimer::singleShot(0, this, TQ_SLOT(checkPDBFiles()));
return;
}
@ -488,7 +488,7 @@ void DOCConduit::syncNextTXT()
#endif
}
TQTimer::singleShot(0, this, TQT_SLOT(syncNextTXT()));
TQTimer::singleShot(0, this, TQ_SLOT(syncNextTXT()));
return;
}
@ -502,7 +502,7 @@ void DOCConduit::checkPDBFiles() {
if ( DOCConduitSettings::localSync() || !DOCConduitSettings::keepPDBsLocally() || eSyncDirection==eSyncPCToPDA )
{
// no more databases available, so check for PC->Palm sync
TQTimer::singleShot(0, this, TQT_SLOT(checkDeletedDocs()));
TQTimer::singleShot(0, this, TQ_SLOT(checkDeletedDocs()));
return;
}
@ -515,7 +515,7 @@ void DOCConduit::checkPDBFiles() {
if (dociterator==docnames.end()) {
// no more databases available, so start the conflict resolution and then the actual sync proces
docnames.clear();
TQTimer::singleShot(0, this, TQT_SLOT(checkDeletedDocs()));
TQTimer::singleShot(0, this, TQ_SLOT(checkDeletedDocs()));
return;
}
@ -549,7 +549,7 @@ void DOCConduit::checkPDBFiles() {
}
}
TQTimer::singleShot(0, this, TQT_SLOT(checkPDBFiles()));
TQTimer::singleShot(0, this, TQ_SLOT(checkPDBFiles()));
}
@ -574,7 +574,7 @@ void DOCConduit::checkDeletedDocs()
fSyncInfoList.append(syncInfo);
}
}
TQTimer::singleShot(0, this, TQT_SLOT(resolve()));
TQTimer::singleShot(0, this, TQ_SLOT(resolve()));
return;
}
@ -628,7 +628,7 @@ void DOCConduit::resolve() {
if (!dlg || !dlg->exec() ) {
KPILOT_DELETE(dlg)
emit logMessage(i18n("Sync aborted by user."));
TQTimer::singleShot(0, this, TQT_SLOT(cleanup()));
TQTimer::singleShot(0, this, TQ_SLOT(cleanup()));
return;
}
}
@ -638,7 +638,7 @@ void DOCConduit::resolve() {
// fDBNames will be filled with the names of the databases that are actually synced (not deleted), so I can write the list to the config file
fDBNames.clear();
fSyncInfoListIterator=fSyncInfoList.begin();
TQTimer::singleShot(0,this, TQT_SLOT(syncDatabases()));
TQTimer::singleShot(0,this, TQ_SLOT(syncDatabases()));
return;
}
@ -648,7 +648,7 @@ void DOCConduit::syncDatabases() {
FUNCTIONSETUP;
if (fSyncInfoListIterator==fSyncInfoList.end()) {
// We're done, so clean up
TQTimer::singleShot(0, this, TQT_SLOT(cleanup()));
TQTimer::singleShot(0, this, TQ_SLOT(cleanup()));
return;
}
@ -679,7 +679,7 @@ void DOCConduit::syncDatabases() {
}
if (sinfo.direction != eSyncDelete) fDBNames.append(sinfo.handheldDB);
TQTimer::singleShot(0,this, TQT_SLOT(syncDatabases()));
TQTimer::singleShot(0,this, TQ_SLOT(syncDatabases()));
return;
}

@ -55,7 +55,7 @@ enum eTexStatus {
TQString dirToString(eSyncDirectionEnum dir);
class DOCConduit:public ConduitAction {
Q_OBJECT
TQ_OBJECT
public:
eSyncDirectionEnum eSyncDirection;

@ -75,7 +75,7 @@ ResolutionDialog::ResolutionDialog( TQWidget* parent, const TQString& caption, s
// Invisible button group for the information buttons to use the same slot for all of them (see Dallheimer's book, page 309f)
TQButtonGroup *bgroup = new TQButtonGroup( this );
bgroup->hide();
TQObject::connect(bgroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotInfo(int)));
TQObject::connect(bgroup, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotInfo(int)));
if (syncInfo) {
DEBUGKPILOT<<"Adding resolution options for the databases "<<endl;
@ -127,7 +127,7 @@ ResolutionDialog::ResolutionDialog( TQWidget* parent, const TQString& caption, s
if (fHandle) tickleTimer=new TQTimer(this, "TickleTimer");
if (tickleTimer) {
connect( tickleTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(_tickle()) );
connect( tickleTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(_tickle()) );
tickleTimer->start( 10000 ); // tickle the palm every 10 seconds to prevent a timeout until the sync is really finished.
}

@ -53,7 +53,7 @@ struct conflictEntry {
class ResolutionDialog : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:

@ -37,7 +37,7 @@ class TDEAboutData;
class DOCConduitFactory:public KLibFactory
{
Q_OBJECT
TQ_OBJECT
public:
@ -57,7 +57,7 @@ public:
protected:
virtual TQObject * createObject(TQObject * parent = 0,
const char *name = 0,
const char *classname = TQOBJECT_OBJECT_NAME_STRING,
const char *classname = "TQObject",
const TQStringList & args = TQStringList());
private:

@ -63,7 +63,7 @@ DOCWidgetConfig::DOCWidgetConfig(TQWidget * w, const char *n):
fConduitName=i18n("Palm DOC");
#define CMOD(a,b) connect(fConfigWidget->a,TQT_SIGNAL(b),this,TQT_SLOT(modified()))
#define CMOD(a,b) connect(fConfigWidget->a,TQ_SIGNAL(b),this,TQ_SLOT(modified()))
CMOD(fTXTDir,textChanged(const TQString &));
CMOD(fPDBDir,textChanged(const TQString &));
CMOD(fkeepPDBLocally,clicked());

@ -70,10 +70,10 @@ ConverterDlg::ConverterDlg( TQWidget *parent, const TQString& caption)
readSettings();
connect(dlg->fDirectories, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(slotDirectories(bool)));
connect(dlg->fTextToPDB, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotToPDB()));
connect(dlg->fPDBToText, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotToText()));
connect(dlg->fDirectories, TQ_SIGNAL(toggled(bool)),
this, TQ_SLOT(slotDirectories(bool)));
connect(dlg->fTextToPDB, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotToPDB()));
connect(dlg->fPDBToText, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotToText()));
resize(minimumSize());
}

@ -34,7 +34,7 @@ class DOCConverter;
class ConverterDlg : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:

@ -239,7 +239,7 @@ KNotesAction::KNotesAction(KPilotLink *o,
// this is not needed. As it is done in the initstate in process();
// resetIndexes();
connect(fP->fTimer,TQT_SIGNAL(timeout()),TQT_SLOT(process()));
connect(fP->fTimer,TQ_SIGNAL(timeout()),TQ_SLOT(process()));
fP->fTimer->start(0,false);
return true;

@ -36,7 +36,7 @@ class PilotMemo;
class KNotesAction : public ConduitAction
{
Q_OBJECT
TQ_OBJECT
public:
KNotesAction(

@ -36,7 +36,7 @@ class TDEAboutData;
class KNotesConduitFactory : public KLibFactory
{
Q_OBJECT
TQ_OBJECT
public:
@ -53,7 +53,7 @@ public:
protected:
virtual TQObject* createObject( TQObject* parent = 0,
const char* name = 0,
const char* classname = TQOBJECT_OBJECT_NAME_STRING,
const char* classname = "TQObject",
const TQStringList &args = TQStringList() );
private:
TDEInstance *fInstance;

@ -50,12 +50,12 @@ KNotesConfigBase::KNotesConfigBase(TQWidget *w, const char *n) :
fConfigWidget = new KNotesWidget(w);
ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,KNotesConduitFactory::about());
fWidget = fConfigWidget;
TQObject::connect(fConfigWidget->fDeleteNoteForMemo,TQT_SIGNAL(clicked()),
this,TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fSuppressConfirm,TQT_SIGNAL(clicked()),
this,TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fDeleteNoteForMemo,TQT_SIGNAL(toggled(bool)),
fConfigWidget->fSuppressConfirm,TQT_SLOT(setEnabled(bool)));
TQObject::connect(fConfigWidget->fDeleteNoteForMemo,TQ_SIGNAL(clicked()),
this,TQ_SLOT(modified()));
TQObject::connect(fConfigWidget->fSuppressConfirm,TQ_SIGNAL(clicked()),
this,TQ_SLOT(modified()));
TQObject::connect(fConfigWidget->fDeleteNoteForMemo,TQ_SIGNAL(toggled(bool)),
fConfigWidget->fSuppressConfirm,TQ_SLOT(setEnabled(bool)));
fConduitName=i18n("KNotes");
}

@ -37,7 +37,7 @@
class MALConduit : public ConduitAction
{
Q_OBJECT
TQ_OBJECT
public:
MALConduit(

@ -39,7 +39,7 @@ class TDEAboutData;
class MALConduitFactory : public KLibFactory
{
Q_OBJECT
TQ_OBJECT
public:
@ -51,7 +51,7 @@ public:
protected:
virtual TQObject* createObject( TQObject* parent = 0,
const char* name = 0,
const char* classname = TQOBJECT_OBJECT_NAME_STRING,
const char* classname = "TQObject",
const TQStringList &args = TQStringList() );
private:
TDEInstance *fInstance;

@ -65,21 +65,21 @@ MALWidgetSetup::MALWidgetSetup(TQWidget *w, const char *n) :
fConfigWidget->tabWidget->adjustSize();
fConfigWidget->resize(fConfigWidget->tabWidget->size());
#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified()));
CM( syncTime, TQT_SIGNAL(clicked(int)) );
CM( proxyType, TQT_SIGNAL(clicked(int)) );
CM( proxyServerName, TQT_SIGNAL(textChanged(const TQString &)) );
CM( proxyCustomPortCheck, TQT_SIGNAL(clicked()) );
CM( proxyCustomPort, TQT_SIGNAL(valueChanged(int)) );
CM( proxyUserName, TQT_SIGNAL(textChanged(const TQString &)) );
CM( proxyPassword, TQT_SIGNAL(textChanged(const TQString &)) );
CM( malServerName, TQT_SIGNAL(textChanged(const TQString &)) );
CM( malCustomPortCheck, TQT_SIGNAL(clicked()) );
CM( malCustomPort, TQT_SIGNAL(valueChanged(int)) );
CM( malUserName, TQT_SIGNAL(textChanged(const TQString &)) );
CM( malPassword, TQT_SIGNAL(textChanged(const TQString &)) );
#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified()));
CM( syncTime, TQ_SIGNAL(clicked(int)) );
CM( proxyType, TQ_SIGNAL(clicked(int)) );
CM( proxyServerName, TQ_SIGNAL(textChanged(const TQString &)) );
CM( proxyCustomPortCheck, TQ_SIGNAL(clicked()) );
CM( proxyCustomPort, TQ_SIGNAL(valueChanged(int)) );
CM( proxyUserName, TQ_SIGNAL(textChanged(const TQString &)) );
CM( proxyPassword, TQ_SIGNAL(textChanged(const TQString &)) );
CM( malServerName, TQ_SIGNAL(textChanged(const TQString &)) );
CM( malCustomPortCheck, TQ_SIGNAL(clicked()) );
CM( malCustomPort, TQ_SIGNAL(valueChanged(int)) );
CM( malUserName, TQ_SIGNAL(textChanged(const TQString &)) );
CM( malPassword, TQ_SIGNAL(textChanged(const TQString &)) );
#undef CM
}

@ -39,7 +39,7 @@ class MALWidget;
class MALWidgetSetup : public ConduitConfigBase
{
Q_OBJECT
TQ_OBJECT
public:
MALWidgetSetup(TQWidget *,const char *);

@ -36,7 +36,7 @@ class PilotMemo;
class MemofileConduit : public ConduitAction
{
Q_OBJECT
TQ_OBJECT
public:
MemofileConduit(KPilotLink *,

@ -72,10 +72,10 @@ MemofileConduitConfig::MemofileConduitConfig(TQWidget *p, const char *n) :
ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,about);
fWidget=fConfigWidget;
TQObject::connect(fConfigWidget->fDirectory,TQT_SIGNAL(textChanged(const TQString&)),
this,TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fSyncPrivate,TQT_SIGNAL(toggled(bool)),
this,TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fDirectory,TQ_SIGNAL(textChanged(const TQString&)),
this,TQ_SLOT(modified()));
TQObject::connect(fConfigWidget->fSyncPrivate,TQ_SIGNAL(toggled(bool)),
this,TQ_SLOT(modified()));
}

@ -34,7 +34,7 @@
<UML:Operation visibility="protected" xmi.id="28" type="void" name="process" />
<UML:Operation visibility="private" xmi.id="43" type="bool" name="readConfig" />
<UML:Operation visibility="private" xmi.id="44" type="void" name="getAppInfo" />
<UML:Operation visibility="private" xmi.id="45" type=TQSTRING_OBJECT_NAME_STRING name="getCategoryName" >
<UML:Operation visibility="private" xmi.id="45" type="TQString" name="getCategoryName" >
<UML:Parameter visibility="public" xmi.id="46" value="" type="int" name="category" />
</UML:Operation>
<UML:Operation visibility="private" xmi.id="47" type="bool" name="initializeFromPilot" />
@ -43,7 +43,7 @@
<UML:Operation visibility="private" xmi.id="50" type="bool" name="initializeFromFilesystem" />
<UML:Operation visibility="private" xmi.id="51" type="bool" name="initializeMemofileList" />
<UML:Operation visibility="private" xmi.id="52" type="bool" name="checkDirectory" >
<UML:Parameter visibility="public" xmi.id="53" value="" type=TQSTRING_OBJECT_NAME_STRING name="dir" />
<UML:Parameter visibility="public" xmi.id="53" value="" type="TQString" name="dir" />
</UML:Operation>
<UML:Operation visibility="private" xmi.id="54" type="bool" name="ensureFilesystemReady" />
<UML:Operation visibility="private" xmi.id="55" type="bool" name="copyHHToPC" />
@ -51,11 +51,11 @@
<UML:Operation visibility="private" xmi.id="57" type="bool" name="saveMemoInfoToFilesystem" />
<UML:Operation visibility="private" xmi.id="58" type="bool" name="saveMemosToFilesystem" />
<UML:Operation visibility="private" xmi.id="59" type="bool" name="saveAsText" >
<UML:Parameter visibility="public" xmi.id="60" value="" type="const QString&amp;" name="fileName" />
<UML:Parameter visibility="public" xmi.id="60" value="" type="const TQString&amp;" name="fileName" />
<UML:Parameter visibility="public" xmi.id="61" value="" type="Memofile*" name="theMemo" />
</UML:Operation>
<UML:Attribute visibility="private" xmi.id="29" value="" type=TQSTRING_OBJECT_NAME_STRING name="_DEFAULT_MEMODIR" />
<UML:Attribute visibility="private" xmi.id="30" value="" type=TQSTRING_OBJECT_NAME_STRING name="_memo_directory" />
<UML:Attribute visibility="private" xmi.id="29" value="" type="TQString" name="_DEFAULT_MEMODIR" />
<UML:Attribute visibility="private" xmi.id="30" value="" type="TQString" name="_memo_directory" />
<UML:Attribute visibility="private" xmi.id="31" value="" type="bool" name="_sync_private" />
<UML:Attribute visibility="private" xmi.id="32" value="" type="QPtrList&lt; PilotMemo >" name="fMemoList" />
<UML:Attribute visibility="private" xmi.id="33" value="" type="struct MemoAppInfo" name="fMemoAppInfo" />
@ -79,7 +79,7 @@
<UML:Class visibility="public" xmi.id="63" name="Memofiles" >
<UML:Operation visibility="public" xmi.id="80" type="Memofiles" name="Memofiles" >
<UML:Parameter visibility="public" xmi.id="81" value="" type="QMap" name="categories" />
<UML:Parameter visibility="public" xmi.id="82" value="" type=TQSTRING_OBJECT_NAME_STRING name="baseDirectory" />
<UML:Parameter visibility="public" xmi.id="82" value="" type="TQString" name="baseDirectory" />
</UML:Operation>
<UML:Operation visibility="public" xmi.id="87" type="void" name="load" >
<UML:Parameter visibility="public" xmi.id="88" value="" type="bool" name="loadAll" />
@ -93,38 +93,38 @@
<UML:Operation visibility="private" xmi.id="97" type="void" name="ensureDirectoryReady" />
<UML:Operation visibility="public" xmi.id="98" type="void" name="loadIds" />
<UML:Operation visibility="public" xmi.id="99" type="Memofile" name="find" >
<UML:Parameter visibility="public" xmi.id="100" value="" type=TQSTRING_OBJECT_NAME_STRING name="category" />
<UML:Parameter visibility="public" xmi.id="101" value="" type=TQSTRING_OBJECT_NAME_STRING name="filename" />
<UML:Parameter visibility="public" xmi.id="100" value="" type="TQString" name="category" />
<UML:Parameter visibility="public" xmi.id="101" value="" type="TQString" name="filename" />
</UML:Operation>
<UML:Operation visibility="public" xmi.id="102" type="void" name="addModified" >
<UML:Parameter visibility="public" xmi.id="103" value="" type="PilotMemo *" name="memo" />
</UML:Operation>
<UML:Operation visibility="public" xmi.id="104" type="QPtrList&lt;Memofile>" name="getModified" />
<UML:Attribute visibility="private" xmi.id="83" value="" type="QMap" name="_categories" />
<UML:Attribute visibility="private" xmi.id="85" value="" type=TQSTRING_OBJECT_NAME_STRING name="_baseDirectory" />
<UML:Attribute visibility="private" xmi.id="85" value="" type="TQString" name="_baseDirectory" />
<UML:Attribute visibility="private" xmi.id="93" value="" type="QPtrList&lt;Memofile>" name="_memofiles" />
</UML:Class>
<UML:Class visibility="public" xmi.id="64" name="Memofile" >
<UML:Operation visibility="public" xmi.id="65" type="" name="Memofile" >
<UML:Parameter visibility="public" xmi.id="66" value="" type="PilotMemo*" name="memo" />
<UML:Parameter visibility="public" xmi.id="67" value="" type=TQSTRING_OBJECT_NAME_STRING name="categoryName" />
<UML:Parameter visibility="public" xmi.id="67" value="" type="TQString" name="categoryName" />
</UML:Operation>
<UML:Operation visibility="public" xmi.id="68" type="" name="Memofile" >
<UML:Parameter visibility="public" xmi.id="69" value="" type="recordid_t" name="id" />
<UML:Parameter visibility="public" xmi.id="70" value="" type="int" name="category" />
<UML:Parameter visibility="public" xmi.id="71" value="" type=TQSTRING_OBJECT_NAME_STRING name="categoryName" />
<UML:Parameter visibility="public" xmi.id="71" value="" type="TQString" name="categoryName" />
<UML:Parameter visibility="public" xmi.id="72" value="" type="uint" name="lastModifiedTime" />
<UML:Parameter visibility="public" xmi.id="73" value="" type=TQSTRING_OBJECT_NAME_STRING name="filename" />
<UML:Parameter visibility="public" xmi.id="74" value="" type=TQSTRING_OBJECT_NAME_STRING name="text" />
<UML:Parameter visibility="public" xmi.id="73" value="" type="TQString" name="filename" />
<UML:Parameter visibility="public" xmi.id="74" value="" type="TQString" name="text" />
</UML:Operation>
<UML:Operation visibility="public" xmi.id="75" type="uint" name="lastModified" />
<UML:Operation visibility="public" xmi.id="76" type=TQSTRING_OBJECT_NAME_STRING name="filename" />
<UML:Operation visibility="public" xmi.id="76" type="TQString" name="filename" />
<UML:Attribute visibility="private" xmi.id="77" value="" type="uint" name="_lastModified" />
<UML:Attribute visibility="private" xmi.id="78" value="" type=TQSTRING_OBJECT_NAME_STRING name="_categoryName" />
<UML:Attribute visibility="private" xmi.id="79" value="" type=TQSTRING_OBJECT_NAME_STRING name="_filename" />
<UML:Attribute visibility="private" xmi.id="78" value="" type="TQString" name="_categoryName" />
<UML:Attribute visibility="private" xmi.id="79" value="" type="TQString" name="_filename" />
</UML:Class>
<UML:DataType stereotype="3" visibility="public" xmi.id="84" name="QMap" />
<UML:DataType stereotype="3" visibility="public" xmi.id="86" name=TQSTRING_OBJECT_NAME_STRING />
<UML:DataType stereotype="3" visibility="public" xmi.id="86" name="TQString" />
<UML:DataType stereotype="3" visibility="public" xmi.id="94" name="QPtrList&lt;Memofile>" />
<UML:Association visibility="public" xmi.id="36" >
<UML:Association.connection>

@ -89,8 +89,8 @@ NotepadConduitConfig::NotepadConduitConfig(TQWidget *p, const char *n) :
fConduitName = i18n("Notepad");
ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget, createAbout());
fWidget=fConfigWidget;
TQObject::connect(fConfigWidget->fOutputDirectory, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fOutputDirectory, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SLOT(modified()));
fConfigWidget->fOutputDirectory->setMode(KFile::Directory |
KFile::LocalOnly);
}

@ -74,8 +74,8 @@ NullConduitConfig::NullConduitConfig(TQWidget *p, const char *n) :
ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,fAbout);
fWidget=fConfigWidget;
TQObject::connect(fConfigWidget->fLogMessage,TQT_SIGNAL(textChanged(const TQString&)),
this,TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fLogMessage,TQ_SIGNAL(textChanged(const TQString&)),
this,TQ_SLOT(modified()));
}
/* virtual */ void NullConduitConfig::commit()

@ -86,14 +86,14 @@ PopMailWidgetConfig::PopMailWidgetConfig(TQWidget *p,const char *n) :
ConduitConfigBase::addAboutPage(fConfigWidget->fTabWidget,fAbout);
fWidget=fConfigWidget;
#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified()));
CM(fSendMode,TQT_SIGNAL(activated(int)));
CM(fEmailFrom,TQT_SIGNAL(textChanged(const TQString &)));
CM(fSignature,TQT_SIGNAL(textChanged(const TQString &)));
#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified()));
CM(fSendMode,TQ_SIGNAL(activated(int)));
CM(fEmailFrom,TQ_SIGNAL(textChanged(const TQString &)));
CM(fSignature,TQ_SIGNAL(textChanged(const TQString &)));
#undef CM
connect(fConfigWidget->fSendMode,TQT_SIGNAL(activated(int)),
this,TQT_SLOT(toggleSendMode(int)));
connect(fConfigWidget->fSendMode,TQ_SIGNAL(activated(int)),
this,TQ_SLOT(toggleSendMode(int)));
}

@ -39,7 +39,7 @@ class PopMailWidget; // From setup-dialog.ui
class PopMailWidgetConfig : public ConduitConfigBase
{
Q_OBJECT
TQ_OBJECT
public:
PopMailWidgetConfig(TQWidget *, const char *);

@ -75,12 +75,12 @@ ConduitConfig::ConduitConfig(TQWidget *p, const char *n) :
ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,fAbout);
fWidget=fConfigWidget;
TQObject::connect(fConfigWidget->fLogMessage,TQT_SIGNAL(textChanged(const TQString&)),
this,TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fDatabases,TQT_SIGNAL(textChanged(const TQString&)),
this,TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fFailImmediately,TQT_SIGNAL(toggled(bool)),
this,TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fLogMessage,TQ_SIGNAL(textChanged(const TQString&)),
this,TQ_SLOT(modified()));
TQObject::connect(fConfigWidget->fDatabases,TQ_SIGNAL(textChanged(const TQString&)),
this,TQ_SLOT(modified()));
TQObject::connect(fConfigWidget->fFailImmediately,TQ_SIGNAL(toggled(bool)),
this,TQ_SLOT(modified()));
}
/* virtual */ void ConduitConfig::commit()

@ -147,8 +147,8 @@
<tbody>
<tr><td><b>Operating System:</b></td><td>#os#</td></tr>
<tr><td><b>Hostname:</b></td><td>#hostname#</td></tr>
<tr><td><b>TQt Version:</b></td><td>#qt#</td></tr>
<tr><td><b>KDE Libraries Version:</b></td><td>#kde#</td></tr>
<tr><td><b>TQt Version:</b></td><td>#tqt#</td></tr>
<tr><td><b>TDE Libraries Version:</b></td><td>#tde#</td></tr>
<tr><td><b>KPilot Version:</b></td><td>#kpilot#</td></tr>
<tr><td><b>Pilot-Link Version:</b></td><td>#pilotlink#</td></tr>
</tbody>

@ -55,8 +55,8 @@ KPilot System Information Page
-) Version Information (Desktop)
Operating System: #os#
Hostname: #hostname#
Qt Version: #qt#
KDE Version: #kde#
TQt Version: #tqt#
TDE Version: #tde#
KPilot Version: #kpilot#
Pilot-Link Version: #pilotlink#
#endifpcversion#-->

@ -107,8 +107,8 @@ const TQString SysInfoConduit::defaultpage = CSL1("KPilot System Information Pag
"-) Version Information (Desktop)\n"
" Operating System: #os#\n"
" Hostname: #hostname#\n"
" TQt Version: #qt#\n"
" KDE Version: #kde#\n"
" TQt Version: #tqt#\n"
" TDE Version: #tde#\n"
" KPilot Version: #kpilot#\n"
" Pilot-Link Version: #pilotlink#\n"
"#endifpcversion#-->\n"
@ -196,7 +196,7 @@ void SysInfoConduit::readConfig()
readConfig();
TQTimer::singleShot(0, this, TQT_SLOT(hardwareInfo()));
TQTimer::singleShot(0, this, TQ_SLOT(hardwareInfo()));
return true;
}
@ -235,7 +235,7 @@ void SysInfoConduit::hardwareInfo()
KPILOT_DELETE(device);
keepParts.append(CSL1("hardware"));
} else removeParts.append(CSL1("hardware"));
TQTimer::singleShot(0, this, TQT_SLOT(userInfo()));
TQTimer::singleShot(0, this, TQ_SLOT(userInfo()));
}
void SysInfoConduit::userInfo()
@ -265,7 +265,7 @@ void SysInfoConduit::userInfo()
{
removeParts.append(CSL1("user"));
}
TQTimer::singleShot(0, this, TQT_SLOT(memoryInfo()));
TQTimer::singleShot(0, this, TQ_SLOT(memoryInfo()));
}
void SysInfoConduit::memoryInfo()
@ -286,7 +286,7 @@ void SysInfoConduit::memoryInfo()
}
keepParts.append(CSL1("memory"));
} else removeParts.append(CSL1("memory"));
TQTimer::singleShot(0, this, TQT_SLOT(storageInfo()));
TQTimer::singleShot(0, this, TQ_SLOT(storageInfo()));
}
void SysInfoConduit::storageInfo()
@ -309,7 +309,7 @@ void SysInfoConduit::storageInfo()
}
keepParts.append(CSL1("storage"));
} else removeParts.append(CSL1("storage"));
TQTimer::singleShot(0, this, TQT_SLOT(dbListInfo()));
TQTimer::singleShot(0, this, TQ_SLOT(dbListInfo()));
}
void SysInfoConduit::dbListInfo()
@ -322,7 +322,7 @@ void SysInfoConduit::dbListInfo()
dblist=deviceLink()->getDBList();
keepParts.append(CSL1("dblist"));
} else removeParts.append(CSL1("dblist"));
TQTimer::singleShot(0, this, TQT_SLOT(recNumberInfo()));
TQTimer::singleShot(0, this, TQ_SLOT(recNumberInfo()));
}
void SysInfoConduit::recNumberInfo()
@ -363,7 +363,7 @@ void SysInfoConduit::recNumberInfo()
}
keepParts.append(CSL1("records"));
} else removeParts.append(CSL1("records"));
TQTimer::singleShot(0, this, TQT_SLOT(syncInfo()));
TQTimer::singleShot(0, this, TQ_SLOT(syncInfo()));
}
void SysInfoConduit::syncInfo()
@ -379,14 +379,14 @@ void SysInfoConduit::syncInfo()
time_t lastsync = user.getLastSyncDate();
TQDateTime qlastsync;
qlastsync.setTime_t(lastsync);
fValues[CSL1("lastsync")] = qlastsync.toString(Qt::LocalDate);
fValues[CSL1("lastsync")] = qlastsync.toString(TQt::LocalDate);
lastsync = user.getLastSuccessfulSyncDate();
qlastsync.setTime_t(lastsync);
fValues[CSL1("lastsuccsync")] = qlastsync.toString(Qt::LocalDate);
fValues[CSL1("lastsuccsync")] = qlastsync.toString(TQt::LocalDate);
fValues[CSL1("lastsyncpc")] = TQString::number(user.getLastSyncPC());
keepParts.append(CSL1("sync"));
} else removeParts.append(CSL1("sync"));
TQTimer::singleShot(0, this, TQT_SLOT(pcVersionInfo()));
TQTimer::singleShot(0, this, TQ_SLOT(pcVersionInfo()));
}
void SysInfoConduit::pcVersionInfo()
@ -395,14 +395,14 @@ void SysInfoConduit::pcVersionInfo()
if (fKDEVersion) {
/* Retrieve values for
* - #os#
* - #qt#
* - #kde#
* - #tqt#
* - #tde#
* - #kpilot#
* - #pilotlink#
*/
fValues[CSL1("kpilot")] = TQString::fromLatin1(KPILOT_VERSION);
fValues[CSL1("kde")] = i18n("unknown");
fValues[CSL1("qt")] = i18n("unknown");
fValues[CSL1("tde")] = i18n("unknown");
fValues[CSL1("tqt")] = i18n("unknown");
fValues[CSL1("os")] = i18n("unknown");
fValues[CSL1("hostname")] = i18n("unknown");
struct utsname name;
@ -414,10 +414,10 @@ void SysInfoConduit::pcVersionInfo()
fValues[CSL1("hostname")] = CSL1("%2").arg(TQString::fromLatin1(name.nodename));
}
#ifdef TDE_VERSION_STRING
fValues[CSL1("kde")] = TQString::fromLatin1(TDE_VERSION_STRING);
fValues[CSL1("tde")] = TQString::fromLatin1(TDE_VERSION_STRING);
#endif
#ifdef TQT_VERSION_STR
fValues[CSL1("qt")] = TQString::fromLatin1(TQT_VERSION_STR);
fValues[CSL1("tqt")] = TQString::fromLatin1(TQT_VERSION_STR);
#endif
fValues[CSL1("pilotlink")] = CSL1("%1.%2.%3%4")
.arg(PILOT_LINK_VERSION)
@ -430,7 +430,7 @@ void SysInfoConduit::pcVersionInfo()
#endif
keepParts.append(CSL1("pcversion"));
} else removeParts.append(CSL1("pcversion"));
TQTimer::singleShot(0, this, TQT_SLOT(palmVersionInfo()));
TQTimer::singleShot(0, this, TQ_SLOT(palmVersionInfo()));
}
void SysInfoConduit::palmVersionInfo()
@ -450,7 +450,7 @@ void SysInfoConduit::palmVersionInfo()
keepParts.append(CSL1("palmversion"));
} else removeParts.append(CSL1("palmversion"));
TQTimer::singleShot(0, this, TQT_SLOT(debugInfo()));
TQTimer::singleShot(0, this, TQ_SLOT(debugInfo()));
}
void SysInfoConduit::debugInfo()
@ -463,14 +463,14 @@ void SysInfoConduit::debugInfo()
fValues[CSL1("debug")] = i18n("No debug data");
keepParts.append(CSL1("debug"));
} else removeParts.append(CSL1("debug"));
TQTimer::singleShot(0, this, TQT_SLOT(writeFile()));
TQTimer::singleShot(0, this, TQ_SLOT(writeFile()));
}
void SysInfoConduit::writeFile()
{
FUNCTIONSETUP;
fValues[CSL1("date")] = TQDateTime::currentDateTime().toString(Qt::LocalDate);
fValues[CSL1("date")] = TQDateTime::currentDateTime().toString(TQt::LocalDate);
TQString output;
// Open the template file
@ -563,11 +563,11 @@ void SysInfoConduit::writeFile()
newpatt.replace(CSL1("%6"), TQString::number(dbi.version));
TQDateTime tm;
tm.setTime_t(dbi.createDate);
newpatt.replace(CSL1("%7"), tm.toString(Qt::LocalDate));
newpatt.replace(CSL1("%7"), tm.toString(TQt::LocalDate));
tm.setTime_t(dbi.modifyDate);
newpatt.replace(CSL1("%8"), tm.toString(Qt::LocalDate));
newpatt.replace(CSL1("%8"), tm.toString(TQt::LocalDate));
tm.setTime_t(dbi.backupDate);
newpatt.replace(CSL1("%9"), tm.toString(Qt::LocalDate));
newpatt.replace(CSL1("%9"), tm.toString(TQt::LocalDate));
dbstring.append(newpatt);
}
@ -589,7 +589,7 @@ void SysInfoConduit::writeFile()
if (!outfile.open(IO_WriteOnly)) {
WARNINGKPILOT<< "Unable to open " << fOutputFile << endl;
emit logError(i18n("Unable to open %1").arg(fOutputFile));
TQTimer::singleShot(0, this, TQT_SLOT(cleanup()));
TQTimer::singleShot(0, this, TQ_SLOT(cleanup()));
return;
}
}
@ -600,7 +600,7 @@ void SysInfoConduit::writeFile()
outfile.close();
emit logMessage(i18n("Handheld system information written to the file %1").arg(fOutputFile));
TQTimer::singleShot(0, this, TQT_SLOT(cleanup()));
TQTimer::singleShot(0, this, TQ_SLOT(cleanup()));
}
void SysInfoConduit::cleanup()

@ -32,7 +32,7 @@
class SysInfoConduit : public ConduitAction
{
Q_OBJECT
TQ_OBJECT
public:
SysInfoConduit(

@ -103,12 +103,12 @@ SysInfoWidgetConfig::SysInfoWidgetConfig(TQWidget *w, const char *n) :
ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,fAbout);
fWidget=fConfigWidget;
TQObject::connect(fConfigWidget->fOutputFile,TQT_SIGNAL(textChanged(const TQString&)),
this,TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fTemplateFile,TQT_SIGNAL(textChanged(const TQString&)),
this,TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fOutputType,TQT_SIGNAL(clicked(int)),
this,TQT_SLOT(modified()));
TQObject::connect(fConfigWidget->fOutputFile,TQ_SIGNAL(textChanged(const TQString&)),
this,TQ_SLOT(modified()));
TQObject::connect(fConfigWidget->fTemplateFile,TQ_SIGNAL(textChanged(const TQString&)),
this,TQ_SLOT(modified()));
TQObject::connect(fConfigWidget->fOutputType,TQ_SIGNAL(clicked(int)),
this,TQ_SLOT(modified()));
fConduitName=i18n("System Information");
}

@ -36,7 +36,7 @@ class TDEAboutData;
class TimeWidgetConfig : public ConduitConfigBase
{
Q_OBJECT
TQ_OBJECT
public:
TimeWidgetConfig(TQWidget *parent, const char *);

@ -186,13 +186,13 @@ void VCalConduitBase::slotPalmRecToPC()
if ( syncMode()==SyncMode::eCopyHHToPC )
{
emit logMessage(i18n("Cleaning up ..."));
TQTimer::singleShot(0, this, TQT_SLOT(cleanup()));
TQTimer::singleShot(0, this, TQ_SLOT(cleanup()));
return;
}
else
{
emit logMessage(i18n("Copying records to Pilot ..."));
TQTimer::singleShot(0 ,this,TQT_SLOT(slotPCRecToPalm()));
TQTimer::singleShot(0 ,this,TQ_SLOT(slotPCRecToPalm()));
return;
}
}
@ -244,6 +244,6 @@ void VCalConduitBase::slotPalmRecToPC()
KPILOT_DELETE(r);
KPILOT_DELETE(s);
TQTimer::singleShot(0,this,TQT_SLOT(slotPalmRecToPC()));
TQTimer::singleShot(0,this,TQ_SLOT(slotPalmRecToPC()));
}
*/

@ -63,7 +63,7 @@ public:
class TodoConduit : public VCalConduitBase
{
Q_OBJECT
TQ_OBJECT
public:
TodoConduit(KPilotLink *,

@ -66,7 +66,7 @@ public:
class VCalConduit : public VCalConduitBase
{
Q_OBJECT
TQ_OBJECT
public:
VCalConduit(KPilotLink *,

@ -176,7 +176,7 @@ VCalConduitBase::~VCalConduitBase()
if (!syncMode().isTest() && !openCalendar() ) goto error;
// Start processing the sync
TQTimer::singleShot(0, this, TQT_SLOT(slotProcess()));
TQTimer::singleShot(0, this, TQ_SLOT(slotProcess()));
return true;
error:
@ -200,13 +200,13 @@ void VCalConduitBase::slotProcess() {
if( hasNextRecord )
{
fState->handleRecord( this );
TQTimer::singleShot( 0, this, TQT_SLOT( slotProcess() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotProcess() ) );
}
// Else finish the current state if there is one
else if( fState )
{
fState->finishSync( this );
TQTimer::singleShot( 0, this, TQT_SLOT( slotProcess() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotProcess() ) );
}
// No state so sync is finished
else

@ -74,7 +74,7 @@ public:
class VCalConduitBase : public ConduitAction
{
Q_OBJECT
TQ_OBJECT
public:
VCalConduitBase(KPilotLink *,

@ -49,11 +49,11 @@ VCalWidgetSetupBase::VCalWidgetSetupBase(TQWidget *w, const char *n) :
fConfigWidget->fCalendarFile->setMode(KFile::File);
fConfigWidget->fCalendarFile->setFilter(CSL1("*.vcs *.ics|ICalendars\n*.*|All Files (*.*)"));
#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified()));
CM(fSyncDestination,TQT_SIGNAL(clicked(int)));
CM(fCalendarFile,TQT_SIGNAL(textChanged(const TQString &)));
CM(fArchive,TQT_SIGNAL(toggled(bool)));
CM(fConflictResolution,TQT_SIGNAL(activated(int)));
#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified()));
CM(fSyncDestination,TQ_SIGNAL(clicked(int)));
CM(fCalendarFile,TQ_SIGNAL(textChanged(const TQString &)));
CM(fArchive,TQ_SIGNAL(toggled(bool)));
CM(fConflictResolution,TQ_SIGNAL(activated(int)));
#undef CM
}

@ -68,8 +68,8 @@ AddressEditor::AddressEditor(PilotAddress * p,
initLayout();
fillFields();
connect(parent, TQT_SIGNAL(recordChanged(PilotAddress *)),
this, TQT_SLOT(updateRecord(PilotAddress *)));
connect(parent, TQ_SIGNAL(recordChanged(PilotAddress *)),
this, TQ_SLOT(updateRecord(PilotAddress *)));
}

@ -37,7 +37,7 @@ class TQLineEdit;
class AddressEditor : public KDialogBase
{
Q_OBJECT
TQ_OBJECT

@ -218,8 +218,8 @@ void AddressWidget::setupWidget()
fCatList = new TQComboBox(this);
grid->addWidget(fCatList, 0, 1);
connect(fCatList, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotSetCategory(int)));
connect(fCatList, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotSetCategory(int)));
TQWhatsThis::add(fCatList,
i18n("<qt>Select the category of addresses to display here.</qt>"));
@ -229,10 +229,10 @@ void AddressWidget::setupWidget()
fListBox = new TQListBox(this);
grid->addMultiCellWidget(fListBox, 1, 1, 0, 1);
connect(fListBox, TQT_SIGNAL(highlighted(int)),
this, TQT_SLOT(slotShowAddress(int)));
connect(fListBox, TQT_SIGNAL(selected(int)),
this, TQT_SLOT(slotEditRecord()));
connect(fListBox, TQ_SIGNAL(highlighted(int)),
this, TQ_SLOT(slotShowAddress(int)));
connect(fListBox, TQ_SIGNAL(selected(int)),
this, TQ_SLOT(slotEditRecord()));
TQWhatsThis::add(fListBox,
i18n("<qt>This list displays all the addresses "
"in the selected category. Click on "
@ -250,7 +250,7 @@ void AddressWidget::setupWidget()
fEditButton = new TQPushButton(i18n("Edit Record..."), this);
grid->addWidget(fEditButton, 2, 0);
connect(fEditButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditRecord()));
connect(fEditButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditRecord()));
wt = KPilotSettings::internalEditors() ?
i18n("<qt>You can edit an address when it is selected.</qt>") :
i18n("<qt><i>Editing is disabled by the 'internal editors' setting.</i></qt>");
@ -258,7 +258,7 @@ void AddressWidget::setupWidget()
button = new TQPushButton(i18n("New Record..."), this);
grid->addWidget(button, 2, 1);
connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCreateNewRecord()));
connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCreateNewRecord()));
wt = KPilotSettings::internalEditors() ?
i18n("<qt>Add a new address to the address book.</qt>") :
i18n("<qt><i>Adding is disabled by the 'internal editors' setting.</i></qt>") ;
@ -268,15 +268,15 @@ void AddressWidget::setupWidget()
fDeleteButton = new TQPushButton(i18n("Delete Record"), this);
grid->addWidget(fDeleteButton, 3, 0);
connect(fDeleteButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotDeleteRecord()));
connect(fDeleteButton, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotDeleteRecord()));
wt = KPilotSettings::internalEditors() ?
i18n("<qt>Delete the selected address from the address book.</qt>") :
i18n("<qt><i>Deleting is disabled by the 'internal editors' setting.</i></qt>") ;
button = new TQPushButton(i18n("Export addresses to file","Export..."), this);
grid->addWidget(button, 3,1);
connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotExport()));
connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotExport()));
TQWhatsThis::add(button,
i18n("<qt>Export all addresses in the selected category to CSV format.</qt>") );
@ -441,10 +441,10 @@ void AddressWidget::slotEditRecord()
AddressEditor *editor = new AddressEditor(selectedRecord,
fAddressAppInfo, this);
connect(editor, TQT_SIGNAL(recordChangeComplete(PilotAddress *)),
this, TQT_SLOT(slotUpdateRecord(PilotAddress *)));
connect(editor, TQT_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotEditCancelled()));
connect(editor, TQ_SIGNAL(recordChangeComplete(PilotAddress *)),
this, TQ_SLOT(slotUpdateRecord(PilotAddress *)));
connect(editor, TQ_SIGNAL(cancelClicked()),
this, TQ_SLOT(slotEditCancelled()));
editor->show();
fPendingAddresses++;
@ -491,10 +491,10 @@ void AddressWidget::slotCreateNewRecord()
AddressEditor *editor = new AddressEditor(0L,
fAddressAppInfo, this);
connect(editor, TQT_SIGNAL(recordChangeComplete(PilotAddress *)),
this, TQT_SLOT(slotAddRecord(PilotAddress *)));
connect(editor, TQT_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotEditCancelled()));
connect(editor, TQ_SIGNAL(recordChangeComplete(PilotAddress *)),
this, TQ_SLOT(slotAddRecord(PilotAddress *)));
connect(editor, TQ_SIGNAL(cancelClicked()),
this, TQ_SLOT(slotEditCancelled()));
editor->show();
fPendingAddresses++;

@ -43,7 +43,7 @@ class PilotDatabase;
class AddressWidget : public PilotComponent
{
Q_OBJECT
TQ_OBJECT
public:

@ -325,19 +325,19 @@ ConduitConfigWidget::ConduitConfigWidget(TQWidget *parent, const char *n,
fStack->setMinimumSize(fStack->sizeHint()+TQSize(10,40));
TQObject::connect(fConduitList,
TQT_SIGNAL(selectionChanged(TQListViewItem *)),
this,TQT_SLOT(selected(TQListViewItem *)));
TQ_SIGNAL(selectionChanged(TQListViewItem *)),
this,TQ_SLOT(selected(TQListViewItem *)));
TQObject::connect(fConduitList,
TQT_SIGNAL(clicked(TQListViewItem*)),
this, TQT_SLOT(conduitsChanged(TQListViewItem*)));
TQ_SIGNAL(clicked(TQListViewItem*)),
this, TQ_SLOT(conduitsChanged(TQListViewItem*)));
// Deprecated?
TQObject::connect(fConfigureButton,
TQT_SIGNAL(clicked()),
this,TQT_SLOT(configure()));
TQ_SIGNAL(clicked()),
this,TQ_SLOT(configure()));
TQObject::connect(fConfigureWizard,TQT_SIGNAL(clicked()),
this,TQT_SLOT(configureWizard()));
TQObject::connect(fConfigureWizard,TQ_SIGNAL(clicked()),
this,TQ_SLOT(configureWizard()));
fGeneralPage->setSelected(true);
fConduitList->setCurrentItem(fGeneralPage);
@ -596,7 +596,7 @@ void ConduitConfigWidget::loadAndConfigure(TQListViewItem *p) // ,bool exec)
TQStringList a;
a.append(CSL1("modal"));
o = f->create(TQT_TQOBJECT(fStack), 0L, "ConduitConfigBase", a);
o = f->create(fStack, 0L, "ConduitConfigBase", a);
if (!o)
{
@ -651,7 +651,7 @@ void ConduitConfigWidget::loadAndConfigure(TQListViewItem *p) // ,bool exec)
fCurrentConfig=d;
// make sure the changed signal is propagated to the KCM*Dialog
// and the apply button is enabled correspondingly.
connect(d, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool)));
connect(d, TQ_SIGNAL(changed(bool)), this, TQ_SIGNAL(changed(bool)));
}
}
@ -694,7 +694,7 @@ void ConduitConfigWidget::selected(TQListViewItem *p)
if (!release())
{
fConduitList->blockSignals(true);
TQTimer::singleShot(1,this,TQT_SLOT(unselect()));
TQTimer::singleShot(1,this,TQ_SLOT(unselect()));
return;
}
}

@ -44,7 +44,7 @@ class ConduitConfig;
class ConduitConfigWidgetBase : public TDECModule
{
Q_OBJECT
TQ_OBJECT
public:
ConduitConfigWidgetBase(TQWidget *p=0L,const char *n=0L);
@ -59,7 +59,7 @@ public:
class ConduitConfigWidget : public ConduitConfigWidgetBase
{
Q_OBJECT
TQ_OBJECT
public:
ConduitConfigWidget(TQWidget *,

@ -77,10 +77,10 @@ DatebookWidget::DatebookWidget(TQWidget *parent, const TQString &dbpath) :
// fEventList->setAlternateBackground( TQColor( 221, 146, 240 ) );
g->addMultiCellWidget(fEventList, 0, 2, 3, 3);
connect(fDatePicker, TQT_SIGNAL(dateChanged()), TQT_SLOT(slotDayChanged()));
connect(fAddButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddEvent()));
connect(fEditButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotEditEvent()));
connect(fDeleteButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotDeleteEvent()));
connect(fDatePicker, TQ_SIGNAL(dateChanged()), TQ_SLOT(slotDayChanged()));
connect(fAddButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddEvent()));
connect(fEditButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotEditEvent()));
connect(fDeleteButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotDeleteEvent()));
}
DatebookWidget::~DatebookWidget()

@ -38,7 +38,7 @@ class TDEListView;
class DatebookWidget : public PilotComponent
{
Q_OBJECT
TQ_OBJECT
public:

@ -34,7 +34,7 @@ class TQWidget;
class DBAppInfoEditor : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:
DBAppInfoEditor(char*appInfoData, int l, TQWidget *parent = 0);

@ -37,7 +37,7 @@ struct DBInfo;
*/
class DBFlagsEditor : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:
DBFlagsEditor(DBInfo*dbinfo=0L, TQWidget *parent = 0);

@ -140,7 +140,7 @@ void DBRecordEditor::initWidgets()
fFlagsGroup = new TQButtonGroup( fWidget, "fFlagsGroup" );
fFlagsGroup->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5,
(TQSizePolicy::SizeType)4, 0, 0, fFlagsGroup->sizePolicy().hasHeightForWidth() ) );
fFlagsGroup->setColumnLayout(0, Qt::Vertical );
fFlagsGroup->setColumnLayout(0, TQt::Vertical );
fFlagsGroup->layout()->setSpacing( 6 );
fFlagsGroup->layout()->setMargin( 11 );
fFlagsGroupLayout = new TQGridLayout( fFlagsGroup->layout() );

@ -53,7 +53,7 @@ class PilotRecord;
*/
class DBRecordEditor : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:
DBRecordEditor(PilotRecord*r=0L, int n=-1, TQWidget *parent = 0);

@ -70,12 +70,12 @@ KPilotDBSelectionDialog::KPilotDBSelectionDialog(TQStringList &selectedDBs, TQSt
if (fSelectedDBs.contains(*it)) checkitem->setOn(true);
}
connect(fSelectionWidget->fNameEdit, TQT_SIGNAL(textChanged( const TQString & )),
this, TQT_SLOT(slotTextChanged( const TQString &)));
connect(fSelectionWidget->fAddButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(addDB()));
connect(fSelectionWidget->fRemoveButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(removeDB()));
connect(fSelectionWidget->fNameEdit, TQ_SIGNAL(textChanged( const TQString & )),
this, TQ_SLOT(slotTextChanged( const TQString &)));
connect(fSelectionWidget->fAddButton, TQ_SIGNAL(clicked()),
this, TQ_SLOT(addDB()));
connect(fSelectionWidget->fRemoveButton, TQ_SIGNAL(clicked()),
this, TQ_SLOT(removeDB()));
}
KPilotDBSelectionDialog::~KPilotDBSelectionDialog()

@ -36,7 +36,7 @@ class KPilotDBSelectionWidget;
class KPilotDBSelectionDialog : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:
KPilotDBSelectionDialog(TQStringList &selectedDBs, TQStringList &deviceDBs,

@ -119,22 +119,22 @@ void GenericDBWidget::setupWidget()
g->addMultiCellLayout( g1, 0, 1, 1, 1 );
resize( TQSize(682, 661).expandedTo(minimumSizeHint()) );
connect(fDBList, TQT_SIGNAL(highlighted(const TQString &)),
this, TQT_SLOT(slotSelected(const TQString &)));
connect(fDBType, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotDBType(int)));
connect(fDBInfoButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotShowDBInfo()));
connect(fAppInfoButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotShowAppInfo()));
connect(fAddRecord, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotAddRecord()));
connect(fEditRecord, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotEditRecord()));
connect(fDeleteRecord, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotDeleteRecord()));
connect(fRecordList, TQT_SIGNAL(executed(TQListViewItem*)),
this, TQT_SLOT(slotEditRecord(TQListViewItem*)));
connect(fDBList, TQ_SIGNAL(highlighted(const TQString &)),
this, TQ_SLOT(slotSelected(const TQString &)));
connect(fDBType, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotDBType(int)));
connect(fDBInfoButton, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotShowDBInfo()));
connect(fAppInfoButton, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotShowAppInfo()));
connect(fAddRecord, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotAddRecord()));
connect(fEditRecord, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotEditRecord()));
connect(fDeleteRecord, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotDeleteRecord()));
connect(fRecordList, TQ_SIGNAL(executed(TQListViewItem*)),
this, TQ_SLOT(slotEditRecord(TQListViewItem*)));
}

@ -42,7 +42,7 @@ class TDEListView;
class GenericDBWidget : public PilotComponent
{
Q_OBJECT
TQ_OBJECT
public:

@ -75,20 +75,20 @@ FileInstallWidget::FileInstallWidget(TQWidget * parent,
TQPushButton *abutton;
abutton = addButton = new TQPushButton(i18n("Add File..."), this);
connect(abutton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAddFile()));
connect(abutton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAddFile()));
grid->addWidget(abutton, 3, 1);
TQWhatsThis::add(abutton,
i18n("<qt>Choose a file to add to the list of files to install.</qt>"));
abutton = clearButton= new TQPushButton(i18n("Clear List"), this);
connect(abutton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClearButton()));
connect(abutton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClearButton()));
grid->addWidget(abutton, 4, 1);
TQWhatsThis::add(abutton,
i18n("<qt>Clear the list of files to install. No files will be installed.</qt>"));
fIconView = new TDEIconView(this);
connect(fIconView, TQT_SIGNAL(dropped(TQDropEvent *, const TQValueList<TQIconDragItem> &)),
this, TQT_SLOT(slotDropEvent(TQDropEvent *, const TQValueList<TQIconDragItem> &)));
connect(fIconView, TQ_SIGNAL(dropped(TQDropEvent *, const TQValueList<TQIconDragItem> &)),
this, TQ_SLOT(slotDropEvent(TQDropEvent *, const TQValueList<TQIconDragItem> &)));
grid->addMultiCellWidget(fIconView, 1, 4, 2, 3);
TQWhatsThis::add(fIconView,
i18n
@ -104,8 +104,8 @@ FileInstallWidget::FileInstallWidget(TQWidget * parent,
grid->addRowSpacing(5, SPACING);
fInstaller = new FileInstaller;
connect(fInstaller, TQT_SIGNAL(filesChanged()),
this, TQT_SLOT(refreshFileInstallList()));
connect(fInstaller, TQ_SIGNAL(filesChanged()),
this, TQ_SLOT(refreshFileInstallList()));
}
@ -145,7 +145,7 @@ bool FileInstallWidget::eventFilter(TQObject *watched, TQEvent *event)
{
FUNCTIONSETUP;
if(TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(fIconView->viewport()))
if(watched == fIconView->viewport())
{
if(event->type() == TQEvent::DragEnter) {
dragEnterEvent(static_cast<TQDragEnterEvent*>(event));
@ -159,7 +159,7 @@ bool FileInstallWidget::eventFilter(TQObject *watched, TQEvent *event)
}
if(event->type() == TQEvent::MouseButtonPress) {
contextMenu(TQT_TQMOUSEEVENT(event));
contextMenu(static_cast<TQMouseEvent*>(event));
}
}
@ -272,7 +272,7 @@ void FileInstallWidget::contextMenu(TQMouseEvent *event)
{
FUNCTIONSETUP;
if(event->button() == Qt::LeftButton)
if(event->button() == TQt::LeftButton)
return;
TQIconViewItem *item;

@ -44,7 +44,7 @@ class FileInstaller;
class FileInstallWidget : public PilotComponent
{
Q_OBJECT
TQ_OBJECT
public:

@ -41,7 +41,7 @@ class TQString;
class FileInstaller : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
FileInstaller();

@ -369,7 +369,7 @@ static inline bool checkBackupDirectory( const TQString &backupDir )
initNoBackup( fP->fNoBackupDBs, fP->fNoBackupCreators );
fP->fDBIndex = 0;
TQTimer::singleShot(0,this,TQT_SLOT(backupOneDB()));
TQTimer::singleShot(0,this,TQ_SLOT(backupOneDB()));
return true;
}
@ -448,7 +448,7 @@ static inline bool checkBackupDirectory( const TQString &backupDir )
.arg(Pilot::fromPilot(info.name));
addSyncLogEntry(s);
}
TQTimer::singleShot(0,this,TQT_SLOT(backupOneDB()));
TQTimer::singleShot(0,this,TQ_SLOT(backupOneDB()));
}
/**
@ -538,7 +538,7 @@ bool BackupAction::startBackupThread(DBInfo *info)
KPILOT_DELETE(fBackupThread);
// This was a successful termination.
addSyncLogEntry( i18n("... OK.\n"), false );
TQTimer::singleShot(0,this,TQT_SLOT(backupOneDB()));
TQTimer::singleShot(0,this,TQ_SLOT(backupOneDB()));
return true;
}
if (e->type() == (TQEvent::Type)Thread::TerminateFailure)
@ -546,7 +546,7 @@ bool BackupAction::startBackupThread(DBInfo *info)
KPILOT_DELETE(fBackupThread);
// Unsuccessful termination.
addSyncLogEntry( i18n("Backup failed.") );
TQTimer::singleShot(0,this,TQT_SLOT(backupOneDB()));
TQTimer::singleShot(0,this,TQ_SLOT(backupOneDB()));
return true;
}
return SyncAction::event(e);
@ -615,8 +615,8 @@ FileInstallAction::~FileInstallAction()
}
fTimer = new TQTimer(this);
TQObject::connect(fTimer, TQT_SIGNAL(timeout()),
this, TQT_SLOT(installNextFile()));
TQObject::connect(fTimer, TQ_SIGNAL(timeout()),
this, TQ_SLOT(installNextFile()));
fTimer->start(0, false);
@ -1049,8 +1049,8 @@ void RestoreAction::setDirectory( const TQString &path )
fP->fDBIterator = fP->fDBList.begin();
fActionStatus = InstallingFiles;
TQObject::connect(&(fP->fTimer), TQT_SIGNAL(timeout()),
this, TQT_SLOT(installNextFile()));
TQObject::connect(&(fP->fTimer), TQ_SIGNAL(timeout()),
this, TQ_SLOT(installNextFile()));
fP->fTimer.start(0, false);
return true;

@ -51,7 +51,7 @@ protected:
class BackupAction : public SyncAction
{
Q_OBJECT
TQ_OBJECT
public:
@ -117,7 +117,7 @@ private:
class FileInstallAction : public SyncAction
{
Q_OBJECT
TQ_OBJECT
public:
FileInstallAction(KPilotLink *,
@ -145,7 +145,7 @@ private:
class RestoreAction : public SyncAction
{
Q_OBJECT
TQ_OBJECT
public:
RestoreAction(KPilotLink *,TQWidget *w=0L);

@ -61,7 +61,7 @@ bool InternalEditorAction::exec()
FUNCTIONSETUP;
emit logMessage(i18n("[Internal Editors]"));
fInternalEditorSyncStatus=eSyncStarted;
TQTimer::singleShot(0, this, TQT_SLOT(syncDirtyDB()));
TQTimer::singleShot(0, this, TQ_SLOT(syncDirtyDB()));
return true;
}
@ -84,7 +84,7 @@ void InternalEditorAction::syncDirtyDB()
{
KPilotSettings::setDirtyDatabases(TQStringList());
KPilotConfig::sync();
TQTimer::singleShot(0, this, TQT_SLOT(syncFlagsChangedDB()));
TQTimer::singleShot(0, this, TQ_SLOT(syncFlagsChangedDB()));
return;
}
#ifdef DEBUG
@ -146,7 +146,7 @@ nextDB:
localDB->resetSyncFlags();
KPILOT_DELETE(localDB);
KPILOT_DELETE(serialDB);
TQTimer::singleShot(0, this, TQT_SLOT(syncDirtyDB()));
TQTimer::singleShot(0, this, TQ_SLOT(syncDirtyDB()));
}
bool InternalEditorAction::queryUseKPilotChanges(TQString dbName, recordid_t id, PilotRecord*localrec, PilotRecord*serialrec, PilotDatabase*db)
@ -323,7 +323,7 @@ void InternalEditorAction::syncFlagsChangedDB()
{
KPilotSettings::setFlagsChangedDatabases(TQStringList());
KPilotConfig::sync();
TQTimer::singleShot(0, this, TQT_SLOT(syncAppBlockChangedDB()));
TQTimer::singleShot(0, this, TQ_SLOT(syncAppBlockChangedDB()));
return;
}
@ -331,7 +331,7 @@ void InternalEditorAction::syncFlagsChangedDB()
DEBUGKPILOT<<"syncFlagsChangedDB for DB "<<(*dbIter)<<endl;
#endif
emit logError(i18n("Setting the database flags on the handheld is not yet supported."));
TQTimer::singleShot(0, this, TQT_SLOT(syncAppBlockChangedDB()));
TQTimer::singleShot(0, this, TQ_SLOT(syncAppBlockChangedDB()));
return;
PilotLocalDatabase*localDB=new PilotLocalDatabase(*dbIter);
@ -343,7 +343,7 @@ return;
KPILOT_DELETE(localDB);
KPILOT_DELETE(serialDB);
TQTimer::singleShot(0, this, TQT_SLOT(syncAppBlockChangedDB()));
TQTimer::singleShot(0, this, TQ_SLOT(syncAppBlockChangedDB()));
}
void InternalEditorAction::syncAppBlockChangedDB()
@ -364,7 +364,7 @@ void InternalEditorAction::syncAppBlockChangedDB()
{
KPilotSettings::setAppBlockChangedDatabases(TQStringList());
KPilotConfig::sync();
TQTimer::singleShot(0, this, TQT_SLOT(cleanup()));
TQTimer::singleShot(0, this, TQ_SLOT(cleanup()));
return;
}
#ifdef DEBUG
@ -381,7 +381,7 @@ void InternalEditorAction::syncAppBlockChangedDB()
KPILOT_DELETE(localDB);
KPILOT_DELETE(serialDB);
TQTimer::singleShot(0, this, TQT_SLOT(syncAppBlockChangedDB()));
TQTimer::singleShot(0, this, TQ_SLOT(syncAppBlockChangedDB()));
}
void InternalEditorAction::cleanup()

@ -35,7 +35,7 @@
class InternalEditorAction : public SyncAction
{
Q_OBJECT
TQ_OBJECT
public:

@ -231,8 +231,8 @@ void KPilotInstaller::setupWidget()
fManagingWidget->setMinimumSize(fManagingWidget->sizeHint());
fManagingWidget->show();
setCentralWidget(fManagingWidget);
connect( fManagingWidget, TQT_SIGNAL( aboutToShowPage ( TQWidget* ) ),
TQT_TQOBJECT(this), TQT_SLOT( slotAboutToShowComponent( TQWidget* ) ) );
connect( fManagingWidget, TQ_SIGNAL( aboutToShowPage ( TQWidget* ) ),
this, TQ_SLOT( slotAboutToShowComponent( TQWidget* ) ) );
initIcons();
initMenu();
@ -286,7 +286,7 @@ void KPilotInstaller::initComponents()
#undef ADDICONPAGE
TQTimer::singleShot(500,this,TQT_SLOT(initializeComponents()));
TQTimer::singleShot(500,this,TQ_SLOT(initializeComponents()));
}
@ -518,12 +518,12 @@ void KPilotInstaller::initMenu()
syncPopup->setWhatsThis(i18n("Select the kind of HotSync to perform next. "
"This applies only to the next HotSync; to change the default, use "
"the configuration dialog."));
connect(syncPopup, TQT_SIGNAL(activated()),
TQT_TQOBJECT(this), TQT_SLOT(slotHotSyncRequested()));
connect(syncPopup, TQ_SIGNAL(activated()),
this, TQ_SLOT(slotHotSyncRequested()));
// File actions, keep this list synced with kpilotui.rc and pilotDaemon.cpp
a = new TDEAction(i18n("&HotSync"), CSL1("hotsync"), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotHotSyncRequested()),
this, TQ_SLOT(slotHotSyncRequested()),
actionCollection(), "file_hotsync");
a->setToolTip(i18n("Next HotSync will be normal HotSync."));
a->setWhatsThis(i18n("Tell the daemon that the next HotSync "
@ -531,7 +531,7 @@ void KPilotInstaller::initMenu()
syncPopup->insert(a);
a = new TDEAction(i18n("Full&Sync"), CSL1("fullsync"), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotFullSyncRequested()),
this, TQ_SLOT(slotFullSyncRequested()),
actionCollection(), "file_fullsync");
a->setToolTip(i18n("Next HotSync will be a FullSync."));
a->setWhatsThis(i18n("Tell the daemon that the next HotSync "
@ -539,7 +539,7 @@ void KPilotInstaller::initMenu()
syncPopup->insert(a);
a = new TDEAction(i18n("&Backup"), CSL1("backup"), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotBackupRequested()),
this, TQ_SLOT(slotBackupRequested()),
actionCollection(), "file_backup");
a->setToolTip(i18n("Next HotSync will be backup."));
a->setWhatsThis(i18n("Tell the daemon that the next HotSync "
@ -547,7 +547,7 @@ void KPilotInstaller::initMenu()
syncPopup->insert(a);
a = new TDEAction(i18n("&Restore"), CSL1("restore"), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotRestoreRequested()),
this, TQ_SLOT(slotRestoreRequested()),
actionCollection(), "file_restore");
a->setToolTip(i18n("Next HotSync will be restore."));
a->setWhatsThis(i18n("Tell the daemon that the next HotSync "
@ -555,7 +555,7 @@ void KPilotInstaller::initMenu()
syncPopup->insert(a);
a = new TDEAction(i18n("Copy Handheld to PC"), TQString(), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotHHtoPCRequested()),
this, TQ_SLOT(slotHHtoPCRequested()),
actionCollection(), "file_HHtoPC");
a->setToolTip(i18n("Next HotSync will be backup."));
a->setWhatsThis(i18n("Tell the daemon that the next HotSync "
@ -564,7 +564,7 @@ void KPilotInstaller::initMenu()
syncPopup->insert(a);
a = new TDEAction(i18n("Copy PC to Handheld"), TQString(), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotPCtoHHRequested()),
this, TQ_SLOT(slotPCtoHHRequested()),
actionCollection(), "file_PCtoHH");
a->setToolTip(i18n("Next HotSync will copy PC to Handheld."));
a->setWhatsThis(i18n("Tell the daemon that the next HotSync "
@ -575,7 +575,7 @@ void KPilotInstaller::initMenu()
#if 0
a = new TDEAction(i18n("&List Only"),CSL1("listsync"),0,
this,TQT_SLOT(slotTestSyncRequested()),
this,TQ_SLOT(slotTestSyncRequested()),
actionCollection(), "file_list");
a->setToolTip(i18n("Next HotSync will list databases."));
a->setWhatsThis(i18n("Tell the daemon that the next HotSync "
@ -586,14 +586,14 @@ void KPilotInstaller::initMenu()
a = new TDEAction(i18n("Rese&t Link"),CSL1("reload"), 0,
TQT_TQOBJECT(this), TQT_SLOT(slotResetLink()),
this, TQ_SLOT(slotResetLink()),
actionCollection(),"file_reload");
a->setToolTip(i18n("Reset the device connection."));
a->setWhatsThis(i18n("Try to reset the daemon and its connection "
"to the Handheld."));
a = KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(quit()), actionCollection());
a = KStdAction::quit(this, TQ_SLOT(quit()), actionCollection());
a->setWhatsThis(i18n("Quit KPilot, (and stop the daemon "
"if configured that way)."));
@ -603,15 +603,15 @@ void KPilotInstaller::initMenu()
createStandardStatusBarAction();
setStandardToolBarMenuEnabled(true);
(void) KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureKeys()),
(void) KStdAction::keyBindings(this, TQ_SLOT(optionsConfigureKeys()),
actionCollection());
(void) KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureToolbars()),
(void) KStdAction::configureToolbars(this, TQ_SLOT(optionsConfigureToolbars()),
actionCollection());
(void) KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(configure()),
(void) KStdAction::preferences(this, TQ_SLOT(configure()),
actionCollection());
a = new TDEAction(i18n("Configuration &Wizard..."), CSL1("wizard"), 0,
TQT_TQOBJECT(this), TQT_SLOT(configureWizard()),
this, TQ_SLOT(configureWizard()),
actionCollection(), "options_configure_wizard");
a->setWhatsThis(i18n("Configure KPilot using the configuration wizard."));
@ -685,13 +685,13 @@ void KPilotInstaller::addComponentPage(PilotComponent * p,
TDEToggleAction *pt =
new TDEToggleAction(name, /* "kpilot" -- component icon, */ 0,
TQT_TQOBJECT(p), TQT_SLOT(slotShowComponent()),
p, TQ_SLOT(slotShowComponent()),
actionCollection(), actionname);
pt->setExclusiveGroup(CSL1("view_menu"));
connect(TQT_TQOBJECT(p), TQT_SIGNAL(showComponent(PilotComponent *)),
TQT_TQOBJECT(this), TQT_SLOT(slotSelectComponent(PilotComponent *)));
connect(p, TQ_SIGNAL(showComponent(PilotComponent *)),
this, TQ_SLOT(slotSelectComponent(PilotComponent *)));
}
/* slot */ void KPilotInstaller::initializeComponents()
@ -719,7 +719,7 @@ void KPilotInstaller::optionsConfigureToolbars()
// This was added in KDE 3.1
saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() );
KEditToolbar dlg(actionCollection());
connect(&dlg, TQT_SIGNAL(newToolbarConfig()), TQT_TQOBJECT(this), TQT_SLOT(slotNewToolbarConfig()));
connect(&dlg, TQ_SIGNAL(newToolbarConfig()), this, TQ_SLOT(slotNewToolbarConfig()));
dlg.exec();
}
@ -1124,7 +1124,7 @@ int main(int argc, char **argv)
return 1;
}
TQTimer::singleShot(0,tp,TQT_SLOT(startDaemonIfNeeded()));
TQTimer::singleShot(0,tp,TQ_SLOT(startDaemonIfNeeded()));
TDEGlobal::dirs()->addResourceType("pilotdbs",
CSL1("share/apps/kpilot/DBBackup"));

@ -49,7 +49,7 @@ class LogWidget;
class KPilotInstaller : public TDEMainWindow, public KPilotDCOP
{
Q_OBJECT
TQ_OBJECT
public:

@ -91,12 +91,12 @@ DeviceConfigPage::DeviceConfigPage(TQWidget * w, const char *n ) : ConfigPage( w
#endif
#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified()));
CM(fPilotDevice, TQT_SIGNAL(textChanged(const TQString &)));
CM(fPilotSpeed, TQT_SIGNAL(activated(int)));
CM(fPilotEncoding, TQT_SIGNAL(textChanged(const TQString &)));
CM(fUserName, TQT_SIGNAL(textChanged(const TQString &)));
CM(fWorkaround, TQT_SIGNAL(activated(int)));
#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified()));
CM(fPilotDevice, TQ_SIGNAL(textChanged(const TQString &)));
CM(fPilotSpeed, TQ_SIGNAL(activated(int)));
CM(fPilotEncoding, TQ_SIGNAL(textChanged(const TQString &)));
CM(fUserName, TQ_SIGNAL(textChanged(const TQString &)));
CM(fWorkaround, TQ_SIGNAL(activated(int)));
#undef CM
fConduitName = i18n("Device");
@ -232,11 +232,11 @@ SyncConfigPage::SyncConfigPage(TQWidget * w, const char *n ) : ConfigPage( w, n
fConfigWidget->resize(fConfigWidget->size());
fWidget = fConfigWidget;
#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified()));
CM(fSpecialSync, TQT_SIGNAL(activated(int)));
CM(fFullSyncCheck, TQT_SIGNAL(toggled(bool)));
CM(fScreenlockSecure, TQT_SIGNAL(toggled(bool)));
CM(fConflictResolution, TQT_SIGNAL(activated(int)));
#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified()));
CM(fSpecialSync, TQ_SIGNAL(activated(int)));
CM(fFullSyncCheck, TQ_SIGNAL(toggled(bool)));
CM(fScreenlockSecure, TQ_SIGNAL(toggled(bool)));
CM(fConflictResolution, TQ_SIGNAL(activated(int)));
#undef CM
fConduitName = i18n("HotSync");
@ -314,15 +314,15 @@ BackupConfigPage::BackupConfigPage(TQWidget * w, const char *n ) : ConfigPage( w
fConfigWidget->resize(fConfigWidget->size());
fWidget = fConfigWidget;
connect(fConfigWidget->fBackupOnlyChooser, TQT_SIGNAL( clicked() ),
TQT_SLOT( slotSelectNoBackupDBs() ) );
connect(fConfigWidget->fSkipDBChooser, TQT_SIGNAL(clicked()),
TQT_SLOT(slotSelectNoRestoreDBs()));
connect(fConfigWidget->fBackupOnlyChooser, TQ_SIGNAL( clicked() ),
TQ_SLOT( slotSelectNoBackupDBs() ) );
connect(fConfigWidget->fSkipDBChooser, TQ_SIGNAL(clicked()),
TQ_SLOT(slotSelectNoRestoreDBs()));
#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified()));
CM(fBackupOnly, TQT_SIGNAL(textChanged(const TQString &)));
CM(fSkipDB, TQT_SIGNAL(textChanged(const TQString &)));
CM(fBackupFrequency, TQT_SIGNAL(activated(int)));
#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified()));
CM(fBackupOnly, TQ_SIGNAL(textChanged(const TQString &)));
CM(fSkipDB, TQ_SIGNAL(textChanged(const TQString &)));
CM(fBackupFrequency, TQ_SIGNAL(activated(int)));
#undef CM
fConduitName = i18n("Backup");
@ -408,11 +408,11 @@ ViewersConfigPage::ViewersConfigPage(TQWidget * w, const char *n ) : ConfigPage(
fConfigWidget->resize(fConfigWidget->size());
fWidget = fConfigWidget;
#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified()));
CM(fInternalEditors, TQT_SIGNAL(toggled(bool)));
CM(fUseSecret, TQT_SIGNAL(toggled(bool)));
CM(fAddressGroup, TQT_SIGNAL(clicked(int)));
CM(fUseKeyField, TQT_SIGNAL(toggled(bool)));
#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified()));
CM(fInternalEditors, TQ_SIGNAL(toggled(bool)));
CM(fUseSecret, TQ_SIGNAL(toggled(bool)));
CM(fAddressGroup, TQ_SIGNAL(clicked(int)));
CM(fUseKeyField, TQ_SIGNAL(toggled(bool)));
#undef CM
fConduitName = i18n("Viewers");
@ -460,11 +460,11 @@ StartExitConfigPage::StartExitConfigPage(TQWidget * w, const char *n ) : ConfigP
fConfigWidget->resize(fConfigWidget->size());
fWidget = fConfigWidget;
#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified()));
CM(fStartDaemonAtLogin, TQT_SIGNAL(toggled(bool)));
CM(fKillDaemonOnExit, TQT_SIGNAL(toggled(bool)));
CM(fDockDaemon, TQT_SIGNAL(toggled(bool)));
CM(fQuitAfterSync, TQT_SIGNAL(toggled(bool)));
#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified()));
CM(fStartDaemonAtLogin, TQ_SIGNAL(toggled(bool)));
CM(fKillDaemonOnExit, TQ_SIGNAL(toggled(bool)));
CM(fDockDaemon, TQ_SIGNAL(toggled(bool)));
CM(fQuitAfterSync, TQ_SIGNAL(toggled(bool)));
#undef CM
fConduitName = i18n("Startup and Exit");

@ -52,7 +52,7 @@ protected:
class DeviceConfigPage : public ConfigPage
{
Q_OBJECT
TQ_OBJECT
public:
DeviceConfigPage( TQWidget *, const char * );
@ -90,7 +90,7 @@ private:
class BackupConfigPage : public ConfigPage
{
Q_OBJECT
TQ_OBJECT
public:
BackupConfigPage( TQWidget *, const char * );

@ -67,8 +67,8 @@ ConfigWizard::ConfigWizard(TQWidget *parent, const char *n, int m) :
setHelpEnabled( page2, false );
setHelpEnabled( page3, false );
connect( page2->fProbeButton, TQT_SIGNAL( pressed() ),
this, TQT_SLOT( probeHandheld() ) );
connect( page2->fProbeButton, TQ_SIGNAL( pressed() ),
this, TQ_SLOT( probeHandheld() ) );
KPilotSettings::self()->readConfig();
page2->fUserName->setText( KPilotSettings::userName() );

@ -36,7 +36,7 @@ class ConfigWizard_base3;
class ConfigWizard : public KWizard
{
Q_OBJECT
TQ_OBJECT
public:
enum Mode { InDialog=0, Standalone=1 } ;

@ -98,7 +98,7 @@ ProbeDialog::ProbeDialog(TQWidget *parent, const char *n) :
fInfoText->setAlignment( TQLabel::WordBreak );
fStatusGroup = new TQGroupBox( i18n("Status"), mainWidget, "fStatusGroup" );
fStatusGroup->setColumnLayout(0, Qt::Vertical );
fStatusGroup->setColumnLayout(0, TQt::Vertical );
fStatusGroupLayout = new TQGridLayout( fStatusGroup->layout() );
fStatus = new TQLabel( i18n("Autodetection not yet started..."), fStatusGroup, "fStatus" );
@ -112,7 +112,7 @@ ProbeDialog::ProbeDialog(TQWidget *parent, const char *n) :
fResultsGroup = new TQGroupBox( i18n( "Detected Values" ), mainWidget, "fResultsGroup" );
fResultsGroup->setEnabled( FALSE );
fResultsGroup->setColumnLayout(0, Qt::Vertical );
fResultsGroup->setColumnLayout(0, TQt::Vertical );
fResultsGroupLayout = new TQGridLayout( fResultsGroup->layout() );
fResultsGroupLayout->setAlignment( TQt::AlignTop );
@ -154,11 +154,11 @@ ProbeDialog::ProbeDialog(TQWidget *parent, const char *n) :
fTimeoutTimer = new TQTimer( this );
fProgressTimer = new TQTimer( this );
fRotateLinksTimer = new TQTimer( this );
connect( fProcessEventsTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(processEvents()) );
connect( fTimeoutTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timeout()) );
connect( fProgressTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT( progress()) );
connect( fRotateLinksTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT( detect()) );
connect( this, TQT_SIGNAL(finished()), this, TQT_SLOT(disconnectDevices()) );
connect( fProcessEventsTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(processEvents()) );
connect( fTimeoutTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(timeout()) );
connect( fProgressTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT( progress()) );
connect( fRotateLinksTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT( detect()) );
connect( this, TQ_SIGNAL(finished()), this, TQ_SLOT(disconnectDevices()) );
}
ProbeDialog::~ProbeDialog()
@ -182,7 +182,7 @@ int ProbeDialog::exec()
mDetected = false;
mUserName = TQString();
mDevice = TQString();
TQTimer::singleShot( 0, this, TQT_SLOT( startDetection() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( startDetection() ) );
return KDialogBase::exec();
}
@ -193,7 +193,7 @@ void ProbeDialog::startDetection()
disconnectDevices();
fProgress->setProgress(0);
fStatus->setText( i18n("Starting detection...") );
TQTimer::singleShot(0, this, TQT_SLOT(processEvents()) );
TQTimer::singleShot(0, this, TQ_SLOT(processEvents()) );
processEvents();
PilotDaemonDCOP_stub *daemonStub = new PilotDaemonDCOP_stub("kpilotDaemon", "KPilotDaemonIface");
if (daemonStub) {
@ -226,7 +226,7 @@ void ProbeDialog::startDetection()
DEBUGKPILOT<<"new kpilotDeviceLink for "<<(*it)<<endl;
#endif
mDeviceLinks[i].append( link );
connect( link, TQT_SIGNAL(deviceReady(KPilotDeviceLink*)), this, TQT_SLOT(connection(KPilotDeviceLink*)) );
connect( link, TQ_SIGNAL(deviceReady(KPilotDeviceLink*)), this, TQ_SLOT(connection(KPilotDeviceLink*)) );
processEvents();
}
}
@ -293,7 +293,7 @@ void ProbeDialog::connection( KPilotDeviceLink*lnk)
fResultsGroup->setEnabled( true );
enableButtonOK(true);
TQTimer::singleShot(0, this, TQT_SLOT(retrieveDBList()));
TQTimer::singleShot(0, this, TQ_SLOT(retrieveDBList()));
}
void ProbeDialog::retrieveDBList()
@ -329,7 +329,7 @@ void ProbeDialog::retrieveDBList()
// End sync gracefully, but don't change settings on the handheld.
mActiveLink->endSync( KPilotLink::NoUpdate );
TQTimer::singleShot(0, this, TQT_SLOT(disconnectDevices()));
TQTimer::singleShot(0, this, TQ_SLOT(disconnectDevices()));
}
void ProbeDialog::disconnectDevices()
{

@ -45,7 +45,7 @@ typedef TQMap<TQString, KPilotDeviceLink*> PilotLinkMap;
class ProbeDialog : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:
ProbeDialog(TQWidget *p=0L,const char *n=0L);

@ -63,7 +63,7 @@ class TQStringList;
class ListCategorizer : public TDEListView
{
Q_OBJECT
TQ_OBJECT
public:

@ -68,7 +68,7 @@ LogFile::LogFile() : DCOPObject("LogIface"), TQObject(), fOutfile(0L), fSyncing(
}
fSyncing = true;
fLogStream.setDevice(TQT_TQIODEVICE(fOutfile));
fLogStream.setDevice(fOutfile);
fLogStream<<(CSL1("KPilot HotSync log, %1").arg(TQDateTime::currentDateTime().toString()))<<endl<<endl<<endl;
fLogStream<<(CSL1("Version: KPilot %1").arg(TQString::fromLatin1(KPILOT_VERSION)))<<endl;

@ -38,7 +38,7 @@ class TQTextStream;
class LogFile : public TQObject, public LoggerDCOP
{
Q_OBJECT
TQ_OBJECT
public:

@ -135,13 +135,13 @@ LogWidget::LogWidget(TQWidget * parent) :
h);
TQWhatsThis::add(b,i18n("<qt>Clears the list of messages from the "
"current HotSync.</qt>"));
connect(b,TQT_SIGNAL(clicked()),this,TQT_SLOT(clearLog()));
connect(b,TQ_SIGNAL(clicked()),this,TQ_SLOT(clearLog()));
b = new TQPushButton(i18n("Save Log..."),h);
TQWhatsThis::add(b,i18n("<qt>You can save the list of messages received "
"during this HotSync to a file (for example for use in a "
"bug report) by clicking here.</qt>"));
connect(b,TQT_SIGNAL(clicked()),this,TQT_SLOT(saveLog()));
connect(b,TQ_SIGNAL(clicked()),this,TQ_SLOT(saveLog()));
fButtonBox = h;
@ -193,7 +193,7 @@ LogWidget::LogWidget(TQWidget * parent) :
fSplash = new TQLabel(this);
fSplash->setPixmap(splash);
fSplash->setAlignment(AlignCenter);
TQTimer::singleShot(3000,this,TQT_SLOT(hideSplash()));
TQTimer::singleShot(3000,this,TQ_SLOT(hideSplash()));
grid->addMultiCellWidget(fSplash,1,3,1,2);
grid->addColSpacing(0,10);
grid->setColStretch(1,50);

@ -39,7 +39,7 @@ class KProgress;
class LogWidget : public PilotComponent , public LoggerDCOP
{
Q_OBJECT
TQ_OBJECT
public:

@ -137,20 +137,20 @@ void connectStack( KPilotLink *l, ActionQueue *a, bool loop = false )
if (l && a)
{
TQObject::connect(a, TQT_SIGNAL(syncDone(SyncAction *)),
l, TQT_SLOT(close()));
TQObject::connect(a, TQ_SIGNAL(syncDone(SyncAction *)),
l, TQ_SLOT(close()));
if (!loop)
{
TQObject::connect(a, TQT_SIGNAL(syncDone(SyncAction *)),
kapp, TQT_SLOT(quit()));
TQObject::connect(a, TQ_SIGNAL(syncDone(SyncAction *)),
kapp, TQ_SLOT(quit()));
}
else
{
TQObject::connect(a, TQT_SIGNAL(syncDone(SyncAction *)),
l, TQT_SLOT(reset()));
TQObject::connect(a, TQ_SIGNAL(syncDone(SyncAction *)),
l, TQ_SLOT(reset()));
}
TQObject::connect(l, TQT_SIGNAL(deviceReady(KPilotLink*)),
a, TQT_SLOT(execConduit()));
TQObject::connect(l, TQ_SIGNAL(deviceReady(KPilotLink*)),
a, TQ_SLOT(execConduit()));
}
}

@ -228,8 +228,8 @@ void MemoWidget::setupWidget()
fCatList = new TQComboBox(this);
grid->addWidget(fCatList, 0, 1);
connect(fCatList, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotSetCategory(int)));
connect(fCatList, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotSetCategory(int)));
TQWhatsThis::add(fCatList,
i18n("Select the category of addresses\n"
"to display here."));
@ -241,10 +241,10 @@ void MemoWidget::setupWidget()
fListBox = new TQListBox(this);
grid->addMultiCellWidget(fListBox, 1, 1, 0, 1);
connect(fListBox, TQT_SIGNAL(highlighted(int)),
this, TQT_SLOT(slotShowMemo(int)));
connect(fListBox, TQT_SIGNAL(selectionChanged()),
this,TQT_SLOT(slotUpdateButtons()));
connect(fListBox, TQ_SIGNAL(highlighted(int)),
this, TQ_SLOT(slotShowMemo(int)));
connect(fListBox, TQ_SIGNAL(selectionChanged()),
this,TQ_SLOT(slotUpdateButtons()));
TQWhatsThis::add(fListBox,
i18n("This list displays all the memos\n"
"in the selected category. Click on\n"
@ -263,7 +263,7 @@ void MemoWidget::setupWidget()
button = new TQPushButton(i18n("Import Memo..."), this);
grid->addWidget(button, 2, 0);
connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotImportMemo()));
connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotImportMemo()));
wt = KPilotSettings::internalEditors() ?
i18n ("Read a text file and add it to the Pilot's memo database.") :
i18n("<qt><i>Import is disabled by the 'internal editors' setting.</i></qt>");
@ -271,15 +271,15 @@ void MemoWidget::setupWidget()
fExportButton = new TQPushButton(i18n("Export Memo..."), this);
grid->addWidget(fExportButton, 2, 1);
connect(fExportButton, TQT_SIGNAL(clicked()), this,
TQT_SLOT(slotExportMemo()));
connect(fExportButton, TQ_SIGNAL(clicked()), this,
TQ_SLOT(slotExportMemo()));
TQWhatsThis::add(fExportButton,
i18n("Write the selected memo to a file."));
fDeleteButton = new TQPushButton(i18n("Delete Memo"), this);
grid->addWidget(fDeleteButton, 3, 1);
connect(fDeleteButton, TQT_SIGNAL(clicked()), this,
TQT_SLOT(slotDeleteMemo()));
connect(fDeleteButton, TQ_SIGNAL(clicked()), this,
TQ_SLOT(slotDeleteMemo()));
wt = KPilotSettings::internalEditors() ?
i18n("Delete the selected memo.") :
i18n("<qt><i>Deleting is disabled by the 'internal editors' setting.</i></qt>") ;
@ -287,7 +287,7 @@ void MemoWidget::setupWidget()
button = new TQPushButton(i18n("Add Memo"), this);
grid->addWidget(button, 3, 0);
connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAddMemo()));
connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAddMemo()));
TQWhatsThis::add(button,i18n("Add a new memo to the database."));
}

@ -41,7 +41,7 @@ class PilotListItem;
class MemoWidget : public PilotComponent
{
Q_OBJECT
TQ_OBJECT
public:

@ -40,7 +40,7 @@ class TQString;
class PilotComponent : public TQWidget
{
Q_OBJECT
TQ_OBJECT
friend class KPilotInstaller;

@ -119,14 +119,14 @@ PilotDaemonTray::PilotDaemonTray(PilotDaemon * p) :
switch (e->button())
{
case Qt::RightButton:
case TQt::RightButton:
{
TDEPopupMenu *menu = contextMenu();
contextMenuAboutToShow(menu);
menu->popup(e->globalPos());
}
break;
case Qt::LeftButton:
case TQt::LeftButton:
if (daemon) daemon->slotRunKPilot();
break;
default:
@ -150,14 +150,14 @@ void PilotDaemonTray::setupWidget()
icons[NotListening] = loadIcon( CSL1("nosync") );
slotShowNotListening();
TQTimer::singleShot(2000,this,TQT_SLOT(slotShowNormal()));
TQTimer::singleShot(2000,this,TQ_SLOT(slotShowNormal()));
TDEPopupMenu *menu = contextMenu();
menuKPilotItem = menu->insertItem(i18n("Start &KPilot"), daemon,
TQT_SLOT(slotRunKPilot()));
TQ_SLOT(slotRunKPilot()));
menuConfigureConduitsItem = menu->insertItem(i18n("&Configure KPilot..."),
daemon, TQT_SLOT(slotRunConfig()));
daemon, TQ_SLOT(slotRunConfig()));
menu->insertSeparator();
fSyncTypeMenu = new TDEPopupMenu(menu,"sync_type_menu");
@ -181,7 +181,7 @@ void PilotDaemonTray::setupWidget()
fSyncTypeMenu->setCheckable(true);
fSyncTypeMenu->setItemChecked(0,true);
#undef MI
connect(fSyncTypeMenu,TQT_SIGNAL(activated(int)),daemon,TQT_SLOT(requestSync(int)));
connect(fSyncTypeMenu,TQ_SIGNAL(activated(int)),daemon,TQ_SLOT(requestSync(int)));
menu->insertItem(i18n("Next &Sync"),fSyncTypeMenu);
KHelpMenu *help = new KHelpMenu(menu,aboutData);
@ -261,8 +261,8 @@ void PilotDaemonTray::startHotSync()
}
if (fBlinkTimer)
{
connect(fBlinkTimer,TQT_SIGNAL(timeout()),
this,TQT_SLOT(slotBusyTimer()));
connect(fBlinkTimer,TQ_SIGNAL(timeout()),
this,TQ_SLOT(slotBusyTimer()));
fBlinkTimer->start(750,false);
}
}
@ -305,8 +305,8 @@ PilotDaemon::PilotDaemon() :
fInstaller = new FileInstaller;
fLogFile = new LogFile;
connect(fInstaller, TQT_SIGNAL(filesChanged()),
this, TQT_SLOT(slotFilesChanged()));
connect(fInstaller, TQ_SIGNAL(filesChanged()),
this, TQ_SLOT(slotFilesChanged()));
fNextSyncType.setMode( KPilotSettings::syncType() );
@ -594,16 +594,16 @@ bool PilotDaemon::setupPilotLink()
return false;
}
TQObject::connect(fPilotLink, TQT_SIGNAL(deviceReady(KPilotLink*)),
this, TQT_SLOT(startHotSync(KPilotLink*)));
TQObject::connect(fPilotLink, TQ_SIGNAL(deviceReady(KPilotLink*)),
this, TQ_SLOT(startHotSync(KPilotLink*)));
// connect the signals emitted by the pilotDeviceLink
TQObject::connect(fPilotLink, TQT_SIGNAL(logError(const TQString &)),
this, TQT_SLOT(logError(const TQString &)));
TQObject::connect(fPilotLink, TQT_SIGNAL(logMessage(const TQString &)),
this, TQT_SLOT(logMessage(const TQString &)));
TQObject::connect(fPilotLink, TQ_SIGNAL(logError(const TQString &)),
this, TQ_SLOT(logError(const TQString &)));
TQObject::connect(fPilotLink, TQ_SIGNAL(logMessage(const TQString &)),
this, TQ_SLOT(logMessage(const TQString &)));
TQObject::connect(fPilotLink,
TQT_SIGNAL(logProgress(const TQString &,int)),
this, TQT_SLOT(logProgress(const TQString &,int)));
TQ_SIGNAL(logProgress(const TQString &,int)),
this, TQ_SLOT(logProgress(const TQString &,int)));
return true;
@ -1107,18 +1107,18 @@ bool PilotDaemon::shouldBackup()
launch:
fSyncStack->queueCleanup();
TQObject::connect(fSyncStack, TQT_SIGNAL(logError(const TQString &)),
this, TQT_SLOT(logError(const TQString &)));
TQObject::connect(fSyncStack, TQT_SIGNAL(logMessage(const TQString &)),
this, TQT_SLOT(logMessage(const TQString &)));
TQObject::connect(fSyncStack, TQ_SIGNAL(logError(const TQString &)),
this, TQ_SLOT(logError(const TQString &)));
TQObject::connect(fSyncStack, TQ_SIGNAL(logMessage(const TQString &)),
this, TQ_SLOT(logMessage(const TQString &)));
TQObject::connect(fSyncStack,
TQT_SIGNAL(logProgress(const TQString &,int)),
this, TQT_SLOT(logProgress(const TQString &,int)));
TQ_SIGNAL(logProgress(const TQString &,int)),
this, TQ_SLOT(logProgress(const TQString &,int)));
TQObject::connect(fSyncStack, TQT_SIGNAL(syncDone(SyncAction *)),
this, TQT_SLOT(endHotSync()));
TQObject::connect(fSyncStack, TQ_SIGNAL(syncDone(SyncAction *)),
this, TQ_SLOT(endHotSync()));
TQTimer::singleShot(0,fSyncStack,TQT_SLOT(execConduit()));
TQTimer::singleShot(0,fSyncStack,TQ_SLOT(execConduit()));
updateTrayStatus();
}
@ -1183,7 +1183,7 @@ launch:
}
else
{
TQTimer::singleShot(10000,fPilotLink,TQT_SLOT(reset()));
TQTimer::singleShot(10000,fPilotLink,TQ_SLOT(reset()));
}
fPostSyncAction = None;

@ -53,7 +53,7 @@ class KPilotDeviceLink;
class PilotDaemonTray : public KSystemTray
{
Q_OBJECT
TQ_OBJECT
friend class PilotDaemon;
@ -84,7 +84,7 @@ protected slots:
void slotShowNotListening();
void slotBusyTimer();
// "Regular" QT actions
// "Regular" TQt actions
//
//
virtual void mousePressEvent(TQMouseEvent* e);
@ -127,7 +127,7 @@ private:
class PilotDaemon : public TQObject, virtual public PilotDaemonDCOP
{
Q_OBJECT
TQ_OBJECT
// The tray must be our friend so that we can let it stop the daemon.

@ -56,8 +56,8 @@ TodoEditor::TodoEditor(PilotTodoEntry * p, struct ToDoAppInfo *appInfo,
setMainWidget(fWidget);
fillFields();
connect(parent, TQT_SIGNAL(recordChanged(PilotTodoEntry *)),
this, TQT_SLOT(updateRecord(PilotTodoEntry *)));
connect(parent, TQ_SIGNAL(recordChanged(PilotTodoEntry *)),
this, TQ_SLOT(updateRecord(PilotTodoEntry *)));
}

@ -42,7 +42,7 @@ class TodoEditorBase;
class TodoEditor : public KDialogBase
{
Q_OBJECT
TQ_OBJECT

@ -212,8 +212,8 @@ void TodoWidget::setupWidget()
fCatList = new TQComboBox(this);
grid->addWidget(fCatList, 0, 1);
connect(fCatList, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotSetCategory(int)));
connect(fCatList, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotSetCategory(int)));
TQWhatsThis::add(fCatList,
i18n("<qt>Select the category of to-dos to display here.</qt>"));
@ -229,16 +229,16 @@ void TodoWidget::setupWidget()
fListBox->setItemsMovable( FALSE );
fListBox->setItemsRenameable (TRUE);
grid->addMultiCellWidget(fListBox, 1, 1, 0, 1);
connect(fListBox, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
this, TQT_SLOT(slotShowTodo(TQListViewItem*)));
connect(fListBox, TQT_SIGNAL(doubleClicked(TQListViewItem*)),
this, TQT_SLOT(slotEditRecord(TQListViewItem*)));
connect(fListBox, TQT_SIGNAL(returnPressed(TQListViewItem*)),
this, TQT_SLOT(slotEditRecord(TQListViewItem*)));
connect(fListBox, TQT_SIGNAL(itemChecked(TQCheckListItem*, bool)),
this, TQT_SLOT(slotItemChecked(TQCheckListItem*, bool)));
connect(fListBox, TQT_SIGNAL(itemRenamed(TQListViewItem*, const TQString &, int)),
this, TQT_SLOT(slotItemRenamed(TQListViewItem*, const TQString &, int)));
connect(fListBox, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
this, TQ_SLOT(slotShowTodo(TQListViewItem*)));
connect(fListBox, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
this, TQ_SLOT(slotEditRecord(TQListViewItem*)));
connect(fListBox, TQ_SIGNAL(returnPressed(TQListViewItem*)),
this, TQ_SLOT(slotEditRecord(TQListViewItem*)));
connect(fListBox, TQ_SIGNAL(itemChecked(TQCheckListItem*, bool)),
this, TQ_SLOT(slotItemChecked(TQCheckListItem*, bool)));
connect(fListBox, TQ_SIGNAL(itemRenamed(TQListViewItem*, const TQString &, int)),
this, TQ_SLOT(slotItemRenamed(TQListViewItem*, const TQString &, int)));
TQWhatsThis::add(fListBox,
i18n("<qt>This list displays all the to-dos "
"in the selected category. Click on "
@ -256,7 +256,7 @@ void TodoWidget::setupWidget()
fEditButton = new TQPushButton(i18n("Edit Record..."), this);
grid->addWidget(fEditButton, 2, 0);
connect(fEditButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditRecord()));
connect(fEditButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditRecord()));
wt = KPilotSettings::internalEditors() ?
i18n("<qt>You can edit a to-do when it is selected.</qt>") :
@ -265,7 +265,7 @@ void TodoWidget::setupWidget()
button = new TQPushButton(i18n("New Record..."), this);
grid->addWidget(button, 2, 1);
connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCreateNewRecord()));
connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCreateNewRecord()));
wt = KPilotSettings::internalEditors() ?
i18n("<qt>Add a new to-do to the to-do list.</qt>") :
i18n("<qt><i>Adding new to-dos is disabled by the 'internal editors' setting.</i></qt>");
@ -274,8 +274,8 @@ void TodoWidget::setupWidget()
fDeleteButton = new TQPushButton(i18n("Delete Record"), this);
grid->addWidget(fDeleteButton, 3, 0);
connect(fDeleteButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotDeleteRecord()));
connect(fDeleteButton, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotDeleteRecord()));
wt = KPilotSettings::internalEditors() ?
i18n("<qt>Delete the selected to-do from the to-do list.</qt>") :
i18n("<qt><i>Deleting is disabled by the 'internal editors' setting.</i></qt>") ;
@ -369,10 +369,10 @@ void TodoWidget::slotEditRecord(TQListViewItem*item)
TodoEditor *editor = new TodoEditor(selectedRecord,
fTodoAppInfo->info(), this);
connect(editor, TQT_SIGNAL(recordChangeComplete(PilotTodoEntry *)),
this, TQT_SLOT(slotUpdateRecord(PilotTodoEntry *)));
connect(editor, TQT_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotEditCancelled()));
connect(editor, TQ_SIGNAL(recordChangeComplete(PilotTodoEntry *)),
this, TQ_SLOT(slotUpdateRecord(PilotTodoEntry *)));
connect(editor, TQ_SIGNAL(cancelClicked()),
this, TQ_SLOT(slotEditCancelled()));
editor->show();
fPendingTodos++;
@ -419,10 +419,10 @@ void TodoWidget::slotCreateNewRecord()
TodoEditor *editor = new TodoEditor(0L,
fTodoAppInfo->info(), this);
connect(editor, TQT_SIGNAL(recordChangeComplete(PilotTodoEntry *)),
this, TQT_SLOT(slotAddRecord(PilotTodoEntry *)));
connect(editor, TQT_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotEditCancelled()));
connect(editor, TQ_SIGNAL(recordChangeComplete(PilotTodoEntry *)),
this, TQ_SLOT(slotAddRecord(PilotTodoEntry *)));
connect(editor, TQ_SIGNAL(cancelClicked()),
this, TQ_SLOT(slotEditCancelled()));
editor->show();
fPendingTodos++;

@ -40,7 +40,7 @@ class TQTextView;
class TodoListView : public TDEListView
{
Q_OBJECT
TQ_OBJECT
public:
TodoListView(TQWidget * parent = 0, const char * name = 0 ):TDEListView(parent, name){};
@ -66,7 +66,7 @@ public:
class TodoWidget : public PilotComponent
{
Q_OBJECT
TQ_OBJECT
public:

@ -156,17 +156,17 @@ void ActionQueue::actionCompleted(SyncAction *b)
<< endl;
#endif
TQObject::connect(a, TQT_SIGNAL(logMessage(const TQString &)),
this, TQT_SIGNAL(logMessage(const TQString &)));
TQObject::connect(a, TQT_SIGNAL(logError(const TQString &)),
this, TQT_SIGNAL(logMessage(const TQString &)));
TQObject::connect(a, TQT_SIGNAL(logProgress(const TQString &, int)),
this, TQT_SIGNAL(logProgress(const TQString &, int)));
TQObject::connect(a, TQT_SIGNAL(syncDone(SyncAction *)),
this, TQT_SLOT(actionCompleted(SyncAction *)));
TQObject::connect(a, TQ_SIGNAL(logMessage(const TQString &)),
this, TQ_SIGNAL(logMessage(const TQString &)));
TQObject::connect(a, TQ_SIGNAL(logError(const TQString &)),
this, TQ_SIGNAL(logMessage(const TQString &)));
TQObject::connect(a, TQ_SIGNAL(logProgress(const TQString &, int)),
this, TQ_SIGNAL(logProgress(const TQString &, int)));
TQObject::connect(a, TQ_SIGNAL(syncDone(SyncAction *)),
this, TQ_SLOT(actionCompleted(SyncAction *)));
// Run the action picked from the queue when we get back
// to the event loop.
TQTimer::singleShot(0,a,TQT_SLOT(execConduit()));
TQTimer::singleShot(0,a,TQ_SLOT(execConduit()));
}

@ -56,7 +56,7 @@
*/
class KDE_EXPORT ActionQueue : public SyncAction
{
Q_OBJECT
TQ_OBJECT
public:
/**

@ -76,7 +76,7 @@ static inline void startOpenTimer(DeviceCommThread *dev, TQTimer *&t)
if ( !t)
{
t = new TQTimer(dev);
TQObject::connect(t, TQT_SIGNAL(timeout()), dev, TQT_SLOT(openDevice()));
TQObject::connect(t, TQ_SIGNAL(timeout()), dev, TQ_SLOT(openDevice()));
}
// just a single-shot timer. we'll know when to start it again...
t->start(1000, true);
@ -306,8 +306,8 @@ bool DeviceCommThread::open(const TQString &device)
fSocketNotifier = new TQSocketNotifier(fTempSocket,
TQSocketNotifier::Read, this);
TQObject::connect(fSocketNotifier, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(acceptDevice()));
TQObject::connect(fSocketNotifier, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(acceptDevice()));
fSocketNotifierActive=true;
/**
@ -323,7 +323,7 @@ bool DeviceCommThread::open(const TQString &device)
}
fWorkaroundUSBTimer = new TQTimer(this);
connect(fWorkaroundUSBTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(workaroundUSB()));
connect(fWorkaroundUSBTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(workaroundUSB()));
fWorkaroundUSBTimer->start(timeout, true);
return true;

@ -74,7 +74,7 @@ class KDE_EXPORT KPilotDeviceLink : public KPilotLink
friend class PilotSerialDatabase;
friend class DeviceCommThread;
Q_OBJECT
TQ_OBJECT
public:

@ -215,7 +215,7 @@ class DeviceCommThread : public TQObject, public TQThread
{
friend class KPilotDeviceLink;
Q_OBJECT
TQ_OBJECT
public:

@ -170,7 +170,7 @@ class PilotDatabase;
*/
class KDE_EXPORT KPilotLink : public TQObject
{
Q_OBJECT
TQ_OBJECT
friend class SyncAction;
public:

@ -157,7 +157,7 @@ KPilotLocalLink::~KPilotLocalLink()
if (fReady)
{
findAvailableDatabases(*d, fPath);
TQTimer::singleShot(500,this,TQT_SLOT(ready()));
TQTimer::singleShot(500,this,TQ_SLOT(ready()));
}
else
{

@ -42,7 +42,7 @@
*/
class KDE_EXPORT KPilotLocalLink : public KPilotLink
{
Q_OBJECT
TQ_OBJECT
public:
KPilotLocalLink( TQObject *parent=0L, const char *name=0L );

@ -174,7 +174,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText)
text += ps;
TQDateTime dt(readTm(getEventStart()));
TQString startDate(dt.toString(Qt::LocalDate));
TQString startDate(dt.toString(TQt::LocalDate));
text+=par;
text+=i18n("Start date: %1").arg(startDate);
text+=ps;
@ -188,7 +188,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText)
else
{
dt=readTm(getEventEnd());
TQString endDate(dt.toString(Qt::LocalDate));
TQString endDate(dt.toString(TQt::LocalDate));
text+=par;
text+=i18n("End date: %1").arg(endDate);
text+=ps;
@ -237,7 +237,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText)
else
{
dt = readTm(getRepeatEnd()).date();
text+=i18n("Until %1").arg(dt.toString(Qt::LocalDate));
text+=i18n("Until %1").arg(dt.toString(TQt::LocalDate));
}
text+=br;
@ -264,7 +264,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText)
for (int i = 0; i < getExceptionCount(); i++)
{
TQDate exdt=readTm(getExceptions()[i]).date();
text+=exdt.toString(Qt::LocalDate);
text+=exdt.toString(TQt::LocalDate);
text+=br;
}
text+=ps;

@ -91,7 +91,7 @@ public:
PilotDateEntry& operator=(const PilotDateEntry &e);
/** Create a textual representation (human-readable) of this appointment.
* If @p richText is true, then the text representation uses qt style
* If @p richText is true, then the text representation uses tqt style
* tags as well.
*/
TQString getTextRepresentation(TQt::TextFormat richText);

@ -138,7 +138,7 @@ TQString PilotTodoEntry::getTextRepresentation(TQt::TextFormat richText)
if (!getIndefinite())
{
TQDate dt(readTm(getDueDate()).date());
TQString dueDate(dt.toString(Qt::LocalDate));
TQString dueDate(dt.toString(TQt::LocalDate));
text+=par;
text+=i18n("Due date: %1").arg(dueDate);
text+=ps;

@ -70,7 +70,7 @@ public:
}
/** Return a string for the ToDo item. If @param richText is true, then
* use qt style markup to make the string clearer when displayed.
* use tqt style markup to make the string clearer when displayed.
*/
TQString getTextRepresentation(TQt::TextFormat richText);

@ -607,17 +607,17 @@ ConduitProxy::ConduitProxy(KPilotLink *p,
addSyncLogEntry(i18n("[Conduit %1]").arg(fDesktopName));
// Handle the syncDone signal properly & unload the conduit.
TQObject::connect(fConduit,TQT_SIGNAL(syncDone(SyncAction *)),
this,TQT_SLOT(execDone(SyncAction *)));
TQObject::connect(fConduit,TQ_SIGNAL(syncDone(SyncAction *)),
this,TQ_SLOT(execDone(SyncAction *)));
// Proxy all the log and error messages.
TQObject::connect(fConduit,TQT_SIGNAL(logMessage(const TQString &)),
this,TQT_SIGNAL(logMessage(const TQString &)));
TQObject::connect(fConduit,TQT_SIGNAL(logError(const TQString &)),
this,TQT_SIGNAL(logError(const TQString &)));
TQObject::connect(fConduit,TQT_SIGNAL(logProgress(const TQString &,int)),
this,TQT_SIGNAL(logProgress(const TQString &,int)));
TQTimer::singleShot(0,fConduit,TQT_SLOT(execConduit()));
TQObject::connect(fConduit,TQ_SIGNAL(logMessage(const TQString &)),
this,TQ_SIGNAL(logMessage(const TQString &)));
TQObject::connect(fConduit,TQ_SIGNAL(logError(const TQString &)),
this,TQ_SIGNAL(logError(const TQString &)));
TQObject::connect(fConduit,TQ_SIGNAL(logProgress(const TQString &,int)),
this,TQ_SIGNAL(logProgress(const TQString &,int)));
TQTimer::singleShot(0,fConduit,TQ_SLOT(execConduit()));
return true;
}

@ -77,7 +77,7 @@ namespace Pilot
*/
class KDE_EXPORT ConduitConfigBase : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
/**
@ -260,7 +260,7 @@ private:
class KDE_EXPORT ConduitAction : public SyncAction
{
Q_OBJECT
TQ_OBJECT
public:
@ -368,7 +368,7 @@ private:
*/
class ConduitProxy : public ConduitAction
{
Q_OBJECT
TQ_OBJECT
public:
@ -420,7 +420,7 @@ namespace PluginUtility KDE_EXPORT
* <pre>
* class KPilotPlugin : public KLibFactory
* {
* Q_OBJECT
* TQ_OBJECT
*
* public:
@ -446,7 +446,7 @@ namespace PluginUtility KDE_EXPORT
* protected:
* virtual TQObject* createObject( TQObject* parent = 0,
* const char* name = 0,
* const char* classname = TQOBJECT_OBJECT_NAME_STRING,
* const char* classname = "TQObject",
* const TQStringList &args = TQStringList() );
* </pre>
*

@ -55,7 +55,7 @@ protected:
virtual TQObject *createObject(
TQObject* parent = 0,
const char* name = 0,
const char* classname = TQOBJECT_OBJECT_NAME_STRING,
const char* classname = "TQObject",
const TQStringList &args = TQStringList() )
{
if (qstrcmp(classname,"ConduitConfigBase")==0)

@ -76,7 +76,7 @@ long version_record_conduit = Pilot::PLUGIN_API;
fIDListIterator = fIDList.begin();
fTimer = new TQTimer(this);
connect(fTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(process()));
connect(fTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(process()));
fTimer->start(0,false); // Fire as often as possible to prompt processing
return true;
}
@ -327,7 +327,7 @@ RecordConduit::~RecordConduit()
for this, and no longer purge the whole addressbook before the sync to
prevent data loss in case of connection loss. */
TQTimer::singleShot(0, this, TQT_SLOT(slotPalmRecToPC()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPalmRecToPC()));
return true;
}
@ -342,7 +342,7 @@ void RecordConduit::slotPalmRecToPC()
if ( getSyncDirection() == SyncAction::eCopyPCToHH )
{
mPCIter = mPCData->begin();
TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm()));
return;
}
@ -354,7 +354,7 @@ void RecordConduit::slotPalmRecToPC()
if ( !palmRec )
{
mPCIter = mPCData->begin();
TQTimer::singleShot( 0, this, TQT_SLOT( slotPCRecToPalm() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotPCRecToPalm() ) );
return;
}
@ -362,7 +362,7 @@ void RecordConduit::slotPalmRecToPC()
if ( mSyncedIds.contains( palmRec->id() ) )
{
KPILOT_DELETE( palmRec );
TQTimer::singleShot( 0, this, TQT_SLOT( slotPalmRecToPC() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotPalmRecToPC() ) );
return;
}
@ -389,7 +389,7 @@ void RecordConduit::slotPalmRecToPC()
KPILOT_DELETE( palmRec );
KPILOT_DELETE( backupRec );
TQTimer::singleShot(0, this, TQT_SLOT(slotPalmRecToPC()));
TQTimer::singleShot(0, this, TQ_SLOT(slotPalmRecToPC()));
}
@ -402,7 +402,7 @@ void RecordConduit::slotPCRecToPalm()
mPCData->atEnd( mPCIter ) )
{
mPalmIndex = 0;
TQTimer::singleShot( 0, this, TQT_SLOT( slotDeletedRecord() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotDeletedRecord() ) );
return;
}
@ -418,7 +418,7 @@ void RecordConduit::slotPCRecToPalm()
" marked archived, so don't sync." << endl;
#endif
KPILOT_DELETE( pcEntry );
TQTimer::singleShot( 0, this, TQT_SLOT( slotPCRecToPalm() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotPCRecToPalm() ) );
return;
}
@ -428,7 +428,7 @@ void RecordConduit::slotPCRecToPalm()
// it's a new item(no record ID and not inserted by the Palm -> PC sync), so add it
syncEntry( pcEntry, 0L, 0L );
KPILOT_DELETE( pcEntry );
TQTimer::singleShot( 0, this, TQT_SLOT( slotPCRecToPalm() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotPCRecToPalm() ) );
return;
}
@ -439,7 +439,7 @@ void RecordConduit::slotPCRecToPalm()
DEBUGKPILOT << ": address with id " << recID << " already synced." << endl;
#endif
KPILOT_DELETE( pcEntry );
TQTimer::singleShot( 0, this, TQT_SLOT( slotPCRecToPalm() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotPCRecToPalm() ) );
return;
}
@ -470,7 +470,7 @@ void RecordConduit::slotPCRecToPalm()
mSyncedIds.append( recID );
// done with the sync process, go on with the next one:
TQTimer::singleShot( 0, this, TQT_SLOT( slotPCRecToPalm() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotPCRecToPalm() ) );
}
@ -483,7 +483,7 @@ void RecordConduit::slotDeletedRecord()
if( !backupRec || isFirstSync() )
{
KPILOT_DELETE(backupRec);
TQTimer::singleShot( 0, this, TQT_SLOT( slotDeleteUnsyncedPCRecords() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotDeleteUnsyncedPCRecords() ) );
return;
}
@ -491,7 +491,7 @@ void RecordConduit::slotDeletedRecord()
if ( mSyncedIds.contains( backupRec->id() ) )
{
KPILOT_DELETE( backupRec );
TQTimer::singleShot( 0, this, TQT_SLOT( slotDeletedRecord() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotDeletedRecord() ) );
return;
}
@ -513,7 +513,7 @@ void RecordConduit::slotDeletedRecord()
KPILOT_DELETE( backupEntry );
KPILOT_DELETE( palmRec );
KPILOT_DELETE( backupRec );
TQTimer::singleShot( 0, this, TQT_SLOT( slotDeletedRecord() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotDeletedRecord() ) );
}
@ -546,7 +546,7 @@ void RecordConduit::slotDeleteUnsyncedPCRecords()
}
}
}
TQTimer::singleShot(0, this, TQT_SLOT(slotDeleteUnsyncedHHRecords()));
TQTimer::singleShot(0, this, TQ_SLOT(slotDeleteUnsyncedHHRecords()));
}
@ -570,7 +570,7 @@ void RecordConduit::slotDeleteUnsyncedHHRecords()
}
}
}
TQTimer::singleShot( 0, this, TQT_SLOT( slotCleanup() ) );
TQTimer::singleShot( 0, this, TQ_SLOT( slotCleanup() ) );
}

@ -55,7 +55,7 @@ class KPilotDeviceLink;
class RecordConduitBase : public ConduitAction
{
Q_OBJECT
TQ_OBJECT
public:
/** Constructor. The TQStringList @p a sets flags for the ConduitAction.

@ -113,7 +113,7 @@ SyncAction::~SyncAction()
bool SyncAction::delayDone()
{
TQTimer::singleShot(0,this,TQT_SLOT(delayedDoneSlot()));
TQTimer::singleShot(0,this,TQ_SLOT(delayedDoneSlot()));
return true;
}
@ -272,7 +272,7 @@ void SyncAction::startTickle(unsigned timeout)
}
else
{
connect(deviceLink(),TQT_SIGNAL(timeout()),this,TQT_SIGNAL(timeout()));
connect(deviceLink(),TQ_SIGNAL(timeout()),this,TQ_SIGNAL(timeout()));
deviceLink()->startTickle(timeout);
}
}
@ -286,7 +286,7 @@ void SyncAction::stopTickle()
}
else
{
disconnect(deviceLink(),TQT_SIGNAL(timeout()),this,TQT_SIGNAL(timeout()));
disconnect(deviceLink(),TQ_SIGNAL(timeout()),this,TQ_SIGNAL(timeout()));
deviceLink()->stopTickle();
}
}
@ -322,8 +322,8 @@ int SyncAction::questionYesNo(const TQString & text,
if ( (timeout > 0) && ( deviceLink() ) )
{
TQObject::connect(deviceLink(), TQT_SIGNAL(timeout()),
dialog, TQT_SLOT(slotCancel()));
TQObject::connect(deviceLink(), TQ_SIGNAL(timeout()),
dialog, TQ_SLOT(slotCancel()));
startTickle(timeout);
}
@ -435,8 +435,8 @@ int SyncAction::questionYesNoCancel(const TQString & text,
if ( (timeout > 0) && (deviceLink()) )
{
TQObject::connect(deviceLink(), TQT_SIGNAL(timeout()),
dialog, TQT_SLOT(slotCancel()));
TQObject::connect(deviceLink(), TQ_SIGNAL(timeout()),
dialog, TQ_SLOT(slotCancel()));
startTickle(timeout);
}

@ -49,7 +49,7 @@ class SyncAction;
class KDE_EXPORT SyncAction : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:

@ -1,26 +1,26 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
# Michele Calgaro <michele.calgaro@yahoo.it>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-30 10:29+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"PO-Revision-Date: 2024-01-22 06:06+0000\n"
"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/kpilot-desktop-files/it/>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Name
#: kpilot/kpilot.desktop:2
#, fuzzy
msgid "KPilot"
msgstr "Demone KPilot"
msgstr "KPilot"
#. GenericName
#: kpilot/kpilot.desktop:4
@ -61,12 +61,12 @@ msgstr "Rubrica degli indirizzi"
#: conduits/abbrowserconduit/abbrowser_conduit.desktop:4
msgid "This conduit syncs the handheld addressbook with TDE's addressbook."
msgstr ""
"Questo condotto sincronizza il tuo palmare con la rubrica indirizzi di TDE"
"Questo condotto sincronizza il tuo palmare con la rubrica indirizzi di TDE."
#. Name
#: conduits/docconduit/doc_conduit.desktop:2
msgid "Palm DOC"
msgstr ""
msgstr "Palm DOC"
#. Comment
#: conduits/docconduit/doc_conduit.desktop:4
@ -76,7 +76,7 @@ msgstr "Aggiunge file di testo al tuo Pilot, adatti per lettori DOC."
#. Name
#: conduits/docconduit/kpalmdoc.desktop:2
msgid "KPalmDOC"
msgstr ""
msgstr "KPalmDOC"
#. GenericName
#: conduits/docconduit/kpalmdoc.desktop:4
@ -125,7 +125,7 @@ msgstr ""
#. Name
#: conduits/notepadconduit/notepad-conduit.desktop:2
msgid "NotePad"
msgstr ""
msgstr "NotePad"
#. Comment
#: conduits/notepadconduit/notepad-conduit.desktop:4
@ -135,7 +135,7 @@ msgstr "Questo conduit archivia i disegni NotePad in una cartella locale."
#. Name
#: conduits/null/null-conduit.desktop:2
msgid "NULL"
msgstr ""
msgstr "NULL"
#. Comment
#: conduits/null/null-conduit.desktop:4
@ -178,7 +178,8 @@ msgstr "Sincronizzazione temporale"
#: conduits/timeconduit/time_conduit.desktop:4
msgid "This conduit sets the time on your handheld from the PC clock."
msgstr ""
"Questo conduit imposta l'ora sul tuo palmare prendendola dall'orologio del PC"
"Questo conduit imposta l'ora sul tuo palmare prendendola dall'orologio del "
"PC."
#. Name
#: conduits/vcalconduit/todo-conduit.desktop:2

@ -1,26 +1,27 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
# Andrei Stepanov <adem4ik@gmail.com>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-30 10:29+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"PO-Revision-Date: 2024-04-21 17:50+0000\n"
"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/kpilot-desktop-files/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
#. Name
#: kpilot/kpilot.desktop:2
#, fuzzy
msgid "KPilot"
msgstr "Служба синхронизации КПК"
msgstr "KPilot"
#. GenericName
#: kpilot/kpilot.desktop:4
@ -50,7 +51,7 @@ msgstr "Канал KPilot"
#. Name
#: kpilot/kpilotdaemon.desktop:2
msgid "KPilotDaemon"
msgstr "Служба синхронизации КПК"
msgstr "KPilotDaemon"
#. Name
#: conduits/abbrowserconduit/abbrowser_conduit.desktop:2
@ -65,7 +66,7 @@ msgstr "Канал синхронизации адресных книг КПК
#. Name
#: conduits/docconduit/doc_conduit.desktop:2
msgid "Palm DOC"
msgstr ""
msgstr "Palm DOC"
#. Comment
#: conduits/docconduit/doc_conduit.desktop:4
@ -75,7 +76,7 @@ msgstr "Перенос текстовых файлов на КПК."
#. Name
#: conduits/docconduit/kpalmdoc.desktop:2
msgid "KPalmDOC"
msgstr ""
msgstr "KPalmDOC"
#. GenericName
#: conduits/docconduit/kpalmdoc.desktop:4
@ -120,7 +121,7 @@ msgstr "Канал синхронизации заметок КПК и TDE."
#. Name
#: conduits/notepadconduit/notepad-conduit.desktop:2
msgid "NotePad"
msgstr ""
msgstr "NotePad"
#. Comment
#: conduits/notepadconduit/notepad-conduit.desktop:4
@ -130,7 +131,7 @@ msgstr "Канал создания резервных копий примеча
#. Name
#: conduits/null/null-conduit.desktop:2
msgid "NULL"
msgstr ""
msgstr "NULL"
#. Comment
#: conduits/null/null-conduit.desktop:4

@ -5,13 +5,13 @@
# Oleg Batalov <olegbatalov@mail.ru>, 2004.
# Олег Баталов <olegbatalov@mail.ru>, 2004.
# Gregory Mokhin <mok@kde.ru>, 2004.
#
# Andrei Stepanov <adem4ik@gmail.com>, 2023, 2024.
msgid ""
msgstr ""
"Project-Id-Version: kpilot\n"
"POT-Creation-Date: 2021-07-07 18:32+0000\n"
"PO-Revision-Date: 2020-01-04 14:07+0000\n"
"Last-Translator: Serg Bormant <bormant@mail.ru>\n"
"PO-Revision-Date: 2024-05-01 20:00+0000\n"
"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/kpilot/ru/>\n"
"Language: ru\n"
@ -20,7 +20,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 3.10\n"
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
@ -767,7 +767,7 @@ msgstr "Настройки канала заметок"
#: conduits/notepadconduit/notepad-conduit.cpp:59
#: conduits/notepadconduit/notepad-factory.cpp:89
msgid "Notepad"
msgstr "Примечание "
msgstr "Блокнот"
#: conduits/notepadconduit/notepad-conduit.cpp:79
#: conduits/sysinfoconduit/sysinfo-conduit.cpp:591
@ -2766,7 +2766,7 @@ msgstr "Найдено подключенное к %1 устройство"
#: kpilot/kpilotProbeDialog.cpp:338
msgid "Disconnected from all devices"
msgstr "Отключен он всех устройств"
msgstr "Отключён от всех устройств"
#: kpilot/kroupware.cpp:126
msgid "Syncing to-dos with KMail"
@ -2995,7 +2995,7 @@ msgstr "Открыть текстовый файл и добавить его в
#: kpilot/memoWidget.cpp:269
msgid "<qt><i>Import is disabled by the 'internal editors' setting.</i></qt>"
msgstr "<qt><i>Импорт отключен настройками внутренних редакторов.</i></qt>"
msgstr "<qt><i>Импорт отключён настройками внутренних редакторов.</i></qt>"
#: kpilot/memoWidget.cpp:272
msgid "Export Memo..."
@ -3079,9 +3079,9 @@ msgid ""
"not sync when screensaver is active' box in the HotSync page of the "
"configuration dialog."
msgstr ""
"Синхронизация отключена поскольку KPilot не может определить состояние "
"Синхронизация отключена, поскольку KPilot не может определить состояние "
"хранителя экрана. Вы можете отключить этот параметр безопасности, выключив "
"'Синхронизация отключена на время блокирования экрана' на вкладке "
"«Синхронизация отключена на время блокирования экрана» на вкладке "
"синхронизации диалога настройки."
#: kpilot/pilotDaemon.cpp:1165 kpilot/pilotDaemon.cpp:1166
@ -3333,19 +3333,19 @@ msgstr "Повторение: каждые %1 %2"
#: lib/pilotDateEntry.cpp:222
msgid "day(s)"
msgstr "день(дней)"
msgstr "дн."
#: lib/pilotDateEntry.cpp:223
msgid "week(s)"
msgstr "неделю(недель)"
msgstr "нед."
#: lib/pilotDateEntry.cpp:225
msgid "month(s)"
msgstr "месяц(ев)"
msgstr "мес."
#: lib/pilotDateEntry.cpp:226
msgid "year(s)"
msgstr "год(лет)"
msgstr "года (лет)"
#: lib/pilotDateEntry.cpp:235
msgid "Repeats indefinitely"
@ -4027,7 +4027,7 @@ msgstr "Дата рождения"
#: conduits/abbrowserconduit/kaddressbookConduit.ui:598
#, no-c-format
msgid "URL"
msgstr "Ссылка Интернета"
msgstr "Ссылка"
#: conduits/abbrowserconduit/kaddressbookConduit.ui:495
#, no-c-format

Loading…
Cancel
Save