summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/formfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/formfile.h')
-rw-r--r--kdevdesigner/designer/formfile.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kdevdesigner/designer/formfile.h b/kdevdesigner/designer/formfile.h
index 65d0f389..a2767d33 100644
--- a/kdevdesigner/designer/formfile.h
+++ b/kdevdesigner/designer/formfile.h
@@ -27,7 +27,7 @@
#ifndef FORMFILE_H
#define FORMFILE_H
-#include <qobject.h>
+#include <tqobject.h>
#include "timestamp.h"
#include "metadatabase.h"
@@ -49,25 +49,25 @@ public:
enum UihState { None, Ok, Deleted };
- FormFile( const QString &fn, bool temp, Project *p, const char *name = 0 );
+ FormFile( const TQString &fn, bool temp, Project *p, const char *name = 0 );
~FormFile();
void setFormWindow( FormWindow *f );
void setEditor( SourceEditor *e );
- void setFileName( const QString &fn );
- void setCode( const QString &c );
+ void setFileName( const TQString &fn );
+ void setCode( const TQString &c );
void setModified( bool m, int who = WAnyOrAll );
void setCodeEdited( bool b );
FormWindow *formWindow() const;
SourceEditor *editor() const;
- QString fileName() const;
- QString absFileName() const;
+ TQString fileName() const;
+ TQString absFileName() const;
bool supportsCodeFile() const { return !codeExtension().isEmpty(); }
- QString codeComment() const;
- QString codeFile() const;
- QString code();
+ TQString codeComment() const;
+ TQString codeFile() const;
+ TQString code();
bool isCodeEdited() const;
bool loadCode();
@@ -84,23 +84,23 @@ public:
bool isUihFileUpToDate();
void addFunctionCode( MetaDataBase::Function function );
void removeFunctionCode( MetaDataBase::Function function );
- void functionNameChanged( const QString &oldName, const QString &newName );
- void functionRetTypeChanged( const QString &fuName, const QString &oldType, const QString &newType );
+ void functionNameChanged( const TQString &oldName, const TQString &newName );
+ void functionRetTypeChanged( const TQString &fuName, const TQString &oldType, const TQString &newType );
void showFormWindow();
SourceEditor *showEditor( bool askForUih = TRUE );
- static QString createUnnamedFileName();
- QString formName() const;
+ static TQString createUnnamedFileName();
+ TQString formName() const;
bool isFake() const { return fake; }
- void parseCode( const QString &txt, bool allowModify );
+ void parseCode( const TQString &txt, bool allowModify );
- void addConnection( const QString &sender, const QString &signal,
- const QString &receiver, const QString &slot );
- void removeConnection( const QString &sender, const QString &signal,
- const QString &receiver, const QString &slot );
+ void addConnection( const TQString &sender, const TQString &signal,
+ const TQString &receiver, const TQString &slot );
+ void removeConnection( const TQString &sender, const TQString &signal,
+ const TQString &receiver, const TQString &slot );
bool hasTempFileName() const { return fileNameTemp; }
void setCodeFileState( UihState );
@@ -122,19 +122,19 @@ private:
bool isCodeModified() const;
void setFormWindowModified( bool m );
void setCodeModified( bool m );
- QString codeExtension() const;
+ TQString codeExtension() const;
bool checkFileName( bool allowBreak );
private:
- QString filename;
+ TQString filename;
bool fileNameTemp;
Project *pro;
FormWindow *fw;
SourceEditor *ed;
- QString cod;
+ TQString cod;
TimeStamp timeStamp;
bool codeEdited;
- QString cachedFormName;
+ TQString cachedFormName;
bool fake;
bool pkg;
bool cm;