summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/workspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/workspace.h')
-rw-r--r--kdevdesigner/designer/workspace.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kdevdesigner/designer/workspace.h b/kdevdesigner/designer/workspace.h
index 8e710725..4e4f0d1a 100644
--- a/kdevdesigner/designer/workspace.h
+++ b/kdevdesigner/designer/workspace.h
@@ -27,7 +27,7 @@
#ifndef WORKSPACE_H
#define WORKSPACE_H
-#include <qlistview.h>
+#include <tqlistview.h>
class FormWindow;
class QResizeEvent;
@@ -47,28 +47,28 @@ class WorkspaceItem : public QListViewItem
public:
enum Type { ProjectType, FormFileType, FormSourceType, SourceFileType, ObjectType };
- WorkspaceItem( QListView *parent, Project* p );
- WorkspaceItem( QListViewItem *parent, SourceFile* sf );
- WorkspaceItem( QListViewItem *parent, FormFile* ff, Type t = FormFileType );
- WorkspaceItem( QListViewItem *parent, QObject *o, Project *p );
+ WorkspaceItem( TQListView *parent, Project* p );
+ WorkspaceItem( TQListViewItem *parent, SourceFile* sf );
+ WorkspaceItem( TQListViewItem *parent, FormFile* ff, Type t = FormFileType );
+ WorkspaceItem( TQListViewItem *parent, TQObject *o, Project *p );
- void paintCell( QPainter *p, const QColorGroup &cg, int column, int width, int align );
+ void paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int align );
Type type() const { return t; }
bool isModified() const;
- QString text( int ) const;
+ TQString text( int ) const;
- void fillCompletionList( QStringList& completion );
- bool checkCompletion( const QString& completion );
+ void fillCompletionList( TQStringList& completion );
+ bool checkCompletion( const TQString& completion );
- QString key( int, bool ) const; // column sorting key
+ TQString key( int, bool ) const; // column sorting key
Project* project;
SourceFile* sourceFile;
FormFile* formFile;
- QObject *object;
+ TQObject *object;
void setOpen( bool );
@@ -80,7 +80,7 @@ public:
private:
void init();
bool autoOpen;
- QColor backgroundColor();
+ TQColor backgroundColor();
Type t;
};
@@ -89,13 +89,13 @@ class Workspace : public QListView
Q_OBJECT
public:
- Workspace( QWidget *parent , MainWindow *mw );
+ Workspace( TQWidget *parent , MainWindow *mw );
void setCurrentProject( Project *pro );
- void contentsDropEvent( QDropEvent *e );
- void contentsDragEnterEvent( QDragEnterEvent *e );
- void contentsDragMoveEvent( QDragMoveEvent *e );
+ void contentsDropEvent( TQDropEvent *e );
+ void contentsDragEnterEvent( TQDragEnterEvent *e );
+ void contentsDragMoveEvent( TQDragMoveEvent *e );
void setBufferEdit( QCompletionEdit *edit );
@@ -108,17 +108,17 @@ public slots:
void activeEditorChanged( SourceEditor *se );
protected:
- void closeEvent( QCloseEvent *e );
- bool eventFilter( QObject *, QEvent * );
+ void closeEvent( TQCloseEvent *e );
+ bool eventFilter( TQObject *, TQEvent * );
private slots:
- void itemClicked( int, QListViewItem *i, const QPoint& pos );
- void itemDoubleClicked( QListViewItem *i );
- void rmbClicked( QListViewItem *i, const QPoint& pos );
- void bufferChosen( const QString &buffer );
+ void itemClicked( int, TQListViewItem *i, const TQPoint& pos );
+ void itemDoubleClicked( TQListViewItem *i );
+ void rmbClicked( TQListViewItem *i, const TQPoint& pos );
+ void bufferChosen( const TQString &buffer );
- void projectDestroyed( QObject* );
+ void projectDestroyed( TQObject* );
void sourceFileAdded( SourceFile* );
void sourceFileRemoved( SourceFile* );
@@ -126,13 +126,13 @@ private slots:
void formFileAdded( FormFile* );
void formFileRemoved( FormFile* );
- void objectAdded( QObject* );
- void objectRemoved( QObject * );
+ void objectAdded( TQObject* );
+ void objectRemoved( TQObject * );
private:
WorkspaceItem *findItem( FormFile *ff );
WorkspaceItem *findItem( SourceFile *sf );
- WorkspaceItem *findItem( QObject *o );
+ WorkspaceItem *findItem( TQObject *o );
void closeAutoOpenItems();