diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 03:03:11 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 03:03:11 +0000 |
commit | a2bae01d006ea8053e85bc16d09a8cf40a4b0b75 (patch) | |
tree | 7f2b2a1d90d0d5fbcbf23e06962192923058e0ad /kommander/editor/actiondnd.h | |
parent | 4e0c064056c23aabc053dc4a54d82ff1dceaf6a9 (diff) | |
download | tdewebdev-a2bae01d006ea8053e85bc16d09a8cf40a4b0b75.tar.gz tdewebdev-a2bae01d006ea8053e85bc16d09a8cf40a4b0b75.zip |
Fix kdewebdev FTBFS under Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/editor/actiondnd.h')
-rw-r--r-- | kommander/editor/actiondnd.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kommander/editor/actiondnd.h b/kommander/editor/actiondnd.h index 5d1c314d..66a87c5b 100644 --- a/kommander/editor/actiondnd.h +++ b/kommander/editor/actiondnd.h @@ -30,17 +30,17 @@ #include <tqtoolbar.h> #include <tqguardedptr.h> -class TQDesignerPopupMenu; -class TQDesignerIndicatorWidget; +class QDesignerPopupMenu; +class QDesignerIndicatorWidget; class FormWindow; -class TQDesignerActionGroup : public TQActionGroup +class QDesignerActionGroup : public TQActionGroup { Q_OBJECT TQ_OBJECT public: - TQDesignerActionGroup( TQObject *tqparent ) + QDesignerActionGroup( TQObject *tqparent ) : TQActionGroup( !tqparent || tqparent->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ? tqparent : 0 ), wid( 0 ), idx( -1 ) {} TQWidget *widget() const { return wid; } @@ -65,15 +65,15 @@ private: }; -class TQDesignerAction : public TQAction +class QDesignerAction : public TQAction { Q_OBJECT TQ_OBJECT public: - TQDesignerAction( TQObject *tqparent ) + QDesignerAction( TQObject *tqparent ) : TQAction( !tqparent || tqparent->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ? tqparent : 0 ), wid( 0 ), idx( -1 ), widgetToInsert( 0 ) {} - TQDesignerAction( TQWidget *w, TQObject *tqparent ) + QDesignerAction( TQWidget *w, TQObject *tqparent ) : TQAction( !tqparent || tqparent->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ? tqparent : 0 ), wid( 0 ), idx( -1 ), widgetToInsert( w ) {} TQWidget *widget() const { return wid; } @@ -100,13 +100,13 @@ private: }; -class TQDesignerToolBarSeparator : public TQWidget +class QDesignerToolBarSeparator : public TQWidget { Q_OBJECT TQ_OBJECT public: - TQDesignerToolBarSeparator( Qt::Orientation, TQToolBar *tqparent, const char* name=0 ); + QDesignerToolBarSeparator( Qt::Orientation, TQToolBar *tqparent, const char* name=0 ); TQSize tqsizeHint() const; Qt::Orientation orientation() const { return orient; } @@ -120,13 +120,13 @@ private: }; -class TQSeparatorAction : public TQAction +class QSeparatorAction : public TQAction { Q_OBJECT TQ_OBJECT public: - TQSeparatorAction( TQObject *tqparent ); + QSeparatorAction( TQObject *tqparent ); bool addTo( TQWidget *w ); bool removeFrom( TQWidget *w ); @@ -139,14 +139,14 @@ private: }; -class TQDesignerToolBar : public TQToolBar +class QDesignerToolBar : public TQToolBar { Q_OBJECT TQ_OBJECT public: - TQDesignerToolBar( TQMainWindow *mw ); - TQDesignerToolBar( TQMainWindow *mw, Dock dock ); + QDesignerToolBar( TQMainWindow *mw ); + QDesignerToolBar( TQMainWindow *mw, Dock dock ); TQPtrList<TQAction> insertedActions() const { return actionList; } void addAction( TQAction *a ); @@ -192,24 +192,24 @@ private: TQPtrList<TQAction> actionList; TQMap<TQWidget*, TQAction*> actionMap; TQPoint dragStartPos; - TQDesignerIndicatorWidget *indicator; + QDesignerIndicatorWidget *indicator; bool widgetInserting; FormWindow *formWindow; }; -class TQDesignerMenuBar : public TQMenuBar +class QDesignerMenuBar : public TQMenuBar { Q_OBJECT TQ_OBJECT - friend class TQDesignerPopupMenu; + friend class QDesignerPopupMenu; TQ_PROPERTY( int itemNumber WRITE setItemNumber READ itemNumber ) TQ_PROPERTY( TQString itemText WRITE setItemText READ itemText ) TQ_PROPERTY( TQCString itemName WRITE setItemName READ itemName ) public: - TQDesignerMenuBar( TQWidget *mw ); + QDesignerMenuBar( TQWidget *mw ); void setItemNumber( int num ); int itemNumber() const; @@ -241,19 +241,19 @@ private: bool mousePressed; TQPoint lastIndicatorPos; int insertAt; - TQDesignerIndicatorWidget *indicator; + QDesignerIndicatorWidget *indicator; FormWindow *formWindow; int oldPos; }; -class TQDesignerPopupMenu : public TQPopupMenu +class QDesignerPopupMenu : public TQPopupMenu { Q_OBJECT TQ_OBJECT public: - TQDesignerPopupMenu( TQWidget *w ); + QDesignerPopupMenu( TQWidget *w ); TQPtrList<TQAction> insertedActions() const { return actionList; } void addAction( TQAction *a ); void reInsert(); @@ -288,7 +288,7 @@ private: TQPtrList<TQAction> actionList; TQPoint dragStartPos; bool mousePressed; - TQDesignerIndicatorWidget *indicator; + QDesignerIndicatorWidget *indicator; FormWindow *formWindow; TQGuardedPtr<TQPopupMenu> popupMenu; TQPoint popupPos; @@ -296,13 +296,13 @@ private: }; -class TQDesignerIndicatorWidget : public TQWidget +class QDesignerIndicatorWidget : public TQWidget { Q_OBJECT TQ_OBJECT public: - TQDesignerIndicatorWidget( TQWidget *p ) + QDesignerIndicatorWidget( TQWidget *p ) : TQWidget( p, "qt_dockwidget_internal" ) { setBackgroundColor( red ); } |