knode
kngroupbrowser.cpp
Go to the documentation of this file.
306 groupView->ensureVisible(groupView->contentsX(), delayedCenter, 0, groupView->visibleHeight()/2);
312 if (it && (it->childCount()==0)) static_cast<CheckItem*>(it)->setOn(!static_cast<CheckItem*>(it)->isOn());
329 bool doIncrementalUpdate = (!isRegexp && incrementalFilter && (filtertxt.left(lastFilter.length())==lastFilter));
350 (notCheckStr||(isRegexp? (reg.indexIn(g.name,0) != -1) : ( g.name.indexOf( filtertxt ) != -1 ) )))
429 KNGroupBrowser::CheckItem::CheckItem(Q3ListViewItem *i, const KNGroupInfo &gi, KNGroupBrowser *b) :
void clear()
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
virtual QString text(int column) const
void slotReceiveList(KNGroupListData::Ptr d)
Definition: kngroupbrowser.cpp:163
bool isRightToLeft()
QString toUpper() const
void changeItemState(const KNGroupInfo &gi, bool s)
Definition: kngroupbrowser.cpp:177
Q3ListViewItem * parent() const
Definition: knjobdata.h:109
int childCount() const
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
Definition: kngroup.h:50
QString & prepend(QChar ch)
boost::shared_ptr< KNGroupListData > Ptr
Shared pointer to a KNGroupListData.
Definition: kngroupmanager.h:59
void removeListItem(Q3ListView *view, const KNGroupInfo &gi)
Definition: kngroupbrowser.cpp:259
contentsY
virtual void setRootIsDecorated(bool)
Definition: knconfig.h:62
void setIcon(const QIcon &icon)
boost::shared_ptr< KNNntpAccount > Ptr
Shared pointer to a KNNntpAccount.
Definition: knnntpaccount.h:62
void setSpacing(int spacing)
bool isNull() const
void setBuddy(QWidget *buddy)
Q3ListViewItem * current() const
void setBold(bool enable)
Definition: knconfig.h:65
int indexIn(const QString &str, int offset, CaretMode caretMode) const
void setEnabled(bool)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
int count(const T &value) const
void append(const T &value)
virtual void setText(int column, const QString &text)
Definition: knjobdata.h:110
void setRowStretch(int row, int stretch)
visibleHeight
virtual void setSelectable(bool enable)
virtual int addColumn(const QString &label, int width)
bool isEmpty() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
void setText(const QString &)
virtual void setOn(bool b)
int itemPos(const Q3ListViewItem *item)
void hide()
void setMargin(int margin)
void loadList(KNNntpAccount::Ptr a)
QString toLower() const
bool contains(QChar ch, Qt::CaseSensitivity cs) const
void setFixedSize(const QSize &s)
void setFont(const QFont &)
void stop()
void setChecked(bool)
void addLayout(QLayout *layout, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
void slotItemDoubleClicked(Q3ListViewItem *it)
double click checks/unchecks (opens/closes) item
Definition: kngroupbrowser.cpp:310
QString mid(int position, int n) const
bool isSelectable() const
void slotFilterTextChanged(const QString &txt)
Definition: kngroupbrowser.cpp:397
virtual void updateItemState(CheckItem *it)=0
void setColumnStretch(int column, int stretch)
int height() const
virtual void setTreeStepSize(int)
int length() const
bool itemInListView(Q3ListView *view, const KNGroupInfo &gi)
Definition: kngroupbrowser.cpp:187
QString left(int n) const
void start(int msec)
virtual void setExpandable(bool enable)
KNGroupBrowser(QWidget *parent, const QString &caption, KNNntpAccount::Ptr a, ButtonCodes buttons=0, bool newCBact=false, const QString &user1=QString(), const QString &user2=QString())
Definition: kngroupbrowser.cpp:35
Checkable list view item with special handling for displaying moderated groups.
Definition: kngroupbrowser.h:38
CheckItem(Q3ListView *v, const KNGroupInfo &gi, KNGroupBrowser *b)
Definition: kngroupbrowser.cpp:416
Helper classes for the group selection dialog, contains info about a newsgroup (name, description)
Definition: kngroupmanager.h:34
GroupItem(Q3ListView *v, const KNGroupInfo &gi)
Definition: kngroupbrowser.cpp:468
void ensureVisible(int x, int y)
void setSpacing(int spacing)
virtual void clear()
contentsX
void createListItems(Q3ListViewItem *parent=0)
Definition: kngroupbrowser.cpp:200
void slotItemExpand(Q3ListViewItem *it)
Definition: kngroupbrowser.cpp:278
void setSingleShot(bool singleShot)
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
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.