Changeset 6185 for trunk/qt4-gui/src/core
- Timestamp:
- 05/06/08 04:50:29 (7 months ago)
- Location:
- trunk/qt4-gui/src/core
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/core/licqgui.cpp
r6160 r6185 994 994 } 995 995 996 // Since daemon doesn't notify us when an event is sent we need to take care of it ourselfs 997 // Get signals from event dialog and forward it to anyone who needs it 998 connect(e, SIGNAL(eventSent(const ICQEvent*)), SIGNAL(eventSent(const ICQEvent*))); 999 996 1000 // there might be more than one send window open 997 1001 // make sure we only remember one, or it will get complicated … … 1007 1011 disconnect(oldDialog, SIGNAL(finished(QString, unsigned long)), this, SLOT(sendEventFinished(QString, unsigned long))); 1008 1012 sendEventFinished(id, ppid); 1013 connect(newDialog, SIGNAL(eventSent(const ICQEvent*)), SIGNAL(eventSent(const ICQEvent*))); 1009 1014 connect(newDialog, SIGNAL(finished(QString, unsigned long)), SLOT(sendEventFinished(QString, unsigned long))); 1010 1015 myUserSendList.append(newDialog); -
trunk/qt4-gui/src/core/licqgui.h
r6160 r6185 37 37 class CICQDaemon; 38 38 class CICQSignal; 39 class ICQEvent; 39 40 40 41 namespace LicqQtGui … … 230 231 void sendChatRequest(QString id, unsigned long ppid); 231 232 233 signals: 234 /** 235 * Since daemon doesn't notify us when an event is sent we'll have to handle 236 * it ourselfs. This is used by event dialog to notify other dialogs when a 237 * message has been sent. 238 * 239 * @param event Event object that was sent 240 */ 241 void eventSent(const ICQEvent* event); 242 232 243 private slots: 233 244 #ifdef Q_WS_X11 -
trunk/qt4-gui/src/core/mainwin.h
r6152 r6185 97 97 virtual void closeEvent(QCloseEvent*); 98 98 99 signals:100 void signal_sentevent(ICQEvent* e);101 102 99 public slots: 103 100 void slot_shutdown(); … … 159 156 void callUserFunction(QAction* action); 160 157 void checkUserAutoResponse(); 161 162 friend class UserSendCommon;163 158 }; 164 159
