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_ ) #if !defined ( MIXERBOARD_H__FD6B49E1606C2AC__INCLUDED_ )
#define MIXERBOARD_H__FD6B49E1606C2AC__INCLUDED_ #define MIXERBOARD_H__FD6B49E1606C2AC__INCLUDED_
#include <QFrame.h> #include <qframe.h>
#include <QLabel.h> #include <qlabel.h>
#include <QLayout.h> #include <qlayout.h>
#include <QString.h> #include <qstring.h>
#include <QSlider.h> #include <qslider.h>
#include <QSizePolicy.h> #include <qsizepolicy.h>
#include "global.h" #include "global.h"
#include "util.h" #include "util.h"

View file

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

View file

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

View file

@ -22,17 +22,17 @@
* *
\******************************************************************************/ \******************************************************************************/
#include <QLabel.h> #include <qlabel.h>
#include <QString.h> #include <qstring.h>
#include <QLineEdit.h> #include <qlineedit.h>
#include <QPushButton.h> #include <qpushbutton.h>
#include <QProgressBar.h> #include <qprogressbar.h>
#include <QWhatsThis.h> #include <qwhatsthis.h>
#include <QTimer.h> #include <qtimer.h>
#include <QSlider.h> #include <qslider.h>
#include <QRadioButton.h> #include <qradiobutton.h>
#include <QMenuBar.h> #include <qmenubar.h>
#include <QLayout.h> #include <qlayout.h>
#include "global.h" #include "global.h"
#include "client.h" #include "client.h"
#include "multicolorled.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_ ) #if !defined ( GLOBAL_H__3B123453_4344_BB2B_23E7A0D31912__INCLUDED_ )
#define GLOBAL_H__3B123453_4344_BB2B_23E7A0D31912__INCLUDED_ #define GLOBAL_H__3B123453_4344_BB2B_23E7A0D31912__INCLUDED_
#include <QString.h> #include <qstring.h>
#include <QEvent.h> #include <qevent.h>
#include <QDebug.h> #include <qdebug.h>
#include <stdio.h> #include <stdio.h>
#include <math.h> #include <math.h>
#include <string> #include <string>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -25,9 +25,9 @@
#if !defined ( PROTOCOL_H__3B123453_4344_BB2392354455IUHF1912__INCLUDED_ ) #if !defined ( PROTOCOL_H__3B123453_4344_BB2392354455IUHF1912__INCLUDED_ )
#define PROTOCOL_H__3B123453_4344_BB2392354455IUHF1912__INCLUDED_ #define PROTOCOL_H__3B123453_4344_BB2392354455IUHF1912__INCLUDED_
#include <QGlobal.h> #include <qglobal.h>
#include <QMutex.h> #include <qmutex.h>
#include <QTimer.h> #include <qtimer.h>
#include <list> #include <list>
#include "global.h" #include "global.h"
#include "util.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_ ) #if !defined ( SERVER_HOIHGE7LOKIH83JH8_3_43445KJIUHF1912__INCLUDED_ )
#define SERVER_HOIHGE7LOKIH83JH8_3_43445KJIUHF1912__INCLUDED_ #define SERVER_HOIHGE7LOKIH83JH8_3_43445KJIUHF1912__INCLUDED_
#include <QObject.h> #include <qobject.h>
#include <QTimer.h> #include <qtimer.h>
#include <QDateTime.h> #include <qdatetime.h>
#include <QHostAddress.h> #include <qhostaddress.h>
#include "global.h" #include "global.h"
#include "socket.h" #include "socket.h"
#include "channel.h" #include "channel.h"

View file

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

View file

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