mainwindow.h
branchqt4-port
changeset 16 41c3d7f9f532
parent 15 699f28529079
child 17 557239819c45
     1.1 --- a/mainwindow.h	Tue Aug 15 12:01:14 2006 +0000
     1.2 +++ b/mainwindow.h	Tue Aug 29 08:31:42 2006 +0000
     1.3 @@ -1,17 +1,12 @@
     1.4  #ifndef MAINWINDOW_H 
     1.5  #define MAINWINDOW_H
     1.6  
     1.7 -#include <q3popupmenu.h>
     1.8 -#include <q3textedit.h>
     1.9 -#include <q3intdict.h>
    1.10 -#include <q3canvas.h>
    1.11 -#include <qlineedit.h>
    1.12  #include <QAction>
    1.13 +#include <QCursor>
    1.14  #include <QMainWindow>
    1.15 +#include <QProcess>
    1.16  #include <QToolBar>
    1.17 -#include <qcursor.h>
    1.18 -#include <qtabwidget.h>
    1.19 -#include <qmap.h>
    1.20 +#include <QTabWidget>
    1.21  //Added by qt3to4:
    1.22  #include <QCloseEvent>
    1.23  #include <QShowEvent>
    1.24 @@ -94,16 +89,20 @@
    1.25      void editOpenFindWindow();
    1.26  	void editFind(QString);
    1.27  	void editFindChanged();
    1.28 +private:
    1.29 +	void openTabs(QStringList);
    1.30  public slots:
    1.31  	void editOpenURL();
    1.32  	void editOpenURLTab();
    1.33  private slots:
    1.34 +	void editOpenMultipleURLTabs();
    1.35  	void editURL();
    1.36  	void editHeading2URL();
    1.37  	void editBugzilla2URL();
    1.38  	void editFATE2URL();
    1.39  	void editVymLink();
    1.40  public slots:
    1.41 +    void editHeading();
    1.42  	void editOpenVymLink();
    1.43  private slots:
    1.44  	void editDeleteVymLink();
    1.45 @@ -113,7 +112,6 @@
    1.46      void editMoveDown();	
    1.47      void editToggleScroll();
    1.48      void editUnScrollAll();
    1.49 -    void editHeading();
    1.50      void editNewBranch();
    1.51      void editNewBranchHere();
    1.52      void editNewBranchAbove();
    1.53 @@ -188,9 +186,11 @@
    1.54  	FindWindow *findWindow;
    1.55  	QStringList lastMaps;
    1.56  	int maxLastMaps;
    1.57 -	Q3Process *procBrowser;
    1.58 +	QProcess *procBrowser;
    1.59  
    1.60  	QStringList imageTypes;
    1.61 +
    1.62 +	QLineEdit *lineedit;	// to enter headings of branches
    1.63  };
    1.64  
    1.65