summaryrefslogtreecommitdiffstats
path: root/quanta/project/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/project.h')
-rw-r--r--quanta/project/project.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/quanta/project/project.h b/quanta/project/project.h
index 95995036..6315c058 100644
--- a/quanta/project/project.h
+++ b/quanta/project/project.h
@@ -22,7 +22,7 @@
#include "projecturl.h"
-class QDom;
+class TQDom;
class ProjectPrivate;
class ProjectList;
namespace KTextEditor{
@@ -53,6 +53,7 @@ struct SubProject {
class Project : public TQObject {
Q_OBJECT
+ TQ_OBJECT
friend class ProjectPrivate; // need this because I use the signals
public:
@@ -63,10 +64,10 @@ public:
* the parameter is only used at the first call to create the class
*
*/
- static Project* const ref(KMainWindow *parent = 0L)
+ static Project* const ref(KMainWindow *tqparent = 0L)
{
static Project *m_ref;
- if (!m_ref) m_ref = new Project(parent);
+ if (!m_ref) m_ref = new Project(tqparent);
return m_ref;
}
@@ -78,7 +79,7 @@ public:
TQStringList fileNameList();
KURL::List files();
- void insertFile( const KURL& nameURL, bool repaint );
+ void insertFile( const KURL& nameURL, bool tqrepaint );
void readConfig(KConfig *);
/** loads the last project again if reload == true
but checks in any case if there is a left over project from a crash
@@ -86,7 +87,7 @@ public:
void loadLastProject(bool reload);
/** Returns the relative url with the prefix inserted. */
KURL urlWithPrefix(const KURL& url);
- bool contains(const KURL &url);
+ bool tqcontains(const KURL &url);
/** Read property of TQString defaultDTD. */
const TQString& defaultDTD();
const TQString& defaultEncoding();
@@ -173,7 +174,7 @@ public slots:
void slotRescanPrjDir();
void slotFileDescChanged(const KURL& url, const TQString& desc);
void slotUploadStatusChanged(const KURL& url, int status);
- void slotChangeDocumentFolderStatus(const KURL& url, bool status);
+ void slotChangeDocumentFoldertqStatus(const KURL& url, bool status);
void slotReloadProjectDocs();
@@ -193,7 +194,7 @@ signals:
void messages(const TQString& );
void enableMessageWidget();
- void newStatus();
+ void newtqStatus();
void statusMsg(const TQString &);
/** No descriptions */
void newProjectLoaded(const TQString &, const KURL &, const KURL &);
@@ -203,7 +204,7 @@ signals:
void getUserToolbarFiles(KURL::List *);
void loadToolbarFile(const KURL &);
/** ask for the tree status for saving in project */
- void getTreeStatus(TQStringList *);
+ void getTreetqStatus(TQStringList *);
void eventHappened(const TQString&, const TQString&, const TQString& );
private:
@@ -211,7 +212,7 @@ private:
* If you need the class use Project::ref() for
* construction and reference
*/
- Project(KMainWindow *parent);
+ Project(KMainWindow *tqparent);
ProjectPrivate *d;
bool m_projectToolbarVisible;