texteditor.cpp
branchqt4-port
changeset 4 ec3d2962893d
parent 2 608f976aa7bb
child 5 5cfbba1dc2f8
     1.1 --- a/texteditor.cpp	Tue Jun 06 14:58:11 2006 +0000
     1.2 +++ b/texteditor.cpp	Tue Jun 13 13:54:53 2006 +0000
     1.3 @@ -26,7 +26,7 @@
     1.4  //Added by qt3to4:
     1.5  #include <Q3ValueList>
     1.6  #include <QPixmap>
     1.7 -#include <Q3ActionGroup>
     1.8 +#include <QActionGroup>
     1.9  #include <QCloseEvent>
    1.10  
    1.11  #include <iostream>
    1.12 @@ -416,7 +416,7 @@
    1.13      actionTextUnderline->setToggleAction( true );
    1.14      menu->insertSeparator();
    1.15  
    1.16 -    Q3ActionGroup *grp = new Q3ActionGroup( this );
    1.17 +    QActionGroup *grp = new QActionGroup( this );
    1.18      connect( grp, SIGNAL( selected( QAction* ) ), this, SLOT( textAlign( QAction* ) ) );
    1.19  
    1.20      actionAlignLeft = new QAction( QPixmap (iconPath+"text_left.png"), tr( "&Left" ),grp );
    1.21 @@ -435,7 +435,7 @@
    1.22      grp->addTo( tb );
    1.23      grp->addTo( menu );
    1.24  
    1.25 -    Q3ActionGroup *grp2 = new Q3ActionGroup( this );
    1.26 +    QActionGroup *grp2 = new QActionGroup( this );
    1.27      grp2->setExclusive(false);
    1.28      actionAlignSubScript = new QAction( QPixmap (iconPath+"text_sub.png"), tr( "Subs&cript" ),grp2 );
    1.29  	actionAlignSubScript->setShortcut( Qt::CTRL + Qt::SHIFT + Qt::Key_B );