summaryrefslogtreecommitdiffabout
path: root/korganizer/kofilterview.h
authorzautrix <zautrix>2005-06-14 12:58:15 (UTC)
committer zautrix <zautrix>2005-06-14 12:58:15 (UTC)
commitd38f601cfdb510fc39dd798af44a50c7958d7be8 (patch) (side-by-side diff)
treed2a118c01faf4b69806de5d6b8b2bf6f6315ecb9 /korganizer/kofilterview.h
parentbd2fd522c0ba5c5a7897df0941032a9af9842dfc (diff)
downloadkdepimpi-d38f601cfdb510fc39dd798af44a50c7958d7be8.zip
kdepimpi-d38f601cfdb510fc39dd798af44a50c7958d7be8.tar.gz
kdepimpi-d38f601cfdb510fc39dd798af44a50c7958d7be8.tar.bz2
fixxx
Diffstat (limited to 'korganizer/kofilterview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kofilterview.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kofilterview.h b/korganizer/kofilterview.h
index 1849e36..e2ebdd4 100644
--- a/korganizer/kofilterview.h
+++ b/korganizer/kofilterview.h
@@ -16,24 +16,25 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
As a special exception, permission is given to link this program
with any edition of Qt, and distribute the resulting executable,
without including the source code for Qt in the source distribution.
*/
#ifndef KOFILTERVIEW_H
#define KOFILTERVIEW_H
#include <qstring.h>
#include <qcheckbox.h>
+#include <qscrollview.h>
#include <qpushbutton.h>
#include <kconfig.h>
#include "kofilterview_base.h"
#include <libkcal/calfilter.h>
class QGridLayout;
using namespace KCal;
class KOCalButton : public QPushButton
{
Q_OBJECT
@@ -101,25 +102,25 @@ class KOFilterView : public KOFilterView_base
CalFilter *selectedFilter();
void setSelectedFilter(QString);
void setSelectedFilter( int );
signals:
void filterChanged();
void editFilters();
private:
QPtrList<CalFilter> *mFilters;
};
-class KOCalEditView : public QWidget
+class KOCalEditView : public QScrollView
{
Q_OBJECT
public:
KOCalEditView( QWidget* parent=0,const char* name=0);
~KOCalEditView();
public slots:
void addCal();
void enableAll();
void enableAlarm();
void disableRO();
void deleteAll();
@@ -132,25 +133,24 @@ class KOCalEditView : public QWidget
void infoCal(int) ;
void readConfig();
signals:
void alarmEnabled ( int cal, bool enable );
void calendarEnabled ( int cal, bool enable );
void calendarReadonly ( int cal, bool readonly );
void setCalendarDefault ( int cal );
void removeCalendar ( int cal );
void calendarAdded( int );
void needsUpdate();
private:
- QVBoxLayout* ml;
QWidget *mw;
void toggleList ( QPtrList<KOCalCheckButton> );
QPtrList<KOCalCheckButton> mStdandardB;
QPtrList<KOCalCheckButton> mEnabledB;
QPtrList<KOCalCheckButton> mAlarmB;
QPtrList<KOCalCheckButton> mROB;
QGridLayout* mainLayout;
};
#endif // KOFILTERVIEW_H