summaryrefslogtreecommitdiffstats
path: root/src/partcontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/partcontroller.h')
-rw-r--r--src/partcontroller.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/partcontroller.h b/src/partcontroller.h
index 1c6a764d..dbb6a632 100644
--- a/src/partcontroller.h
+++ b/src/partcontroller.h
@@ -43,11 +43,12 @@ Part controler implementation.
class PartController : public KDevPartController
{
Q_OBJECT
+ TQ_OBJECT
public:
PartController(TQWidget *toplevel);
- static void createInstance(TQWidget *parent);
+ static void createInstance(TQWidget *tqparent);
static PartController *getInstance();
///// KDevPartController interface
@@ -97,7 +98,7 @@ public:
KTextEditor::Editor *openTextDocument( bool activate = true );
KParts::Factory *findPartFactory(const TQString &mimeType,
const TQString &partType,
- const TQString &preferredName = TQString::null );
+ const TQString &preferredName = TQString() );
public slots:
@@ -140,8 +141,8 @@ private slots:
void slotDocumentDirty( Kate::Document * doc, bool isModified, unsigned char reason );
void slotDocumentDirtyStepTwo( void * );
- void slotNewStatus();
- void slotNewDesignerStatus(const TQString &formName, int status);
+ void slotNewtqStatus();
+ void slotNewDesignertqStatus(const TQString &formName, int status);
void textChanged();
void gotoLastEditPos();
@@ -216,7 +217,7 @@ private:
struct LastEditPos
{
KURL url;
- QPair<unsigned int,unsigned int> pos;
+ TQPair<unsigned int,unsigned int> pos;
LastEditPos() : pos( -1, -1) {}
};