Ticket #6310: mythplugins-svn-qt4.diff

File mythplugins-svn-qt4.diff, 77.5 KB (added by crap@…, 12 years ago)

Mythtv plugins patch to compile with Qt4

  • mythmusic/i18n/i18n.pro

     
    1414INSTALLS += trans
    1515
    1616SOURCES += dummy.c
     17QT += xml  sql opengl qt3support
  • mythmusic/mythmusic/playbackbox.cpp

     
    66using namespace std;
    77
    88// Qt includes
    9 #include <qapplication.h>
    10 #include <qregexp.h>
    11 //Added by qt3to4:
     9#include <QEvent>
     10#include <QApplication>
     11#include <QRegExp>
    1212#include <QLabel>
    1313#include <QPixmap>
    1414#include <Q3ValueList>
  • mythmusic/mythmusic/mythmusic.pro

     
    7070}
    7171
    7272
    73 #The following line was inserted by qt3to4
    7473QT += xml  sql opengl qt3support
    7574
    7675include ( ../../libs-targetfix.pro )
  • mythmusic/mythmusic/synaesthesia.cpp

     
    99#include "mainvisual.h"
    1010#include "synaesthesia.h"
    1111
    12 #include <qpainter.h>
    13 #include <qpixmap.h>
    14 #include <qimage.h>
     12#include <QPainter>
     13#include <QPixmap>
     14#include <QImage>
    1515
    1616#include <math.h>
    1717#include <stdlib.h>
  • mythmusic/mythmusic/cddecoder-windows.cpp

     
    22#include <stdlib.h>
    33#include <iostream>
    44#include <string>
    5 #include <qobject.h>
    6 #include <qiodevice.h>
    7 #include <qdir.h>
    8 #include <qfile.h>
     5
     6#include <QObject>
     7#include <QIoDevice>
     8#include <QDir>
     9#include <QFile>
     10
    911using namespace std;
    1012
    1113#include <mythtv/mythconfig.h>
  • mythmusic/mythmusic/search.cpp

     
    11// Qt includes
    2 #include <qlayout.h>
    3 #include <qfontmetrics.h>
    4 #include <qpainter.h>
     2#include <QLayout>
     3#include <QFontMetrics>
     4#include <QPainter>
    55
    66// MythTV plugin includes
    77#include <mythtv/mythcontext.h>
  • mythmusic/mythmusic/cdrip.h

     
    55
    66#include <mythtv/mythwidgets.h>
    77#include <mythtv/mythdialogs.h>
    8 //Added by qt3to4:
    98#include <QEvent>
    109#include <QKeyEvent>
    1110
  • mythmusic/mythmusic/playlist.h

     
    11#ifndef PLAYLIST_H_
    22#define PLAYLIST_H_
    33
    4 #include <q3valuelist.h>
    5 #include <q3listview.h>
    6 #include <q3ptrlist.h>
    7 #include <qthread.h>
     4#include <Q3ValueList>
     5#include <Q3ListView>
     6#include <Q3PtrList>
     7#include <QThread>
    88
    99#include "metadata.h"
    1010#include "treecheckitem.h"
  • mythmusic/mythmusic/miniplayer.cpp

     
    11#include <iostream>
    2 //Added by qt3to4:
     2
     3using namespace std;
     4
     5// qt
    36#include <QKeyEvent>
    47#include <Q3PtrList>
    58#include <Q3Frame>
    6 using namespace std;
     9#include <QEvent>
     10#include <QPixmap>
     11#include <QImage>
     12#include <QApplication>
    713
    8 // qt
    9 #include <qpixmap.h>
    10 #include <qimage.h>
    11 #include <qapplication.h>
    12 
    1314// mythtv
    1415#include <mythtv/mythcontext.h>
    1516#include <mythtv/mythdialogs.h>
  • mythmusic/mythmusic/aacdecoder.cpp

     
    2525#include <string>
    2626
    2727// Qt headers
    28 #include <qobject.h>
    29 #include <qiodevice.h>
    30 #include <qfile.h>
     28#include <QObject>
     29#include <QIODevice>
     30#include <QFile>
    3131
    3232// MythTV headers
    3333#include <mythtv/audiooutput.h>
     
    302302    //
    303303
    304304    unsigned char *buffer = NULL;
    305     uint buffer_size;
     305    unsigned int buf_size_tmp;
     306    unsigned long buffer_size;
    306307
    307308    mp4ff_get_decoder_config(
    308309                                mp4_input_file,
    309310                                aac_track_number,
    310311                                &buffer,
    311                                 &buffer_size
     312                                &buf_size_tmp
    312313                            );
     314    buffer_size = buf_size_tmp;
    313315// some linux distros (gentoo, debian) modify the faad2 api with stdint.h types
    314316// instead of unsigned long int
    315317#ifdef FAAD_MODIFIED
    316     uint32_t srate_tmp;
     318    unsigned long srate_tmp;
    317319    int err = faacDecInit2(decoder_handle, buffer, buffer_size, &srate_tmp, &channels);
    318320    sample_rate = srate_tmp;
    319321    if (err < 0)
  • mythmusic/mythmusic/decoder.h

     
    22#define DECODER_H_
    33
    44#include "config.h"
    5 #include <qstring.h>
    6 #include <qevent.h>
    7 #include <qthread.h>
    8 #include <q3ptrlist.h>
    9 #include <qwaitcondition.h>
    10 #include <qmutex.h>
    115
     6#include <QString>
     7#include <QEvent>
     8#include <QThread>
     9#include <Q3PtrList>
     10#include <QWaitCondition>
     11#include <QMutex>
     12
    1213#include <mythtv/mythobservable.h>
    1314
    1415class Metadata;
     
    1617class Decoder;
    1718class DecoderFactory;
    1819
    19 class QObject;
    20 class QIODevice;
    21 class QThread;
    2220class OutputEvent;
    2321
    2422class Buffer;
  • mythmusic/mythmusic/streaminput.cpp

     
    88
    99#include "mythtv/mythcontext.h"
    1010
    11 #include <qapplication.h>
    12 #include <q3socket.h>
     11#include <QApplication>
     12#include <Q3Socket>
    1313
    1414
    15 StreamInput::StreamInput(const Q3Url &source)
     15StreamInput::StreamInput(const QUrl &source)
    1616    : request(0), url(source), sock(0), stage(0)
    1717{
    1818}
  • mythmusic/mythmusic/visualize.cpp

     
    1414#include <iostream>
    1515
    1616// qt
    17 #include <qpainter.h>
    18 #include <qpixmap.h>
    19 #include <qimage.h>
    20 #include <qdir.h>
    21 #include <q3url.h>
     17#include <QPainter>
     18#include <QPixmap>
     19#include <QImage>
     20#include <QDir>
     21#include <QUrl>
    2222
    2323// mythtv
    2424#include <mythtv/mythdbcon.h>
  • mythmusic/mythmusic/treecheckitem.cpp

     
    1 #include <qapplication.h>
    2 #include <qstring.h>
    3 #include <qpixmap.h>
    4 #include <qimage.h>
    5 #include <qpainter.h>
     1#include <QApplication>
     2#include <QString>
     3#include <QPixmap>
     4#include <QImage>
     5#include <QPainter>
     6
    67#include <iostream>
     8
    79using namespace std;
    810
    911#include "treecheckitem.h"
  • mythmusic/mythmusic/metaioflacvorbiscomment.cpp

     
    11#include <iostream>
     2
    23#include <sys/stat.h>
    3 //Added by qt3to4:
     4
    45#include <Q3CString>
     6
    57using namespace std;
    68
    79#include "metaioflacvorbiscomment.h"
  • mythmusic/mythmusic/mainvisual.h

     
    1111#include "polygon.h"
    1212#include "constants.h"
    1313
    14 #include <qwidget.h>
    15 #include <qdialog.h>
    16 #include <q3memarray.h>
    17 #include <qpixmap.h>
    18 #include <qimage.h>
    19 #include <q3ptrlist.h>
    20 #include <qstringlist.h>
    21 #include <qtimer.h>
     14#include <QWidget>
     15#include <QDialog>
     16#include <Q3MemArray>
     17#include <QPixmap>
     18#include <QImage>
     19#include <Q3PtrList>
     20#include <QStringList>
     21#include <QTimer>
    2222#include <QPaintEvent>
    2323#include <QResizeEvent>
    2424#include <QHideEvent>
     25#include <QEvent>
    2526
    2627class Buffer;
    2728class Output;
    2829class VisualNode;
    2930class LogScale;
    30 class QTimer;
    3131class InfoWidget;
    3232class Metadata;
    3333class MainVisual;
  • mythmusic/mythmusic/recycler.h

     
    77#ifndef __recycler_h
    88#define __recycler_h
    99
    10 #include <qmutex.h>
    11 #include <qwaitcondition.h>
     10#include <QMutex>
     11#include <QWaitCondition>
    1212
    1313class Buffer;
    1414
  • mythmusic/mythmusic/metadata.cpp

     
    11#include <iostream>
    22
    33// qt
    4 #include <qapplication.h>
    5 #include <qregexp.h>
    6 #include <qdatetime.h>
    7 #include <qdir.h>
    8 //Added by qt3to4:
     4#include <QApplication>
     5#include <QRegExp>
     6#include <QDateTime>
     7#include <QDir>
    98#include <Q3ValueList>
     9#include <Q3PtrCollection>
    1010
    1111using namespace std;
    1212
  • mythmusic/mythmusic/globalsettings.cpp

     
    1414#include <QObject>
    1515#include <Q3HBoxLayout>
    1616#include <Q3VBoxLayout>
    17 #include <q3header.h>
     17#include <Q3Header>
    1818#include <QLabel>
    1919#include <QKeyEvent>
    2020#include <QEvent>
    2121#include <QProcess>
    2222#include <QStringList>
     23#include <QTextStream>
    2324
    2425// mythtv
    2526#include <mythtv/mythcontext.h>
  • mythmusic/mythmusic/metaio.h

     
    11#ifndef METAIO_H_
    22#define METAIO_H_
    33
    4 #include <qregexp.h>
     4#include <QRegExp>
    55
    66#define MYTH_MUSICBRAINZ_ALBUMARTIST_UUID "89ad4ac3-39f7-470e-963a-56509c546377"
    77
  • mythmusic/mythmusic/dbcheck.cpp

     
    1 #include <qstring.h>
    2 #include <qdir.h>
    3 //Added by qt3to4:
     1#include <QString>
     2#include <QDir>
    43#include <QSqlError>
    54
    65#include <iostream>
  • mythmusic/mythmusic/directoryfinder.cpp

     
    11#include <cstdlib>
    22// Qt
    3 #include <qdir.h>
    4 #include <qapplication.h>
    5 #include <qfileinfo.h>
    6 //Added by qt3to4:
     3#include <QDir>
     4#include <QApplication>
     5#include <QFileInfo>
    76#include <QKeyEvent>
    87
    98// Myth
  • mythmusic/mythmusic/treebuilders.h

     
    11#ifndef TREEBUILDERS_H_
    22#define TREEBUILDERS_H_
    33
    4 #include <qstring.h>
    5 #include <qstringlist.h>
    6 #include <q3ptrdict.h>
    7 #include <q3dict.h>
     4#include <QString>
     5#include <QStringList>
     6#include <Q3PtrDict>
     7#include <Q3Dict>
    88
    99#include "metadata.h"
    1010
  • mythmusic/mythmusic/cdrip.cpp

     
    1010
    1111// Linux C includes
    1212#include "config.h"
     13
    1314#ifdef HAVE_CDAUDIO
    1415#include <cdaudio.h>
    15 //Added by qt3to4:
     16
    1617#include <QKeyEvent>
    1718#include <Q3PtrList>
    1819#include <QEvent>
     20
    1921extern "C" {
    2022#include <cdda_interface.h>
    2123#include <cdda_paranoia.h>
     
    2527// C++ includes
    2628#include <iostream>
    2729#include <memory>
     30
    2831using namespace std;
    2932
    3033// Qt includes
    31 #include <qapplication.h>
    32 #include <qdir.h>
    33 #include <qregexp.h>
     34#include <QApplication>
     35#include <QDir>
     36#include <QRegExp>
    3437
    3538// MythTV plugin includes
    3639#include <mythtv/mythcontext.h>
  • mythmusic/mythmusic/playlist.cpp

     
    77using namespace std;
    88#include "playlist.h"
    99#include "qdatetime.h"
    10 //Added by qt3to4:
    1110#include <Q3PtrList>
    12 #include <Q3TextStream>
     11#include <QTextStream>
    1312
    1413#include <mythtv/mythcontext.h>
    1514#include "smartplaylist.h"
    1615#include <mythtv/mythdb.h>
    1716#include <mythtv/compat.h>
    1817
    19 #include <qfileinfo.h>
    20 #include <q3process.h>
    21 #include <qapplication.h>
     18#include <QFileInfo>
     19#include <Q3Process>
     20#include <QApplication>
    2221
    2322const char *kID0err = "Song with ID of 0 in playlist, this shouldn't happen.";
    2423
     
    18001799        return 1;
    18011800    }
    18021801
    1803     Q3TextStream recstream(&reclistfile);
     1802    QTextStream recstream(&reclistfile);
    18041803
    18051804    QStringList::Iterator iter;
    18061805
  • mythmusic/mythmusic/vorbisencoder.cpp

     
    1 #include <qstring.h>
    2 #include <q3cstring.h>
    3 #include <qapplication.h>
    4 #include <q3progressbar.h>
     1#include <QString>
     2#include <Q3CString>
     3#include <QApplication>
     4#include <QProgressBar>
    55
    66#include "metadata.h"
    77#include "encoder.h"
  • mythmusic/mythmusic/synaesthesia.h

     
    1010#include <SDL.h>
    1111#endif
    1212
    13 class QImage;
    14 
    1513#define LogSize 10
    1614#define Brightness 150
    1715#define NumSamples (1<<LogSize)
  • mythmusic/mythmusic/decoder.cpp

     
    1111#include <mythtv/output.h>
    1212#include <mythtv/visual.h>
    1313
    14 #include <qapplication.h>
    15 #include <qobject.h>
    16 #include <q3ptrlist.h>
    17 #include <qdir.h>
    18 #include <qstringlist.h>
    19 #include <qregexp.h>
     14#include <QApplication>
     15#include <QObject>
     16#include <Q3PtrList>
     17#include <QDir>
     18#include <QStringList>
     19#include <QRegExp>
    2020
    2121#include <mythtv/mythcontext.h>
    2222
  • mythmusic/mythmusic/smartplaylist.cpp

     
    1 #include <qlayout.h>
    2 #include <qpushbutton.h>
    3 #include <qlabel.h>
    4 #include <qsqlrecord.h>
    5 #include <qsqlfield.h>
    6 #include <qsqldriver.h>
    7 #include <q3sqlcursor.h>
    8 #include <q3hbox.h>
    9 //Added by qt3to4:
     1#include <QLayout>
     2#include <QPushButton>
     3#include <QLabel>
     4#include <QSqlRecord>
     5#include <QSqlField>
     6#include <QSqlDriver>
     7#include <Q3SqlCursor>
     8#include <Q3HBox>
    109#include <Q3HBoxLayout>
    1110#include <QKeyEvent>
    1211#include <Q3Frame>
  • mythmusic/mythmusic/flacencoder.h

     
    11#ifndef FLACENCODER_H_
    22#define FLACENCODER_H_
    33
    4 #include <qstring.h>
     4#include <QString>
    55
    66#define HAVE_INTTYPES_H
    77
  • mythmusic/mythmusic/lameencoder.cpp

     
    2323    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    2424*/
    2525
    26 #include <qstring.h>
    27 #include <q3cstring.h>
    28 #include <qapplication.h>
    29 #include <q3progressbar.h>
     26#include <QString>
     27#include <Q3CString>
     28#include <QApplication>
     29#include <QProgressBar>
    3030
    3131#include "metadata.h"
    3232#include "lameencoder.h"
  • mythmusic/mythmusic/treecheckitem.h

     
    44#include <mythtv/uilistbtntype.h>
    55#include <QPixmap>
    66
    7 class QPixmap;
    87class PlaylistsContainer;
    98class Playlist;
    109class Track;
  • mythmusic/mythmusic/databasebox.h

     
    11#ifndef DATABASEBOX_H_
    22#define DATABASEBOX_H_
    33
    4 #include <qwidget.h>
    5 #include <qdialog.h>
    6 #include <qstringlist.h>
    7 #include <qthread.h>
    8 #include <qtimer.h>
    9 #include <q3ptrlist.h>
    10 //Added by qt3to4:
     4#include <QWidget>
     5#include <QDialog>
     6#include <QStringList>
     7#include <QThread>
     8#include <QTimer>
     9#include <Q3PtrList>
    1110#include <QPixmap>
    1211#include <QKeyEvent>
    1312
    1413#include "metadata.h"
    1514#include "playlist.h"
     15
    1616#include <mythtv/mythwidgets.h>
    1717#include <mythtv/lcddevice.h>
    1818#include <mythtv/uilistbtntype.h>
  • mythmusic/mythmusic/metadata.h

     
    22#define METADATA_H_
    33
    44// qt
    5 #include <qstring.h>
    6 #include <qstringlist.h>
    7 #include <q3ptrlist.h>
    8 #include <q3valuelist.h>
    9 #include <qmap.h>
    10 #include <qthread.h>
     5#include <QString>
     6#include <QStringList>
     7#include <Q3PtrList>
     8#include <Q3ValueList>
     9#include <QMap>
     10#include <QThread>
     11#include <Q3PtrCollection>
    1112
    1213// mythtv
    1314#include <mythtv/uitypes.h>
  • mythmusic/mythmusic/editmetadata.cpp

     
    11#include <mythtv/mythcontext.h>
    22#include <mythtv/mythdbcon.h>
    33#include <mythtv/libmythui/mythuihelper.h>
    4 #include <qdir.h>
    5 //Added by qt3to4:
     4
     5#include <QDir>
    66#include <QKeyEvent>
    77#include <QLabel>
    88#include <Q3PtrList>
    99#include <QPixmap>
     10
    1011#include "editmetadata.h"
    1112#include "decoder.h"
    1213#include "genres.h"
  • mythmusic/mythmusic/bumpscope.cpp

     
    1010
    1111#ifdef SDL_SUPPORT
    1212
    13 #include <qpainter.h>
     13#include <QPainter>
    1414
    1515#include <math.h>
    1616#include <stdlib.h>
  • mythmusic/mythmusic/directoryfinder.h

     
    44#include <iostream>
    55
    66// qt
    7 #include <qstring.h>
    8 #include <qstringlist.h>
    9 //Added by qt3to4:
     7#include <QString>
     8#include <QStringList>
    109#include <QKeyEvent>
    1110#include <QPixmap>
    1211
  • mythmusic/mythmusic/musicplayer.h

     
    77#include <mythtv/audiooutput.h>
    88
    99#include "metadata.h"
     10#include <QEvent>
    1011
    1112class Decoder;
    1213class AudioOutput;
  • mythmusic/mythmusic/flacencoder.cpp

     
    1 #include <qstring.h>
     1#include <QString>
    22
    33#include <iostream>
    44#include <unistd.h>
    55#include <stdlib.h>
     6
    67using namespace std;
    78
    89#include "metadata.h"
  • mythmusic/mythmusic/metaiotaglib.h

     
    33
    44#include "metaio.h"
    55#include "metadata.h"
     6
    67#include <id3v2tag.h>
    78#include <textidentificationframe.h>
    89#include <attachedpictureframe.h>
    910#include <mpegfile.h>
    1011#include <mpegproperties.h>
    11 //Added by qt3to4:
     12
    1213#include <Q3ValueList>
    1314
    1415using TagLib::MPEG::File;
  • mythmusic/mythmusic/vorbisencoder.h

     
    11#ifndef VORBISENCODER_H_
    22#define VORBISENCODER_H_
    33
    4 #include <qstring.h>
     4#include <QString>
    55
    66class Metadata;
    77class Encoder;
  • mythmusic/mythmusic/databasebox.cpp

     
    11#include <cstdlib>
    22#include <iostream>
    3 //Added by qt3to4:
    4 #include <QKeyEvent>
    5 #include <Q3PtrList>
     3
    64using namespace std;
    75
    86// qt
    9 #include <qapplication.h>
    10 #include <qstringlist.h>
    11 #include <qpixmap.h>
    12 #include <qregexp.h>
    13 #include <q3frame.h>
    14 #include <qlayout.h>
    15 #include <qevent.h>
     7#include <QKeyEvent>
     8#include <Q3PtrList>
     9#include <QApplication>
     10#include <QStringList>
     11#include <QPixmap>
     12#include <QRegExp>
     13#include <Q3Frame>
     14#include <QLayout>
     15#include <QEvent>
    1616
    1717// mythtv
    1818#include <mythtv/dialogbox.h>
  • mythmusic/mythmusic/smartplaylist.h

     
    11#ifndef SMARTPLAYLIST_H_
    22#define SMARTPLAYLIST_H_
    33
    4 #include <qdatetime.h>
    5 #include <qlayout.h>
    6 #include <q3hbox.h>
    7 #include <qvariant.h>
     4#include <QDateTime>
     5#include <QLayout>
     6#include <Q3HBox>
     7#include <QVariant>
    88#include <Q3HBoxLayout>
    99#include <QLabel>
    1010#include <Q3PtrList>
     
    1414#include <mythtv/mythwidgets.h>
    1515#include <mythtv/mythdialogs.h>
    1616
    17 class Q3MythListView;
    18 class Q3ListBoxItem;
    19 class Q3MythListBox;
     17#include "mythlistbox-qt3.h"
     18#include "mythlistview-qt3.h"
     19
    2020struct SmartPLOperator;
    2121struct SmartPLField;
    2222
  • mythmusic/mythmusic/importmusic.h

     
    44#include <iostream>
    55using namespace std;
    66
    7 //Added by qt3to4:
    87#include <QKeyEvent>
    98#include <QThread>
    109
  • mythmusic/mythmusic/mythlistview-qt3.h

     
    11#ifndef _MYTHLISTVIEW_H_
    22#define _MYTHLISTVIEW_H_
    33
    4 #include <q3listview.h>
     4#include <Q3ListView>
     5#include <QFocusEvent>
     6#include <QKeyEvent>
    57
    68class Q3MythListView : public Q3ListView
    79{
  • mythmusic/mythmusic/lameencoder.h

     
    2626#ifndef LAMEENCODER_H_
    2727#define LAMEENCODER_H_
    2828
    29 #include <qstring.h>
     29#include <QString>
    3030
    3131class Metadata;
    3232class Encoder;
  • mythmusic/mythmusic/editmetadata.h

     
    22#define EDITMETADATA_H_
    33
    44#include <iostream>
    5 //Added by qt3to4:
    65#include <QPixmap>
    76#include <QKeyEvent>
    87using namespace std;
  • mythmusic/mythmusic/musicplayer.cpp

     
    33
    44// C++ includes
    55#include <iostream>
    6 #include <Q3ValueList>
    76
    87using namespace std;
    98
    109// qt
    11 #include <qapplication.h>
    12 #include <q3url.h>
    13 #include <qwidget.h>
     10#include <Q3ValueList>
     11#include <QEvent>
     12#include <QApplication>
     13#include <QUrl>
     14#include <QWidget>
    1415#include <QFile>
    1516
    1617// mythtv
  • mythmusic/mythmusic/mythlistbox-qt3.h

     
    11#ifndef _MYTHLISTBOX_H_
    22#define _MYTHLISTBOX_H_
    33
    4 #include <q3listbox.h>
     4#include <Q3ListBox>
     5#include <QFocusEvent>
     6#include <QKeyEvent>
    57
    68class Q3MythListBox: public Q3ListBox
    79{
  • mythmusic/mythmusic/metaiotaglib.cpp

     
    44#include "metadata.h"
    55
    66#include <mythtv/mythcontext.h>
    7 //Added by qt3to4:
     7
    88#include <Q3ValueList>
    99
    1010MetaIOTagLib::MetaIOTagLib(void)
  • mythmusic/mythmusic/playbackbox.h

     
    22#define PLAYBACKBOX_H_
    33
    44// qt
    5 #include <qtimer.h>
    6 #include <qmutex.h>
    7 #include <q3valuevector.h>
     5#include <QTimer>
     6#include <QMutex>
     7#include <Q3ValueVector>
    88#include <QKeyEvent>
     9#include <QEvent>
    910
    1011// mythtv
    1112#include <mythtv/mythwidgets.h>
  • mythmusic/mythmusic/mainvisual.cpp

     
    1111#include <iostream>
    1212
    1313// qt
    14 #include <qtimer.h>
    15 #include <qpainter.h>
    16 #include <qevent.h>
    17 #include <qapplication.h>
    18 #include <qspinbox.h>
    19 #include <qpixmap.h>
    20 #include <qcursor.h>
    21 #include <qstring.h>
    22 #include <qregexp.h>
     14#include <QTimer>
     15#include <QPainter>
     16#include <QEvent>
     17#include <QApplication>
     18#include <QSpinBox>
     19#include <QPixmap>
     20#include <QCursor>
     21#include <QString>
     22#include <QRegExp>
    2323#include <QHideEvent>
    2424#include <QResizeEvent>
    2525#include <QPaintEvent>
  • mythmusic/mythmusic/search.h

     
    11#ifndef SEARCH_H_
    22#define SEARCH_H_
    33
    4 #include <qregexp.h>
    5 //Added by qt3to4:
     4#include <QRegExp>
    65#include <QLabel>
     6
    77#include <mythtv/mythdialogs.h>
    88#include <mythtv/mythwidgets.h>
    99
  • mythmusic/mythmusic/importmusic.cpp

     
    11// qt
    2 #include <qdir.h>
    3 #include <qapplication.h>
    4 #include <qfontmetrics.h>
    5 //Added by qt3to4:
     2#include <QDir>
     3#include <QApplication>
     4#include <QFontMetrics>
    65#include <QKeyEvent>
    76#include <QLabel>
    87#include <Q3Frame>
  • mythmusic/mythmusic/cddecoder.cpp

     
    22#include <stdlib.h>
    33#include <iostream>
    44#include <string>
    5 #include <qobject.h>
    6 #include <qiodevice.h>
    7 #include <qfile.h>
     5
     6#include <QObject>
     7#include <QIODevice>
     8#include <QFile>
     9
    810using namespace std;
    911
    1012#include "cddecoder.h"
  • mythmusic/mythmusic/mythlistview-qt3.cpp

     
    22
    33#include "mythlistview-qt3.h"
    44#include "q3header.h"
     5#include <QFocusEvent>
     6#include <QKeyEvent>
    57
    68Q3MythListView::Q3MythListView(QWidget *parent) : Q3ListView(parent)
    79{
  • mythmusic/mythmusic/miniplayer.h

     
    11#ifndef MINIPLAYER_H_
    22#define MINIPLAYER_H_
    33
    4 #include <qstring.h>
     4#include <QString>
    55#include <QKeyEvent>
     6#include <QEvent>
    67
    78#include "mythtv/mythdialogs.h"
    89
    910class MusicPlayer;
    10 class QTimer;
    1111class Metadata;
    1212
    1313class MPUBLIC MiniPlayer : public MythThemedDialog
  • mythmusic/mythmusic/goom/mythgoom.cpp

     
    77#include "goom_core.h"
    88}
    99
    10 #include <qpainter.h>
     10#include <QPainter>
    1111
    1212#include <math.h>
    1313#include <stdlib.h>
  • mythmusic/mythmusic/streaminput.h

     
    1 //Added by qt3to4:
    2 #include <Q3CString>
    31// Copyright (c) 2000-2001 Brad Hughes <bhughes@trolltech.com>
    42//
    53// Use, modification and distribution is allowed without limitation,
     
    119
    1210class StreamInput;
    1311
    14 #include <q3url.h>
    15 #include <q3socket.h>
     12#include <QUrl>
     13#include <Q3Socket>
     14#include <Q3CString>
    1615
    1716
    1817class StreamInput : public QObject
    1918{
    2019    Q_OBJECT
    2120public:
    22     StreamInput(const Q3Url &);
     21    StreamInput(const QUrl &);
    2322
    2423    QIODevice *socket() { return sock; }
    2524
     
    3534
    3635private:
    3736    Q3CString request;
    38     Q3Url url;
     37    QUrl url;
    3938    Q3Socket *sock;
    4039    int stage;
    4140};
  • mythmusic/mythmusic/visualize.h

     
    1919#include "config.h"
    2020
    2121#include <complex>
    22 //Added by qt3to4:
     22
    2323#include <Q3MemArray>
     24
    2425extern "C" {
    2526#ifdef FFTW3_SUPPORT
    2627#include <fftw3.h>
     
    4142}
    4243
    4344#ifdef OPENGL_SUPPORT
    44 #include <qgl.h>
     45#include <QtOpenGL>
    4546#endif
    4647
    4748class Spectrum : public VisualBase
  • mythmusic/mythmusic/metaiooggvorbiscomment.cpp

     
    1919#include "metaiovorbiscomment.h"
    2020#include "metadata.h"
    2121#include "vcedit.h"
     22
    2223#include <vorbis/vorbisfile.h>
    23 #include <qfileinfo.h>
    2424
     25#include <QFileInfo>
     26
    2527//==========================================================================
    2628MetaIOOggVorbisComment::MetaIOOggVorbisComment(void)
    2729    : MetaIO(".ogg")
  • mythmusic/mythmusic/globalsettings.h

     
    33
    44#include "mythtv/settings.h"
    55#include "mythtv/mythcontext.h"
     6#include "mythlistview-qt3.h"
     7#include <QKeyEvent>
     8#include <QEvent>
    69
    7 class QKeyEvent;
    8 class QEvent;
    9 class Q3MythListView;
    10 class Q3ListViewItem;
    11 
    1210class MusicGeneralSettings : public ConfigurationWizard
    1311{
    1412  public:
  • mythmusic/mythmusic/filescanner.cpp

     
    22#include <sys/stat.h>
    33
    44// Qt headers
    5 #include <qapplication.h>
    6 #include <qdir.h>
     5#include <QApplication>
     6#include <QDir>
    77
    88// MythTV headers
    99#include <mythtv/mythcontext.h>
  • mythmusic/mythmusic/mythlistbox-qt3.cpp

     
    11#include "mythcontext.h"
    22#include "mythlistbox-qt3.h"
     3#include <QEvent>
     4#include <QKeyEvent>
     5#include <QFocusEvent>
    36
    47Q3MythListBox::Q3MythListBox(QWidget* parent): Q3ListBox(parent)
    58{
  • mythmusic/theme/theme.pro

     
    2222
    2323# Input
    2424SOURCES += ../../themedummy.c
     25QT += xml  sql opengl qt3support
  • mytharchive/i18n/i18n.pro

     
    1313INSTALLS += trans
    1414
    1515SOURCES += dummy.c
     16QT += xml  sql qt3support
  • mytharchive/theme/theme.pro

     
    2222
    2323# Input
    2424SOURCES += ../../themedummy.c
     25QT += xml  sql qt3support
  • mytharchive/mytharchive/mytharchive.pro

     
    5555INSTALLS +=  profilefiles burnuifiles
    5656INSTALLS +=  nativeuifiles
    5757
    58 #The following line was inserted by qt3to4
    5958QT += xml sql opengl
    6059
    6160include ( ../../libs-targetfix.pro )
     61QT +=  qt3support
  • mytharchive/mytharchive/logviewer.cpp

     
    55// qt
    66#include <QKeyEvent>
    77#include <QFile>
     8#include <QTextStream>
    89
    910// mythtv
    1011#include <mythtv/mythcontext.h>
  • mytharchive/mytharchive/thumbfinder.cpp

     
    1212#include <QDir>
    1313//#include <QFileInfo>
    1414#include <QPainter>
     15#include <QKeyEvent>
     16#include <QPixmap>
    1517
    1618// myth
    1719#include <mythtv/mythcontext.h>
  • mytharchive/mytharchive/videoselector.cpp

     
    66// qt
    77#include <QDir>
    88#include <QTimer>
     9#include <QKeyEvent>
    910
    1011// mythtv
    1112#include <mythtv/mythcontext.h>
  • mytharchive/mytharchive/logviewer.h

     
    33
    44// qt
    55#include <QTimer>
     6#include <QKeyEvent>
    67
    78// myth
    89#include <libmythui/mythscreentype.h>
  • mytharchive/mytharchive/mythburn.cpp

     
    1212#include <QApplication>
    1313#include <QKeyEvent>
    1414#include <QTextStream>
     15#include <QEvent>
    1516
    1617// myth
    1718#include <mythtv/mythcontext.h>
  • mytharchive/mytharchive/themeselector.h

     
    33
    44// qt
    55#include <QStringList>
     6#include <QKeyEvent>
    67
    78// mythtv
    89#include <libmythui/mythscreentype.h>
  • mytharchive/mytharchive/thumbfinder.h

     
    44// qt
    55#include <QString>
    66#include <QStringList>
     7#include <QKeyEvent>
    78
    89// mythtv
    910#include <libmythui/mythscreentype.h>
  • mytharchive/mytharchive/videoselector.h

     
    1515
    1616// mytharchive
    1717#include "archiveutil.h"
     18#include <QKeyEvent>
    1819
    1920class ProgramInfo;
    2021class MythUIText;
  • mytharchive/mytharchive/mythburn.h

     
    66
    77// mytharchive
    88#include "archiveutil.h"
     9#include <QEvent>
     10#include <QKeyEvent>
    911
    1012class MythUIText;
    1113class MythUIButton;
  • mytharchive/mytharchive/archiveutil.cpp

     
    1010#include <iostream>
    1111
    1212// qt
    13 #include <qdir.h>
    14 #include <qdom.h>
     13#include <QDir>
     14#include <QDomNode>
    1515
    1616// myth
    1717#include <mythcontext.h>
  • mytharchive/mytharchive/fileselector.cpp

     
    55#include <QDir>
    66#include <QFileInfo>
    77#include <QVariant>
     8#include <QKeyEvent>
    89
    910// Myth
    1011#include <mythtv/mythcontext.h>
  • mytharchive/mytharchive/importnative.cpp

     
    55#include <QDir>
    66#include <QFileInfo>
    77#include <QDomDocument>
     8#include <QKeyEvent>
    89
    910// Myth
    1011#include <mythtv/mythcontext.h>
  • mytharchive/mytharchive/recordingselector.h

     
    1313// qt
    1414#include <QList>
    1515#include <QStringList>
     16#include <QKeyEvent>
    1617
    1718// mythtv
    1819#include <libmythui/mythscreentype.h>
  • mytharchive/mytharchive/dbcheck.cpp

     
    11#include <iostream>
    22
    33// qt
    4 #include <qstring.h>
    5 #include <qdir.h>
    6 //Added by qt3to4:
     4#include <QString>
     5#include <QDir>
    76#include <QSqlError>
    87
    98// myth
  • mytharchive/mytharchive/editmetadata.cpp

     
    77
    88// mytharchive
    99#include "editmetadata.h"
     10#include <QKeyEvent>
    1011
    1112EditMetadataDialog::EditMetadataDialog(MythScreenStack *parent,
    1213                                       ArchiveItem *source_metadata)
  • mytharchive/mytharchivehelper/mytharchivehelper.pro

     
    2727using_hdhomerun: LIBS += -lmythhdhomerun-$$LIBVERSION
    2828
    2929QT += xml sql opengl
     30QT +=  qt3support
  • mytharchive/mytharchivehelper/main.cpp

     
    1010#include <sys/mount.h>
    1111#elif __linux__
    1212#include <sys/vfs.h>
     13#include <QTextStream>
    1314#endif
    1415
    1516using namespace std;
  • mythbrowser/i18n/i18n.pro

     
    1414INSTALLS += trans
    1515
    1616SOURCES += dummy.c
     17QT +=  sql qt3support
  • mythbrowser/mythbookmarkmanager/bookmarkmanager.cpp

     
    11#include <iostream>
    22
    33// qt
    4 #include <qstring.h>
     4#include <QString>
     5#include <QKeyEvent>
    56
    67// myth
    78#include <mythtv/mythcontext.h>
  • mythbrowser/mythbookmarkmanager/mythbookmarkmanager.pro

     
    1515SOURCES += main.cpp bookmarkmanager.cpp bookmarkeditor.cpp browserdbutil.cpp
    1616
    1717include ( ../../libs-targetfix.pro )
     18QT +=  qt3support
  • mythbrowser/mythbookmarkmanager/bookmarkeditor.h

     
    77#include <mythtv/libmythui/mythuibutton.h>
    88#include <mythtv/libmythui/mythuitext.h>
    99#include <mythtv/libmythui/mythuitextedit.h>
     10#include <QKeyEvent>
    1011
    1112
    1213class Bookmark;
  • mythbrowser/mythbookmarkmanager/bookmarkmanager.h

     
    1111#include <libmythui/mythuibuttonlist.h>
    1212#include <libmythui/mythscreentype.h>
    1313#include <libmythui/mythdialogbox.h>
     14#include <QKeyEvent>
    1415
    1516class MythBrowser;
    1617
  • mythbrowser/mythbookmarkmanager/browserdbutil.cpp

     
    44
    55// mythbrowser
    66#include "browserdbutil.h"
     7#include <QSqlError>
    78
    89const QString currentDatabaseVersion = "1000";
    910
  • mythbrowser/mythbookmarkmanager/bookmarkeditor.cpp

     
    99#include "bookmarkeditor.h"
    1010#include "bookmarkmanager.h"
    1111#include "browserdbutil.h"
     12#include <QKeyEvent>
    1213
    1314/** \brief Creates a new BookmarkEditor Screen
    1415 *  \param site   The bookmark we are adding/editing
  • mythbrowser/theme/theme.pro

     
    2222
    2323# Input
    2424SOURCES += ../../themedummy.c
     25QT +=  sql qt3support
  • mythbrowser/mythbrowser/mythbrowser.pro

     
    2424HEADERS += ../mythbookmarkmanager/bookmarkmanager.h ../mythbookmarkmanager/browserdbutil.h
    2525SOURCES += main.cpp mythbrowser.cpp webpage.cpp ../mythbookmarkmanager/bookmarkeditor.cpp
    2626SOURCES += ../mythbookmarkmanager/bookmarkmanager.cpp ../mythbookmarkmanager/browserdbutil.cpp
     27QT +=  qt3support
  • mythbrowser/mythbrowser/mythbrowser.cpp

     
    33
    44// qt
    55#include <QEvent>
     6#include <QPixmap>
     7#include <QKeyEvent>
    68
    79// myth
    810#include "mythverbose.h"
  • mythbrowser/mythbrowser/mythbrowser.h

     
    22#define MYTHBROWSER_H
    33
    44#include <QUrl>
     5#include <QKeyEvent>
    56
    67#include <libmythui/mythuiwebbrowser.h>
    78#include <libmythui/mythuibuttonlist.h>
  • mythbrowser/mythbrowser/webpage.cpp

     
    44// qt
    55#include <QEvent>
    66#include <QIcon>
     7#include <QPixmap>
    78
    89// myth
    910#include "mythverbose.h"
  • settings.pro

     
    11CONFIG += $$CCONFIG
    22
     3QT += qt3support
     4
    35LIBVERSION = 0.22
    46
    57INCLUDEPATH += $${PREFIX}/include
  • mythweather/i18n/i18n.pro

     
    1414INSTALLS += trans
    1515
    1616SOURCES += dummy.c
     17QT += xml  sql qt3support
  • mythweather/mythweather/weatherScreen.cpp

     
    11// C++ headers
    22#include <vector>
     3#include <QKeyEvent>
    34using namespace std;
    45
    56// MythTV headers
  • mythweather/mythweather/weather.cpp

     
    55
    66// QT headers
    77#include <QApplication>
     8#include <QKeyEvent>
    89
    910// MythTV headers
    1011#include <mythdbcon.h>
  • mythweather/mythweather/weatherScreen.h

     
    44// QT headers
    55#include <QStringList>
    66#include <QMap>
     7#include <QKeyEvent>
    78
    89// MythTV headers
    910#include <mythscreentype.h>
  • mythweather/mythweather/weather.h

     
    33
    44// QT headers
    55#include <QList>
     6#include <QKeyEvent>
    67
    78// MythTV headers
    89#include <mythscreentype.h>
  • mythweather/mythweather/mythweather.pro

     
    2727SOURCES += dbcheck.cpp weatherSetup.cpp weatherUtils.cpp
    2828
    2929include ( ../../libs-targetfix.pro )
     30QT +=  qt3support
  • mythweather/mythweather/weatherSource.cpp

     
    33// QT headers
    44#include <QDir>
    55#include <QFile>
    6 #include <QTextStream>
    76#include <QApplication>
    87
    98// MythTV headers
  • mythweather/mythweather/weatherSetup.cpp

     
    11
    22// QT headers
    33#include <QApplication>
     4#include <QKeyEvent>
     5#include <QEvent>
    46
    57// MythTV headers
    68#include <mythdbcon.h>
  • mythweather/mythweather/dbcheck.cpp

     
    11#include <QString>
    22#include <QDir>
    33#include <QStringList>
     4#include <QSqlError>
    45
    56#include <mythcontext.h>
    67#include <mythdb.h>
  • mythweather/mythweather/weatherSetup.h

     
    33
    44// QT headers
    55#include <QList>
     6#include <QEvent>
     7#include <QKeyEvent>
    68
    79// MythTV headers
    810#include <mythcontext.h>
  • mythweather/theme/theme.pro

     
    2222
    2323# Input
    2424SOURCES += ../../themedummy.c
     25QT += xml  sql qt3support
  • mythgallery/i18n/i18n.pro

     
    1515INSTALLS += trans
    1616
    1717SOURCES += dummy.c
     18QT +=  sql opengl qt3support
  • mythgallery/mythgallery/glsingleview.h

     
    3333#include "sequence.h"
    3434#include "gltexture.h"
    3535
    36 class QImage;
    37 class QTimer;
    38 
    3936class GLSingleView;
    4037
    4138class GLSDialog : public MythDialog
  • mythgallery/mythgallery/singleview.cpp

     
    2626using namespace std;
    2727
    2828// Qt headers
    29 //#include <qevent.h>
    3029#include <QImage>
    3130#include <QTimer>
    3231#include <QPainter>
  • mythgallery/mythgallery/mythgallery.pro

     
    3636}
    3737
    3838
    39 #The following line was inserted by qt3to4
    4039QT += network opengl sql xml
    4140
    4241include ( ../../libs-targetfix.pro )
     42QT +=  qt3support
  • mythgallery/mythgallery/thumbview.h

     
    1010#include <QPixmap>
    1111
    1212class MythMediaDevice;
    13 class QPixmap;
    1413
    1514class ThumbItem
    1615{
  • mythgallery/mythgallery/singleview.h

     
    4040#include "iconview.h"
    4141#include "sequence.h"
    4242
    43 class QTimer;
    44 
    4543class SingleView : public MythDialog, public ImageView
    4644{
    4745    Q_OBJECT
  • mythgallery/mythgallery/imageview.h

     
    2828#include "iconview.h"
    2929#include "sequence.h"
    3030
    31 class QImage;
    32 class QTimer;
    3331class ThumbItem;
    3432
    3533class ImageView
  • mythgallery/mythgallery/iconview.cpp

     
    2020
    2121// C++ headers
    2222#include <algorithm>
     23#include <QKeyEvent>
    2324
    2425using namespace std;
    2526
  • mythgallery/mythgallery/dbcheck.cpp

     
    11#include <iostream>
     2#include <QSqlError>
    23using namespace std;
    34
    45// qt
  • mythgallery/mythgallery/iconview.h

     
    2525#include <QStringList>
    2626#include <QList>
    2727#include <QHash>
     28#include <QEvent>
     29#include <QKeyEvent>
    2830
    2931// MythTV headers
    3032#include <mythtv/libmythui/mythscreentype.h>
  • mythgallery/mythgallery/thumbgenerator.h

     
    2626#include <QString>
    2727#include <QStringList>
    2828#include <QImage>
     29#include <QEvent>
    2930
    30 class QObject;
    31 class QImage;
    32 
    3331typedef struct {
    3432    QImage  thumb;
    3533    QString fileName;
  • mythgallery/theme/theme.pro

     
    2222
    2323# Input
    2424SOURCES += ../../themedummy.c
     25QT +=  sql opengl qt3support
  • mythmovies/ignyte/main.cpp

     
    1 #include <qapplication.h>
     1#include <QApplication>
     2
    23#include "ignytegrabber.h"
    34
    45using namespace std;
  • mythmovies/ignyte/ignyte.pro

     
    1414# Input
    1515HEADERS += ignytegrabber.h mythsoap.h
    1616SOURCES += main.cpp ignytegrabber.cpp mythsoap.cpp
     17QT +=  qt3support
  • mythmovies/theme/theme.pro

     
    2222
    2323# Input
    2424SOURCES += ../../themedummy.c
     25QT += xml  qt3support
  • mythmovies/mythmovies/mythmovies.pro

     
    1818SOURCES += main.cpp moviesui.cpp moviessettings.cpp
    1919
    2020include ( ../../libs-targetfix.pro )
     21QT +=  qt3support
  • mythmovies/mythmovies/moviesui.h

     
    1212// mythmovies
    1313#include "helperobjects.h"
    1414
    15 class QTimer;
    16 class QDomNode;
    1715class MythUIText;
    1816class MythUIButtonTree;
    1917class MythGenericTree;
  • mythflix/i18n/i18n.pro

     
    1212INSTALLS += trans
    1313
    1414SOURCES += dummy.c
     15QT += xml  sql qt3support
  • mythflix/theme/theme.pro

     
    2222
    2323# Input
    2424SOURCES += ../../themedummy.c
     25QT += xml  sql qt3support
  • mythflix/mythflix/newsengine.cpp

     
    2121
    2222#include <iostream>
    2323
    24 #include <qfile.h>
    25 #include <qdatastream.h>
    26 #include <qdom.h>
    27 #include <q3urloperator.h>
     24#include <QFile>
     25#include <QDataStream>
     26#include <QDomNode>
     27#include <Q3UrlOperator>
    2828#include <q3network.h>
    2929
    3030extern "C" {
  • mythflix/mythflix/mythflix.cpp

     
    66#include <QApplication>
    77#include <QDir>
    88#include <Q3Process>
     9#include <QKeyEvent>
     10#include <QEvent>
    911
    1012// MythTV headers
    1113#include <mythtv/util.h>
  • mythflix/mythflix/newsengine.h

     
    2727#include <QObject>
    2828#include <QDateTime>
    2929#include <QMetaType>
     30#include <Q3UrlOperator>
    3031
    31 class Q3UrlOperator;
    32 class Q3NetworkOperation;
    3332class NewsSite;
    3433
    3534// -------------------------------------------------------
  • mythflix/mythflix/mythflixqueue.cpp

     
    77#include <QApplication>
    88#include <QDateTime>
    99#include <QDir>
     10#include <QKeyEvent>
     11#include <QEvent>
    1012
    1113// MythTV headers
    1214#include <mythtv/util.h>
  • mythflix/mythflix/mythflix.h

     
    99#include <mythtv/libmythui/mythdialogbox.h>
    1010
    1111#include "newsengine.h"
     12#include <QKeyEvent>
     13#include <QEvent>
    1214
    1315/** \class MythFlix
    1416 *  \brief The netflix browser class.
  • mythflix/mythflix/mythflixqueue.h

     
    99#include <mythtv/libmythui/mythdialogbox.h>
    1010
    1111#include "newsengine.h"
     12#include <QKeyEvent>
     13#include <QEvent>
    1214
    1315/** \class MythFlix
    1416 *  \brief The netflix queue browser class.
  • mythflix/mythflix/mythflix.pro

     
    2323SOURCES += main.cpp mythflixqueue.cpp mythflix.cpp mythflixconfig.cpp
    2424SOURCES += newsengine.cpp dbcheck.cpp flixutil.cpp
    2525
    26 
    27 #The following line was inserted by qt3to4
    2826QT += network xml sql opengl qt3support
    2927
    3028include ( ../../libs-targetfix.pro )
  • mythflix/mythflix/dbcheck.cpp

     
    1 #include <qstring.h>
    2 #include <qdir.h>
     1#include <QString>
     2#include <QDir>
    33#include <QSqlError>
    44
    55#include <iostream>
     6
    67using namespace std;
    78
    89#include "dbcheck.h"
  • mythvideo/i18n/i18n.pro

     
    1616
    1717SOURCES += dummy.c
    1818
     19QT += network  qt3support
  • mythvideo/theme/theme.pro

     
    2424
    2525# Input
    2626SOURCES += ../../themedummy.c
     27QT += network  qt3support
  • mythvideo/mtd/jobthread.cpp

     
    1414#include <unistd.h>
    1515
    1616#include <algorithm>
     17#include <QTimerEvent>
    1718using namespace std;
    1819
    1920#include <QDateTime>
  • mythvideo/mtd/mtd.pro

     
    2121mingw:DEFINES += USING_MINGW
    2222
    2323win32:LIBS += -lws2_32
     24QT +=  opengl qt3support
  • mythvideo/mtd/mtd.cpp

     
    2323#include <QRegExp>
    2424#include <QTimer>
    2525#include <QDir>
     26#include <QEvent>
    2627
    2728// MythTV headers
    2829#include <mythtv/util.h>
  • mythvideo/mtd/logging.cpp

     
    1212#include <unistd.h>
    1313#include <cstdlib>
    1414#include <QDateTime>
     15#include <QTextStream>
    1516
    1617#include <mythtv/mythcontext.h>
    1718
  • mythvideo/mtd/jobthread.h

     
    1515#include <QDateTime>
    1616#include <QThread>
    1717#include <QMutex>
     18#include <QTimerEvent>
     19#include <QProcess>
     20#include <QWaitCondition>
     21#include <QDir>
    1822
    1923#include "fileobs.h"
    2024
    21 class QProcess;
    22 class QDir;
    2325class MythTranscodeDaemon;
    24 class QWaitCondition;
    25 class QTimerEvent;
    2626
    2727/** \class JobThread
    2828 *  \brief Base class for all MythTranscodeDaemon threads
  • mythvideo/mtd/mtd.h

     
    1212
    1313#include <QObject>
    1414#include <QList>
     15#include <QEvent>
     16#include <QTcpSocket>
     17#include <QTcpServer>
     18#include <QTimer>
    1519
    1620#include "logging.h"
    1721#include "jobthread.h"
    1822#include "dvdprobe.h"
    1923#include "threadevents.h"
    2024
    21 class QStringList;
    22 class QTimer;
    23 class QMutex;
    24 class QTcpServer;
    25 class QTcpSocket;
    26 class QWaitCondition;
    27 
    2825class MythTranscodeDaemon;
    2926
    3027class DiscCheckingThread : public QThread
  • mythvideo/mtd/threadevents.cpp

     
    1111*/
    1212
    1313#include "threadevents.h"
     14#include <QEvent>
    1415
    1516LoggingEvent::LoggingEvent(const QString &init_logging_string) :
    1617    QEvent(QEvent::Type(ID)),
  • mythvideo/mythvideo/videodlg.h

     
    33
    44#include <QPointer>
    55#include <QStringList>
     6#include <QKeyEvent>
     7#include <QEvent>
    68
    79#include <mythtv/libmythui/mythscreentype.h>
    810
     
    2224class Metadata;
    2325class VideoScanner;
    2426
    25 class QUrl;
    26 
    2727typedef QMap<QString, QString> SearchListResults;
    2828
    2929enum CoverDownloadErrorState { esOK, esError, esTimeout };
  • mythvideo/mythvideo/titledialog.h

     
    22#define TITLEDIALOG_H_
    33
    44#include <QList>
     5#include <QTcpSocket>
    56
    67#include <mythtv/libmythui/mythscreentype.h>
    78
    89#include "dvdinfo.h"
    910
    10 class QTcpSocket;
    11 
    1211class MythUIButtonList;
    1312class MythUIButtonListItem;
    1413class MythUIText;
  • mythvideo/mythvideo/videoscan.h

     
    33
    44#include <QObject> // for moc
    55
    6 class QStringList;
    7 
    86class VideoScanner : public QObject
    97{
    108    Q_OBJECT
  • mythvideo/mythvideo/editmetadata.h

     
    22#define EDITMETADATA_H_
    33
    44#include <mythtv/libmythui/mythscreentype.h>
     5#include <QEvent>
    56
    67class Metadata;
    78class MetadataListManager;
  • mythvideo/mythvideo/videodlg.cpp

     
    1111#include <QBuffer>
    1212#include <QUrl>
    1313#include <QImageReader>
     14#include <QKeyEvent>
     15#include <QEvent>
    1416
    1517#include <mythtv/mythcontext.h>
    1618#include <mythtv/compat.h>
  • mythvideo/mythvideo/dvdripbox.cpp

     
    22#include <QProcess>
    33#include <QRegExp>
    44#include <QTimer>
     5#include <QTextStream>
    56
    67#include <mythtv/mythcontext.h>
    78#include <mythtv/mythmediamonitor.h>
  • mythvideo/mythvideo/titledialog.cpp

     
    11#include <QRegExp>
    22
    33#include <QTcpSocket>
     4#include <QTextStream>
    45
    56#include <mythtv/util.h>
    67#include <mythtv/mythcontext.h>
  • mythvideo/mythvideo/mythvideo.pro

     
    4949mingw:DEFINES += USING_MINGW
    5050
    5151QT += sql xml network
     52QT +=  qt3support
  • mythvideo/mythvideo/editmetadata.cpp

     
    11#include <algorithm>
    22
    33#include <QImageReader>
     4#include <QEvent>
    45
    56#include <mythtv/mythcontext.h>
    67#include <mythtv/mythdirs.h>
  • mythgame/i18n/i18n.pro

     
    1515
    1616SOURCES += dummy.c
    1717
     18QT +=  sql qt3support
  • mythgame/theme/theme.pro

     
    2222
    2323# Input
    2424SOURCES += ../../themedummy.c
     25QT +=  sql qt3support
  • mythgame/mythgame/gametree.h

     
    11#ifndef GAMETREE_H_
    22#define GAMETREE_H_
    33
    4 #include <qtimer.h>
    5 #include <qmutex.h>
    6 #include <q3valuevector.h>
    7 #include <q3ptrvector.h>
    8 //Added by qt3to4:
     4#include <QTimer>
     5#include <QMutex>
     6#include <Q3ValueVector>
     7#include <Q3PtrVector>
    98#include <QSqlQuery>
    109#include <QKeyEvent>
    1110
  • mythgame/mythgame/rom_metadata.h

     
    11#ifndef ROMMETADATA_H_
    22#define ROMMETADATA_H_
    33
    4 #include <qobject.h>
    5 #include <q3ptrlist.h>
    6 #include <qstringlist.h>
     4#include <QObject>
     5#include <Q3PtrList>
     6#include <QStringList>
     7#include <QDir>
     8#include <QString>
     9#include <QWidget>
     10
    711#include <iostream>
    8 #include <qdir.h>
    9 #include <qstring.h>
    10 #include <qwidget.h>
    1112
    12 
    1313#include <mythtv/mythcontext.h>
    1414#include <mythtv/mythdbcon.h>
    1515#include <mythtv/mythdialogs.h>
  • mythgame/mythgame/romedit.cpp

     
    1 #include <qstring.h>
     1#include <QString>
    22
    33#include <mythtv/mythcontext.h>
    44
  • mythgame/mythgame/gamehandler.cpp

     
    22#include "rominfo.h"
    33#include "rom_metadata.h"
    44
    5 #include <qobject.h>
    6 #include <q3ptrlist.h>
    7 #include <qstringlist.h>
     5#include <QObject>
     6#include <Q3PtrList>
     7#include <QStringList>
     8#include <QDir>
     9#include <QRegExp>
     10
    811#include <iostream>
    9 #include <qdir.h>
    10 #include <qregexp.h>
    1112
    1213#include <mythtv/mythcontext.h>
    1314#include <mythtv/mythdbcon.h>
  • mythgame/mythgame/romedit.h

     
    11#ifndef ROMEDITDLG_H_
    22#define ROMEDITDLG_H_
    33
    4 #include <qstring.h>
     4#include <QString>
    55
    66#include <mythtv/mythcontext.h>
    77#include <mythtv/settings.h>
  • mythgame/mythgame/rominfo.cpp

     
    1 #include <qfile.h>
     1#include <QFile>
    22
    33#include <mythtv/mythdb.h>
    44
  • mythgame/mythgame/gamehandler.h

     
    22#ifndef GAMEHANDLER_H_
    33#define GAMEHANDLER_H_
    44
    5 #include <qstring.h>
    6 #include <qwidget.h>
     5#include <QString>
     6#include <QWidget>
    77
    88#include "rom_metadata.h"
    99#include "rominfo.h"
     
    1212
    1313class MythMainWindow;
    1414class GameHandler;
    15 class QObject;
    1615
    1716enum GameFound
    1817{
  • mythgame/mythgame/rominfo.h

     
    11#ifndef ROMINFO_H_
    22#define ROMINFO_H_
    33
    4 #include <qstring.h>
     4#include <QString>
    55
    66int romInDB(QString rom, QString gametype);
    77
  • mythgame/mythgame/dbcheck.cpp

     
    1 #include <qstring.h>
    2 //Added by qt3to4:
     1#include <QString>
    32#include <QSqlError>
    43
    54#include <iostream>
     5
    66using namespace std;
    77
    88#include "dbcheck.h"
  • mythgame/mythgame/mythgame.pro

     
    2121
    2222LIBS += -lz
    2323
    24 #The following line was inserted by qt3to4
    2524QT += xml sql opengl qt3support
    2625
    2726include ( ../../libs-targetfix.pro )
  • mythgame/mythgame/gametree.cpp

     
    1 #include <qapplication.h>
    2 #include <qpushbutton.h>
    3 //Added by qt3to4:
     1#include <QApplication>
     2#include <QPushButton>
    43#include <QSqlQuery>
    54#include <QKeyEvent>
     5
    66#include <stdlib.h>
    77#include <iostream>
     8
    89using namespace std;
    910
    1011#include <mythtv/mythcontext.h>
  • mythgame/mythgame/gamesettings.cpp

     
    22#include <mythtv/mythdb.h>
    33
    44#include "gamesettings.h"
    5 #include <qfile.h>
    6 #include <qdialog.h>
    7 #include <qcursor.h>
    8 #include <qdir.h>
    9 #include <qimage.h>
    105
     6#include <QFile>
     7#include <QDialog>
     8#include <QCursor>
     9#include <QDir>
     10#include <QImage>
    1111
     12
    1213const QString GetGameExtensions(const QString GameType)
    1314{
    1415    QString result = "";
  • mythgame/mythgame/rom_metadata.cpp

     
    1 #include <qobject.h>
    2 #include <q3ptrlist.h>
    3 #include <qstringlist.h>
     1#include <QObject>
     2#include <Q3PtrList>
     3#include <QStringList>
     4#include <QDir>
     5#include <QString>
     6#include <QWidget>
     7
    48#include <iostream>
    5 #include <qdir.h>
    6 #include <qstring.h>
    7 #include <qwidget.h>
    89
    9 
    1010#include <mythtv/mythcontext.h>
    1111#include <mythtv/mythdbcon.h>
    1212#include <mythtv/mythdialogs.h>
  • mythzoneminder/mythzmserver/mythzmserver.pro

     
    1616HEADERS += zmserver.h
    1717
    1818SOURCES += main.cpp zmserver.cpp
     19QT +=  qt3support
  • mythzoneminder/theme/theme.pro

     
    2222
    2323# Input
    2424SOURCES += ../../themedummy.c
     25QT +=  qt3support
  • mythzoneminder/mythzoneminder/zmplayer.cpp

     
    1616#include <cstdlib>
    1717
    1818// qt
    19 #include <qdatetime.h>
    20 #include <qpainter.h>
    21 #include <qdir.h>
    22 #include <qtimer.h>
     19#include <QDateTime>
     20#include <QPainter>
     21#include <QDir>
     22#include <QTimer>
    2323#include <QKeyEvent>
    2424
    2525// myth
  • mythzoneminder/mythzoneminder/zmconsole.cpp

     
    1818
    1919// qt
    2020#include <QTimer>
     21#include <QKeyEvent>
    2122
    2223// myth
    2324#include "mythtv/mythcontext.h"
  • mythzoneminder/mythzoneminder/zmliveplayer.h

     
    1717
    1818// c++
    1919#include <vector>
     20#include <QKeyEvent>
    2021using namespace std;
    2122
    2223// qt
  • mythzoneminder/mythzoneminder/mythzoneminder.pro

     
    2121QT += sql xml
    2222
    2323include ( ../../libs-targetfix.pro )
     24QT +=  qt3support
  • mythnews/i18n/i18n.pro

     
    1515INSTALLS += trans
    1616
    1717SOURCES += dummy.c
     18QT += xml  sql qt3support
  • mythnews/theme/theme.pro

     
    2222
    2323# Input
    2424SOURCES += ../../themedummy.c
     25QT += xml  sql qt3support
  • mythnews/mythnews/mythnewsconfig.cpp

     
    22#include <QApplication>
    33#include <QStringList>
    44#include <QFile>
     5#include <QKeyEvent>
    56
    67// MythTV headers
    78#include <mythuitext.h>
  • mythnews/mythnews/newssite.h

     
    1515#include <QDomDocument>
    1616#include <QVariant>
    1717#include <QByteArray>
     18#include <QUrl>
     19#include <QHttp>
    1820
    1921// MythNews headers
    2022#include "newsarticle.h"
  • mythnews/mythnews/mythnewsconfig.h

     
    33
    44// Qt headers
    55#include <QMutex>
     6#include <QKeyEvent>
    67
    78// MythTV headers
    89#include <mythscreentype.h>
  • mythnews/mythnews/mythnews.cpp

     
    1111#include <QTimer>
    1212#include <QRegExp>
    1313#include <QUrl>
     14#include <QKeyEvent>
     15#include <QEvent>
    1416
    1517// MythTV headers
    1618#include <mythuitext.h>
  • mythnews/mythnews/mythnews.h

     
    77
    88// MythNews headers
    99#include "newssite.h"
     10#include <QEvent>
     11#include <QKeyEvent>
    1012
    11 class QTimer;
    1213class HtppComms;
    1314class MythUIText;
    1415class MythUIImage;
  • mythnews/mythnews/newsdbutil.h

     
    11#ifndef NEWSDBUTIL_H_
    22#define NEWSDBUTIL_H_
    33
    4 class QString;
    54class NewsSiteItem;
    65
    76bool findInDB(const QString &name);
  • mythnews/mythnews/mythnewseditor.cpp

     
    1414#include "mythnewseditor.h"
    1515#include "newsdbutil.h"
    1616#include "newssite.h"
     17#include <QKeyEvent>
    1718
    1819#define LOC      QString("MythNewsEditor: ")
    1920#define LOC_WARN QString("MythNewsEditor, Warning: ")
  • mythnews/mythnews/mythnewseditor.h

     
    44// Qt headers
    55#include <QMutex>
    66#include <QString>
     7#include <QKeyEvent>
    78
    89// MythTV headers
    910#include <mythscreentype.h>
  • mythnews/mythnews/mythnews.pro

     
    2929SOURCES += main.cpp
    3030
    3131include ( ../../libs-targetfix.pro )
     32QT +=  qt3support