fixed default shortcut in findwindow
authorinsilmaril
Tue Sep 05 11:53:54 2006 +0000 (2006-09-05)
changeset 3748df2895c131c
parent 373 92a0fb4a5230
child 375 06ab6df252fa
fixed default shortcut in findwindow
mainwindow.cpp
mapeditor.cpp
     1.1 --- a/mainwindow.cpp	Tue Sep 05 11:53:54 2006 +0000
     1.2 +++ b/mainwindow.cpp	Tue Sep 05 11:53:54 2006 +0000
     1.3 @@ -243,7 +243,8 @@
     1.4  	restoreState (settings.value("/mainwindow/state",0).toByteArray());
     1.5  
     1.6  	// Initialize Find window
     1.7 -	findWindow=new FindWindow(NULL,"findwindow");
     1.8 +	findWindow=new FindWindow(NULL);
     1.9 +	findWindow->move (x(),y()+70);
    1.10  	connect (findWindow, SIGNAL( findButton(QString) ), 
    1.11  		this, SLOT(editFind(QString) ) );	
    1.12  	connect (findWindow, SIGNAL( somethingChanged() ), 
     2.1 --- a/mapeditor.cpp	Tue Sep 05 11:53:54 2006 +0000
     2.2 +++ b/mapeditor.cpp	Tue Sep 05 11:53:54 2006 +0000
     2.3 @@ -1,34 +1,34 @@
     2.4  #include "mapeditor.h"
     2.5  
     2.6 -#include <qstatusbar.h>
     2.7 -#include <QMessageBox>
     2.8 -#include <qapplication.h>
     2.9 -#include <qpainter.h>
    2.10 -#include <q3popupmenu.h>
    2.11 -#include <qprinter.h>
    2.12 -#include <q3paintdevicemetrics.h>
    2.13 -#include <QFile>
    2.14 -#include <q3filedialog.h>
    2.15 -#include <QDir>
    2.16 +//#include <qstatusbar.h>
    2.17 +//#include <qapplication.h>
    2.18 +//#include <q3popupmenu.h>
    2.19 +#include <QActionGroup>
    2.20 +#include <QBitmap>
    2.21  #include <QColor>
    2.22  #include <QColorDialog>
    2.23 -#include <QBitmap>
    2.24 -#include <qinputdialog.h>
    2.25 +#include <QContextMenuEvent>
    2.26 +#include <QDir>
    2.27 +#include <QDragEnterEvent>
    2.28 +#include <QDropEvent>
    2.29 +#include <QFile>
    2.30 +#include <QInputDialog>
    2.31 +#include <QMessageBox>
    2.32 +#include <QMouseEvent>
    2.33 +#include <QPainter>
    2.34 +#include <QPixmap>
    2.35 +#include <QPrinter>
    2.36 +#include <QRegExp>
    2.37 +#include <QResizeEvent>
    2.38 +#include <QTextStream>
    2.39 +
    2.40 +//#include <Q3StrList>
    2.41 +#include <Q3PtrList>
    2.42  #include <q3dragobject.h>
    2.43  #include <q3urloperator.h>
    2.44  #include <q3networkprotocol.h>
    2.45 -#include <QRegExp>
    2.46 -//Added by qt3to4:
    2.47 -#include <QResizeEvent>
    2.48 -#include <QContextMenuEvent>
    2.49 -#include <Q3StrList>
    2.50 -#include <QPixmap>
    2.51 -#include <QMouseEvent>
    2.52 -#include <QDragEnterEvent>
    2.53 -#include <QTextStream>
    2.54 -#include <QDropEvent>
    2.55 -#include <QActionGroup>
    2.56 -#include <Q3PtrList>
    2.57 +#include <q3paintdevicemetrics.h>
    2.58 +#include <q3filedialog.h>
    2.59  
    2.60  #include <iostream>
    2.61  #include <cstdlib>