• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

knode

  • sources
  • kde-4.14
  • kdepim
  • knode
kngroupdialog.h
Go to the documentation of this file.
1 /*
2  KNode, the KDE newsreader
3  Copyright (c) 1999-2005 the KNode authors.
4  See file AUTHORS for details
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10  You should have received a copy of the GNU General Public License
11  along with this program; if not, write to the Free Software Foundation,
12  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
13 */
14 
15 #ifndef KNGROUPDIALOG_H
16 #define KNGROUPDIALOG_H
17 
18 #include "kngroupbrowser.h"
19 class KDatePicker;
20 
22 class KNGroupDialog : public KNGroupBrowser {
23 
24  Q_OBJECT
25 
26  public:
27  KNGroupDialog( QWidget *parent, KNNntpAccount::Ptr a );
28  ~KNGroupDialog();
29 
30  void toSubscribe(QList<KNGroupInfo> *l);
31  void toUnsubscribe(QStringList *l);
32 
33  protected:
34  enum arrowDirection { right, left };
35  enum arrowButton { btn1, btn2 };
36  void updateItemState(CheckItem *it);
37  void itemChangedState(CheckItem *it, bool s);
38  void setButtonDirection(arrowButton b, arrowDirection d);
39  QPushButton *newListBtn;
40  Q3ListView *subView, *unsubView;
41  arrowDirection dir1, dir2;
42  KDatePicker *dateSel;
43  protected slots:
44  void slotItemSelected(Q3ListViewItem *it);
46  void slotSelectionChanged();
47  void slotArrowBtn1();
48  void slotArrowBtn2();
50  void slotUser1();
52  void slotUser2();
53  void slotDatePickerEnabled( bool );
54 
55  signals:
56  void fetchList( KNNntpAccount::Ptr a );
57  void checkNew( KNNntpAccount::Ptr a, QDate date );
58 };
59 
60 #endif
kngroupbrowser.h
KNGroupDialog::subView
Q3ListView * subView
Definition: kngroupdialog.h:40
QWidget
KNGroupDialog::checkNew
void checkNew(KNNntpAccount::Ptr a, QDate date)
KNGroupBrowser
Base class for group selection dialogs.
Definition: kngroupbrowser.h:32
KNGroupDialog::btn2
Definition: kngroupdialog.h:35
KNGroupDialog
New group subscription dialog.
Definition: kngroupdialog.h:22
date
time_t date() const
KNGroupDialog::slotArrowBtn1
void slotArrowBtn1()
Definition: kngroupdialog.cpp:231
KNGroupDialog::dir2
arrowDirection dir2
Definition: kngroupdialog.h:41
KNGroupDialog::dir1
arrowDirection dir1
Definition: kngroupdialog.h:41
KNGroupDialog::right
Definition: kngroupdialog.h:34
KNGroupDialog::toUnsubscribe
void toUnsubscribe(QStringList *l)
Definition: kngroupdialog.cpp:148
KNGroupDialog::arrowDirection
arrowDirection
Definition: kngroupdialog.h:34
KNGroupDialog::toSubscribe
void toSubscribe(QList< KNGroupInfo > *l)
Definition: kngroupdialog.cpp:128
KNGroupDialog::KNGroupDialog
KNGroupDialog(QWidget *parent, KNNntpAccount::Ptr a)
Definition: kngroupdialog.cpp:37
KNNntpAccount::Ptr
boost::shared_ptr< KNNntpAccount > Ptr
Shared pointer to a KNNntpAccount.
Definition: knnntpaccount.h:62
KNGroupDialog::newListBtn
QPushButton * newListBtn
Definition: kngroupdialog.h:39
KNGroupDialog::slotDatePickerEnabled
void slotDatePickerEnabled(bool)
Definition: kngroupdialog.cpp:335
Q3ListViewItem
KNGroupDialog::slotItemSelected
void slotItemSelected(Q3ListViewItem *it)
Definition: kngroupdialog.cpp:180
QDate
QList< KNGroupInfo >
KNGroupDialog::slotUser2
void slotUser2()
new groups
Definition: kngroupdialog.cpp:284
KNGroupDialog::unsubView
Q3ListView * unsubView
Definition: kngroupdialog.h:40
QStringList
KNGroupDialog::~KNGroupDialog
~KNGroupDialog()
Definition: kngroupdialog.cpp:77
KNGroupDialog::arrowButton
arrowButton
Definition: kngroupdialog.h:35
KNGroupDialog::btn1
Definition: kngroupdialog.h:35
KNGroupDialog::updateItemState
void updateItemState(CheckItem *it)
Definition: kngroupdialog.cpp:117
KNGroupDialog::setButtonDirection
void setButtonDirection(arrowButton b, arrowDirection d)
Definition: kngroupdialog.cpp:158
KNGroupDialog::itemChangedState
void itemChangedState(CheckItem *it, bool s)
Definition: kngroupdialog.cpp:84
KNGroupDialog::slotArrowBtn2
void slotArrowBtn2()
Definition: kngroupdialog.cpp:252
KNGroupDialog::slotSelectionChanged
void slotSelectionChanged()
deactivates the button when a root item is selected
Definition: kngroupdialog.cpp:223
QPushButton
KNGroupDialog::dateSel
KDatePicker * dateSel
Definition: kngroupdialog.h:42
KNGroupDialog::left
Definition: kngroupdialog.h:34
Q3ListView
KNGroupDialog::fetchList
void fetchList(KNNntpAccount::Ptr a)
KNGroupDialog::slotUser1
void slotUser1()
new list
Definition: kngroupdialog.cpp:274
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

knode

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal