summaryrefslogtreecommitdiffstats
path: root/parts/fileselector/fileselector_widget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/fileselector/fileselector_widget.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/fileselector/fileselector_widget.h')
-rw-r--r--parts/fileselector/fileselector_widget.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/parts/fileselector/fileselector_widget.h b/parts/fileselector/fileselector_widget.h
index 4811c398..cf06d42a 100644
--- a/parts/fileselector/fileselector_widget.h
+++ b/parts/fileselector/fileselector_widget.h
@@ -60,18 +60,20 @@ namespace KTextEditor
class KDevFileSelectorToolBar: public KToolBar
{
Q_OBJECT
+ TQ_OBJECT
public:
- KDevFileSelectorToolBar(TQWidget *parent);
+ KDevFileSelectorToolBar(TQWidget *tqparent);
virtual ~KDevFileSelectorToolBar();
virtual void setMovingEnabled( bool b );
};
-class KDevFileSelectorToolBarParent: public QFrame
+class KDevFileSelectorToolBarParent: public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- KDevFileSelectorToolBarParent(TQWidget *parent);
+ KDevFileSelectorToolBarParent(TQWidget *tqparent);
~KDevFileSelectorToolBarParent();
void setToolBar(KDevFileSelectorToolBar *tb);
@@ -85,9 +87,10 @@ protected:
class KDevDirOperator: public KDirOperator
{
Q_OBJECT
+ TQ_OBJECT
public:
- KDevDirOperator(FileSelectorPart *part, const KURL &urlName=KURL(), TQWidget *parent=0, const char *name=0)
- :KDirOperator(urlName, parent, name), m_part(part)
+ KDevDirOperator(FileSelectorPart *part, const KURL &urlName=KURL(), TQWidget *tqparent=0, const char *name=0)
+ :KDirOperator(urlName, tqparent, name), m_part(part)
{
}
@@ -98,9 +101,10 @@ private:
FileSelectorPart *m_part;
};
-class KDevFileSelector : public QWidget
+class KDevFileSelector : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
friend class KFSConfigPage;
@@ -109,7 +113,7 @@ public:
enum AutoSyncEvent { DocumentChanged=1, DocumentOpened=2, GotVisible=4 };
KDevFileSelector( FileSelectorPart *part, KDevMainWindow *mainWindow=0, KDevPartController *partController=0,
- TQWidget * parent = 0, const char * name = 0 );
+ TQWidget * tqparent = 0, const char * name = 0 );
~KDevFileSelector();
void readConfig( KConfig *, const TQString & );
@@ -174,11 +178,12 @@ private:
of the path and file filter combos, and how to handle
user closed session.
*/
-class KFSConfigPage : public QWidget
+class KFSConfigPage : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KFSConfigPage( TQWidget* parent=0, const char *name=0, KDevFileSelector *kfs=0);
+ KFSConfigPage( TQWidget* tqparent=0, const char *name=0, KDevFileSelector *kfs=0);
virtual ~KFSConfigPage() {};
public slots: