summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoDocumentIface.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kofficecore/KoDocumentIface.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kofficecore/KoDocumentIface.h')
-rw-r--r--lib/kofficecore/KoDocumentIface.h92
1 files changed, 46 insertions, 46 deletions
diff --git a/lib/kofficecore/KoDocumentIface.h b/lib/kofficecore/KoDocumentIface.h
index 2713cb43..546859ce 100644
--- a/lib/kofficecore/KoDocumentIface.h
+++ b/lib/kofficecore/KoDocumentIface.h
@@ -21,7 +21,7 @@
#define __KoDocumentIface_h__
#include <dcopobject.h>
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include <dcopref.h>
#include <koffice_export.h>
class KoDocument;
@@ -48,20 +48,20 @@ public:
* Generate a name for this interface. Automatically used if name=0 is
* passed to the constructor
*/
- static QCString newIfaceName();
+ static TQCString newIfaceName();
k_dcop:
/**
* Returns the URL for this document (empty, real URL, or internal one)
*/
- QString url();
+ TQString url();
/**
* Opens a document stored in @p url
* Warning: this is asynchronous. The document might not be loaded yet when
* this call returns. See isLoading.
*/
- void openURL( QString url );
+ void openURL( TQString url );
/**
* @return TRUE is the document is still loading
@@ -86,7 +86,7 @@ k_dcop:
/**
* DCOP-action proxy
*/
- DCOPRef action( const QCString &name );
+ DCOPRef action( const TQCString &name );
/**
* @return list of actions
*/
@@ -94,7 +94,7 @@ k_dcop:
/**
* @return a map of (action name, DCOP reference)
*/
- QMap<QCString,DCOPRef> actionMap();
+ TQMap<TQCString,DCOPRef> actionMap();
/**
* Saves the document under its existing filename
@@ -104,49 +104,49 @@ k_dcop:
/**
* Saves the document under a new name
*/
- void saveAs( const QString & url );
-
- void setOutputMimeType( const QCString & mimetype );
-
- QString documentInfoAuthorName() const;
- QString documentInfoEmail() const;
- QString documentInfoCompanyName() const;
- QString documentInfoTitle() const;
- QString documentInfoAbstract() const;
- QString documentInfoKeywords() const;
- QString documentInfoSubject() const;
- QString documentInfoTelephone() const;
- QString documentInfoTelephoneWork() const;
- QString documentInfoTelephoneHome() const;
- QString documentInfoFax() const;
- QString documentInfoCountry() const;
- QString documentInfoPostalCode() const;
- QString documentInfoCity() const;
- QString documentInfoStreet() const;
- QString documentInfoInitial() const;
- QString documentInfoAuthorPostion() const;
- void setDocumentInfoAuthorName(const QString & text);
- void setDocumentInfoEmail(const QString &text);
- void setDocumentInfoCompanyName(const QString &text);
- void setDocumentInfoTelephone(const QString &text);
- void setDocumentInfoTelephoneWork(const QString &text);
- void setDocumentInfoTelephoneHome(const QString &text);
- void setDocumentInfoFax(const QString &text);
- void setDocumentInfoCountry(const QString &text);
- void setDocumentInfoTitle(const QString & text);
- void setDocumentInfoPostalCode(const QString &text);
- void setDocumentInfoCity(const QString & text);
- void setDocumentInfoStreet(const QString &text);
- void setDocumentInfoAbstract(const QString &text);
- void setDocumentInfoInitial(const QString & text);
- void setDocumentInfoKeywords(const QString & text );
- void setDocumentInfoSubject(const QString & text);
- void setDocumentInfoAuthorPosition(const QString & text);
+ void saveAs( const TQString & url );
+
+ void setOutputMimeType( const TQCString & mimetype );
+
+ TQString documentInfoAuthorName() const;
+ TQString documentInfoEmail() const;
+ TQString documentInfoCompanyName() const;
+ TQString documentInfoTitle() const;
+ TQString documentInfoAbstract() const;
+ TQString documentInfoKeywords() const;
+ TQString documentInfoSubject() const;
+ TQString documentInfoTelephone() const;
+ TQString documentInfoTelephoneWork() const;
+ TQString documentInfoTelephoneHome() const;
+ TQString documentInfoFax() const;
+ TQString documentInfoCountry() const;
+ TQString documentInfoPostalCode() const;
+ TQString documentInfoCity() const;
+ TQString documentInfoStreet() const;
+ TQString documentInfoInitial() const;
+ TQString documentInfoAuthorPostion() const;
+ void setDocumentInfoAuthorName(const TQString & text);
+ void setDocumentInfoEmail(const TQString &text);
+ void setDocumentInfoCompanyName(const TQString &text);
+ void setDocumentInfoTelephone(const TQString &text);
+ void setDocumentInfoTelephoneWork(const TQString &text);
+ void setDocumentInfoTelephoneHome(const TQString &text);
+ void setDocumentInfoFax(const TQString &text);
+ void setDocumentInfoCountry(const TQString &text);
+ void setDocumentInfoTitle(const TQString & text);
+ void setDocumentInfoPostalCode(const TQString &text);
+ void setDocumentInfoCity(const TQString & text);
+ void setDocumentInfoStreet(const TQString &text);
+ void setDocumentInfoAbstract(const TQString &text);
+ void setDocumentInfoInitial(const TQString & text);
+ void setDocumentInfoKeywords(const TQString & text );
+ void setDocumentInfoSubject(const TQString & text);
+ void setDocumentInfoAuthorPosition(const TQString & text);
public:
virtual QCStringList functionsDynamic();
- virtual bool processDynamic( const QCString &fun, const QByteArray &data,
- QCString& replyType, QByteArray &replyData );
+ virtual bool processDynamic( const TQCString &fun, const TQByteArray &data,
+ TQCString& replyType, TQByteArray &replyData );
protected:
KoDocument * m_pDoc;