74
78
ProxyManager *proxy() const;
75
79
FileTransDlg *ftdlg() const;
79
bool isChatTabbed(ChatDlg*);
80
bool isChatActiveWindow(ChatDlg*);
81
ChatDlg* getChatInTabs(QString);
82
TabDlg* getManagingTabs(ChatDlg*);
83
Q3PtrList<TabDlg>* getTabSets();
85
81
QWidget *dialogFind(const char *className);
86
82
void dialogRegister(QWidget *w);
87
83
void dialogUnregister(QWidget *w);
89
85
QMenuBar* defaultMenuBar() const;
91
void createAccount(const QString &name, const Jid &j="", const QString &pass="", bool opt_host=false, const QString &host="", int port=5222, bool legacy_ssl_probe = true, UserAccount::SSLFlag ssl=UserAccount::SSL_Auto, int proxy=0);
87
void createAccount(const QString &name, const Jid &j="", const QString &pass="", bool opt_host=false, const QString &host="", int port=5222, bool legacy_ssl_probe = true, UserAccount::SSLFlag ssl=UserAccount::SSL_Auto, QString proxy="");
92
88
PsiAccount *createAccount(const UserAccount &);
93
89
//void createAccount(const QString &, const QString &host="", int port=5222, bool ssl=false, const QString &user="", const QString &pass="");
94
90
void removeAccount(PsiAccount *);
96
92
void playSound(const QString &);
99
94
AccountsComboBox *accountsComboBox(QWidget *parent=0, bool online_only = false);
101
const QStringList & recentGCList() const;
96
QStringList recentGCList() const;
102
97
void recentGCAdd(const QString &);
103
const QStringList & recentBrowseList() const;
98
QStringList recentBrowseList() const;
104
99
void recentBrowseAdd(const QString &);
105
100
const QStringList & recentNodeList() const;
106
101
void recentNodeAdd(const QString &);
108
103
EventDlg *createEventDlg(const QString &, PsiAccount *);
109
104
void updateContactGlobal(PsiAccount *, const Jid &);
111
QList<PsiToolBar*> toolbarList() const;
112
PsiToolBar *findToolBar(QString group, int index);
113
106
PsiActionList *actionList() const;
115
void buildToolbars();
116
bool getToolbarLocation(Q3DockWindow* dw, Qt::Dock& dock, int& index, bool& nl, int& extraOffset) const;
118
108
IconSelectPopup *iconSelectPopup() const;
119
void processEvent(PsiEvent *);
109
void processEvent(PsiEvent*, ActivationType activationType);
145
135
void statusMenuChanged(int);
146
136
void pa_updatedActivity();
147
137
void pa_updatedAccount();
148
void slotApplyOptions(const Options &);
138
void slotApplyOptions();
149
139
void queueChanged();
150
140
void recvNextEvent();
151
141
void setStatusFromDialog(const XMPP::Status &, bool withPriority);
152
142
void proxy_settingsChanged();
153
143
void updateMainwinStatus();
154
void tabDying(TabDlg*);
156
void mainWinGeomChanged(QRect saveableGeometry);
144
void doOpenUri(const QUrl &uri);
159
148
void saveAccounts();
160
void optionsUpdate();
149
void saveCapabilities();
150
void optionChanged(const QString& option);
151
void forceSavePreferences();
169
161
void setShortcuts();
171
163
friend class PsiAccount; // FIXME
172
void setToggles(bool tog_offline, bool tog_away, bool tog_agents, bool tog_hidden, bool tog_self);
173
void getToggles(bool *tog_offline, bool *tog_away, bool *tog_agents, bool *tog_hidden, bool *tog_self);
174
164
void promptUserToCreateAccount();
165
QString optionsFile() const;
167
void registerCaps(const QString& ext, const QStringList& features);
176
169
friend class EventQueue;