summaryrefslogtreecommitdiffstats
path: root/src/simplemainwindow.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /src/simplemainwindow.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/simplemainwindow.h')
-rw-r--r--src/simplemainwindow.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/simplemainwindow.h b/src/simplemainwindow.h
index 39f23ff6..d809ddb1 100644
--- a/src/simplemainwindow.h
+++ b/src/simplemainwindow.h
@@ -37,30 +37,30 @@ namespace KParts {
class SimpleMainWindow: public DMainWindow, public KDevMainWindow {
Q_OBJECT
public:
- SimpleMainWindow(QWidget* parent = 0, const char *name = 0);
+ SimpleMainWindow(TQWidget* parent = 0, const char *name = 0);
virtual ~SimpleMainWindow();
- virtual void embedPartView(QWidget *view, const QString &title, const QString& toolTip = QString::null);
- virtual void embedSelectView(QWidget *view, const QString &title, const QString &toolTip);
- virtual void embedOutputView(QWidget *view, const QString &title, const QString &toolTip);
- virtual void embedSelectViewRight(QWidget* view, const QString& title, const QString &toolTip);
+ virtual void embedPartView(TQWidget *view, const TQString &title, const TQString& toolTip = TQString::null);
+ virtual void embedSelectView(TQWidget *view, const TQString &title, const TQString &toolTip);
+ virtual void embedOutputView(TQWidget *view, const TQString &title, const TQString &toolTip);
+ virtual void embedSelectViewRight(TQWidget* view, const TQString& title, const TQString &toolTip);
- virtual void removeView(QWidget *view);
- virtual void setViewAvailable(QWidget *pView, bool bEnabled);
- virtual void raiseView(QWidget *view);
- virtual void lowerView(QWidget *view);
+ virtual void removeView(TQWidget *view);
+ virtual void setViewAvailable(TQWidget *pView, bool bEnabled);
+ virtual void raiseView(TQWidget *view);
+ virtual void lowerView(TQWidget *view);
virtual void loadSettings();
virtual void saveSettings();
- virtual void setCurrentDocumentCaption( const QString &caption );
+ virtual void setCurrentDocumentCaption( const TQString &caption );
virtual KMainWindow *main();
void init();
public slots:
- void slotDropEvent( QDropEvent *event );
- void setCaption(const QString &);
+ void slotDropEvent( TQDropEvent *event );
+ void setCaption(const TQString &);
protected:
virtual bool queryClose();
@@ -68,9 +68,9 @@ protected:
protected slots:
virtual void closeTab();
- virtual void closeTab(QWidget *w);
- virtual void tabContext(QWidget *w, const QPoint &p);
- void contextMenu(QPopupMenu *popupMenu, const Context *context);
+ virtual void closeTab(TQWidget *w);
+ virtual void tabContext(TQWidget *w, const TQPoint &p);
+ void contextMenu(TQPopupMenu *popupMenu, const Context *context);
private slots:
void gotoNextWindow();
@@ -105,15 +105,15 @@ private:
void createFramework();
void createActions();
void setupWindowMenu();
- void dragEnterEvent( QDragEnterEvent *event );
- void dropEvent( QDropEvent *event );
+ void dragEnterEvent( TQDragEnterEvent *event );
+ void dropEvent( TQDropEvent *event );
void openDocumentsAfterSplit(DTabWidget *tab);
- QWidget *widgetForURL(KURL url);
- QWidget *widgetInTab(QWidget *w);
+ TQWidget *widgetForURL(KURL url);
+ TQWidget *widgetInTab(TQWidget *w);
KParts::ReadOnlyPart *activePartForSplitting();
- void embedView( DDockWindow::Position position, QWidget *view, const QString & title );
- DDockWindow::Position recallToolViewPosition( const QString & name, DDockWindow::Position defaultPos );
- void rememberToolViewPosition( const QString & name, DDockWindow::Position pos );
+ void embedView( DDockWindow::Position position, TQWidget *view, const TQString & title );
+ DDockWindow::Position recallToolViewPosition( const TQString & name, DDockWindow::Position defaultPos );
+ void rememberToolViewPosition( const TQString & name, DDockWindow::Position pos );
MainWindowShare *m_mainWindowShare;
@@ -129,8 +129,8 @@ private:
KAction *m_raiseBottomDock;
KAction *m_raiseLeftDock;
KAction *m_raiseRightDock;
- QPopupMenu *m_windowMenu;
- QValueList<QPair<int, KURL> > m_windowList;
+ TQPopupMenu *m_windowMenu;
+ TQValueList<QPair<int, KURL> > m_windowList;
KURL::List m_splitURLs;
};