added resources

This commit is contained in:
Volker Fischer 2008-01-20 18:07:13 +00:00
parent af033d8ad2
commit 1f54eb55ec
16 changed files with 75 additions and 66 deletions

View File

@ -28,12 +28,12 @@
#if !defined ( MIXERBOARD_H__FD6B49E1606C2AC__INCLUDED_ )
#define MIXERBOARD_H__FD6B49E1606C2AC__INCLUDED_
#include <QFrame.h>
#include <QLabel.h>
#include <QLayout.h>
#include <QString.h>
#include <QSlider.h>
#include <QSizePolicy.h>
#include <qframe.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qstring.h>
#include <qslider.h>
#include <qsizepolicy.h>
#include "global.h"
#include "util.h"

View File

@ -25,8 +25,8 @@
#if !defined ( CHANNEL_HOIH9345KJH98_3_4344_BB23945IUHF1912__INCLUDED_ )
#define CHANNEL_HOIH9345KJH98_3_4344_BB23945IUHF1912__INCLUDED_
#include <QThread.h>
#include <QDateTime.h>
#include <qthread.h>
#include <qdatetime.h>
#include "global.h"
#include "buffer.h"
#include "audiocompr.h"

View File

@ -25,11 +25,11 @@
#if !defined ( CLIENT_HOIHGE76GEKJH98_3_43445KJIUHF1912__INCLUDED_ )
#define CLIENT_HOIHGE76GEKJH98_3_43445KJIUHF1912__INCLUDED_
#include <QThread.h>
#include <QHostAddress.h>
#include <QHostInfo.h>
#include <QString.h>
#include <QDateTime.h>
#include <qthread.h>
#include <qhostaddress.h>
#include <qhostinfo.h>
#include <qstring.h>
#include <qdatetime.h>
#include "global.h"
#include "socket.h"
#include "resample.h"

View File

@ -22,17 +22,17 @@
*
\******************************************************************************/
#include <QLabel.h>
#include <QString.h>
#include <QLineEdit.h>
#include <QPushButton.h>
#include <QProgressBar.h>
#include <QWhatsThis.h>
#include <QTimer.h>
#include <QSlider.h>
#include <QRadioButton.h>
#include <QMenuBar.h>
#include <QLayout.h>
#include <qlabel.h>
#include <qstring.h>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qprogressbar.h>
#include <qwhatsthis.h>
#include <qtimer.h>
#include <qslider.h>
#include <qradiobutton.h>
#include <qmenubar.h>
#include <qlayout.h>
#include "global.h"
#include "client.h"
#include "multicolorled.h"

BIN
src/gig.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -25,9 +25,9 @@
#if !defined ( GLOBAL_H__3B123453_4344_BB2B_23E7A0D31912__INCLUDED_ )
#define GLOBAL_H__3B123453_4344_BB2B_23E7A0D31912__INCLUDED_
#include <QString.h>
#include <QEvent.h>
#include <QDebug.h>
#include <qstring.h>
#include <qevent.h>
#include <qdebug.h>
#include <stdio.h>
#include <math.h>
#include <string>

View File

@ -22,17 +22,17 @@
*
\******************************************************************************/
#include <QLabel.h>
#include <QString.h>
#include <QLineEdit.h>
#include <QPushButton.h>
#include <QProgressBar.h>
#include <QWhatsThis.h>
#include <QTimer.h>
#include <QSlider.h>
#include <QRadioButton.h>
#include <QMenuBar.h>
#include <QLayout.h>
#include <qlabel.h>
#include <qstring.h>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qprogressbar.h>
#include <qwhatsthis.h>
#include <qtimer.h>
#include <qslider.h>
#include <qradiobutton.h>
#include <qmenubar.h>
#include <qlayout.h>
#include "global.h"
#include "client.h"
#include "multicolorled.h"

View File

@ -51,7 +51,7 @@
</sizepolicy>
</property>
<property name="pixmap" >
<pixmap>gig.png</pixmap>
<pixmap resource="resources.qrc" >:/new/prefix1/gig.png</pixmap>
</property>
<property name="scaledContents" >
<bool>true</bool>

View File

@ -22,14 +22,14 @@
*
\******************************************************************************/
#include <QLabel.h>
#include <qlabel.h>
#include <qlistview.h>
#include <QTimer.h>
#include <QPixmap.h>
#include <QThread.h>
#include <QSlider.h>
#include <QMenuBar.h>
#include <QLayout.h>
#include <qtimer.h>
#include <qpixmap.h>
#include <qthread.h>
#include <qslider.h>
#include <qmenubar.h>
#include <qlayout.h>
#include "global.h"
#include "server.h"
#include "multicolorled.h"

View File

@ -107,6 +107,10 @@ cerr << "logging ";
// Application object
QApplication app ( argc, argv, bUseGUI );
// init resources
extern int qInitResources();
qInitResources();
if ( bIsClient )
{
// client

View File

@ -33,9 +33,9 @@
#if !defined ( AFX_MULTCOLORLED_H__FD6B49B5_87DF_48DD_A873_804E1606C2AC__INCLUDED_ )
#define AFX_MULTCOLORLED_H__FD6B49B5_87DF_48DD_A873_804E1606C2AC__INCLUDED_
#include <QLabel.h>
#include <QPixmap.h>
#include <QTimer.h>
#include <qlabel.h>
#include <qpixmap.h>
#include <qtimer.h>
#include <qtreewidget.h>
#include <qicon.h>
#include "global.h"

View File

@ -25,9 +25,9 @@
#if !defined ( PROTOCOL_H__3B123453_4344_BB2392354455IUHF1912__INCLUDED_ )
#define PROTOCOL_H__3B123453_4344_BB2392354455IUHF1912__INCLUDED_
#include <QGlobal.h>
#include <QMutex.h>
#include <QTimer.h>
#include <qglobal.h>
#include <qmutex.h>
#include <qtimer.h>
#include <list>
#include "global.h"
#include "util.h"

5
src/resources.qrc Executable file
View File

@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/new/prefix1" >
<file>gig.png</file>
</qresource>
</RCC>

View File

@ -25,10 +25,10 @@
#if !defined ( SERVER_HOIHGE7LOKIH83JH8_3_43445KJIUHF1912__INCLUDED_ )
#define SERVER_HOIHGE7LOKIH83JH8_3_43445KJIUHF1912__INCLUDED_
#include <QObject.h>
#include <QTimer.h>
#include <QDateTime.h>
#include <QHostAddress.h>
#include <qobject.h>
#include <qtimer.h>
#include <qdatetime.h>
#include <qhostaddress.h>
#include "global.h"
#include "socket.h"
#include "channel.h"

View File

@ -25,10 +25,10 @@
#if !defined ( SOCKET_HOIHGE76GEKJH98_3_4344_BB23945IUHF1912__INCLUDED_ )
#define SOCKET_HOIHGE76GEKJH98_3_4344_BB23945IUHF1912__INCLUDED_
#include <QObject.h>
#include <QMessageBox.h>
#include <QUdpSocket.h>
#include <QSocketNotifier.h>
#include <qobject.h>
#include <qmessagebox.h>
#include <qudpsocket.h>
#include <qsocketnotifier.h>
#include <vector>
#include "global.h"
#include "channel.h"

View File

@ -25,12 +25,12 @@
#if !defined ( UTIL_HOIH934256GEKJH98_3_43445KJIUHF1912__INCLUDED_ )
#define UTIL_HOIH934256GEKJH98_3_43445KJIUHF1912__INCLUDED_
#include <QHostAddress.h>
#include <QMenu.h>
#include <QWhatsThis.h>
#include <QTextBrowser.h>
#include <QLabel.h>
#include <QDateTime.h>
#include <qhostaddress.h>
#include <qmenu.h>
#include <qwhatsthis.h>
#include <qtextbrowser.h>
#include <qlabel.h>
#include <qdatetime.h>
#include <vector>
#include "global.h"
using namespace std; // because of the library: "vector"