diff -r bab96b7ed1a4 -r f39ed5e045e0 phoneuis/bubblemanager2/tsrc/bubbletest2/bubbletester/mainwindow.h --- a/phoneuis/bubblemanager2/tsrc/bubbletest2/bubbletester/mainwindow.h Tue Jun 15 14:14:38 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,69 +0,0 @@ -/*! -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Animated icon. -* -*/ - -#ifndef MAINWINDOW_H -#define MAINWINDOW_H - -#include - -namespace Ui -{ - class MainWindow; -} - -class QLocalServer; -class QLocalSocket; -class QLabel; -class BubbleData; - -class MainWindow : public QMainWindow -{ - Q_OBJECT - -public: - MainWindow(QWidget *parent = 0); - ~MainWindow(); - - bool start(); - -private slots: - void clientConnected(); - void clientDisconnected(); - - void bubbleChanged(); - void updateName(); - void updateNumber(); - void updateState(); - void updateDivert(int); - void updateMute(int); - - void sendData(); - -private: - void initUi(); - -private: - Ui::MainWindow *ui; - - QLocalServer *mServer; - QLocalSocket *mClientConnection; - QLabel *mStatusLabel; - BubbleData *mDataModel; - QString mBubbleId; -}; - -#endif // MAINWINDOW_H