• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/libkopete

avatarselectorwidget.h

Go to the documentation of this file.
00001 /*
00002     avatarselectorwidget.h - Widget to manage and select user avatar
00003 
00004     Copyright (c) 2007      by Michaƫl Larouche      <larouche@kde.org>
00005                   2007         Gustavo Pichorim Boiko <gustavo.boiko@kdemail.net>
00006 
00007     Kopete    (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
00008 
00009     *************************************************************************
00010     *                                                                       *
00011     * This library is free software; you can redistribute it and/or         *
00012     * modify it under the terms of the GNU Lesser General Public            *
00013     * License as published by the Free Software Foundation; either          *
00014     * version 2 of the License, or (at your option) any later version.      *
00015     *                                                                       *
00016     *************************************************************************
00017 */
00018 #ifndef KOPETE_AVATARSELECTORWIDGET_H
00019 #define KOPETE_AVATARSELECTORWIDGET_H
00020 
00021 #include <QtGui/QWidget>
00022 
00023 // Kopete includes
00024 #include <kopete_export.h>
00025 #include <kopeteavatarmanager.h>
00026 
00027 class QListWidgetItem;
00028 class KJob;
00029 
00030 namespace Kopete
00031 {
00032 
00033 namespace UI
00034 {
00035 
00044 class KOPETE_EXPORT AvatarSelectorWidget : public QWidget
00045 {
00046     Q_OBJECT
00047 public:
00052     AvatarSelectorWidget(QWidget *parent = 0);
00056     virtual ~AvatarSelectorWidget();
00057 
00066     Kopete::AvatarManager::AvatarEntry selectedEntry() const;
00067 
00073     void setCurrentAvatar(const QString &path);
00074 
00075 private Q_SLOTS:
00080     void buttonAddAvatarClicked();
00081     
00086     void buttonRemoveAvatarClicked();
00087     
00092     void queryJobFinished(KJob *job);
00093 
00099     void avatarAdded(Kopete::AvatarManager::AvatarEntry newEntry);
00100 
00106     void avatarRemoved(Kopete::AvatarManager::AvatarEntry entryRemoved);
00107 
00113     void listSelectionChanged(QListWidgetItem *item);
00114 
00115 private:
00116     Q_DISABLE_COPY(AvatarSelectorWidget)
00117 
00118     class Private;
00119     Private *d;
00120 };
00121 
00122 }
00123 
00124 }
00125 
00126 #endif

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal