• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • knewstuff
 

knewstuff

  • knewstuff
knewstuffbutton.h
1 /*
2  Copyright (c) 2004 Aaron J. Seigo <aseigo@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef _khotnewbutton_h
21 #define _khotnewbutton_h
22 
23 #include <kpushbutton.h>
24 
25 namespace KNS
26 {
27 
28 class DownloadDialog;
29 
37 class Button : public KPushButton
38 {
39  Q_OBJECT
40 
41  public:
56  Button(const TQString& what,
57  const TQString& providerList,
58  const TQString& resourceType,
59  TQWidget* parent, const char* name);
60 
68  Button(TQWidget* parent, const char* name);
69 
73  void setProviderList(const TQString& providerList);
74 
79  void setResourceType(const TQString& resourceType);
80 
85  void setButtonText(const TQString& what);
86 
87  signals:
92  void aboutToShowDialog();
93 
97  void dialogFinished();
98 
99  protected slots:
100  void showDialog();
101 
102  private:
103  void init();
104 
105  class ButtonPrivate;
106  ButtonPrivate* d;
107 
108  TQString m_providerList;
109  TQString m_type;
110  DownloadDialog* m_downloadDialog;
111 };
112 
113 }
114 
115 #endif

knewstuff

Skip menu "knewstuff"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

knewstuff

Skip menu "knewstuff"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for knewstuff by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |