summaryrefslogtreecommitdiffabout
path: root/korganizer/kofilterview.h
authorzautrix <zautrix>2005-07-02 05:23:23 (UTC)
committer zautrix <zautrix>2005-07-02 05:23:23 (UTC)
commitb51bfb06293b34b77c46954253ab1b5220c8dd03 (patch) (side-by-side diff)
tree63caa6a4df764e14b49440800c8744b42ce94d82 /korganizer/kofilterview.h
parent36a9df18a9789d0f44d0485b5f47c4f0329abb22 (diff)
downloadkdepimpi-b51bfb06293b34b77c46954253ab1b5220c8dd03.zip
kdepimpi-b51bfb06293b34b77c46954253ab1b5220c8dd03.tar.gz
kdepimpi-b51bfb06293b34b77c46954253ab1b5220c8dd03.tar.bz2
fixxx
Diffstat (limited to 'korganizer/kofilterview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kofilterview.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/korganizer/kofilterview.h b/korganizer/kofilterview.h
index 02107cf..874fc6a 100644
--- a/korganizer/kofilterview.h
+++ b/korganizer/kofilterview.h
@@ -70,7 +70,9 @@ class KONewCalPrefs : public QDialog
lay->addWidget( cancel );
connect ( ok,SIGNAL(clicked() ),this , SLOT ( checkValid() ) );
connect (cancel, SIGNAL(clicked() ), this, SLOT ( reject()) );
- setMinimumWidth( 220 );
+ int minwid = 220;
+ if ( QApplication::desktop()->width() >= 320 ) minwid = 300;
+ setMinimumWidth( minwid );
resize(sizeHint() );
}
@@ -163,9 +165,10 @@ class KOCalRadioButton : public QRadioButton
//setMaximumWidth( 10 );
}
+ int num() { return mNumber;}
void setNum ( int num ) {mNumber = num; }
signals:
- void selectNum ( int, bool );
+ void selectNum ( int );
private:
int mNumber;
void keyPressEvent ( QKeyEvent * e )
@@ -174,7 +177,7 @@ private:
}
private slots :
- void bottonClicked( bool b) { if ( mNumber > 0 ) emit selectNum ( mNumber , b); }
+ void bottonClicked( bool b) { if ( mNumber > 0 ) emit selectNum ( mNumber); }
};
@@ -216,7 +219,7 @@ class KOCalEditView : public QScrollView
void enableAlarm();
void disableRO();
void deleteAll();
- void selectStdCal(int,bool );
+ void selectStdCal(int);
void selectCal(int,bool );
void selectCalAlarm(int,bool );
void selectReadOnly(int,bool );
@@ -225,6 +228,7 @@ class KOCalEditView : public QScrollView
void infoCal(int) ;
void readConfig();
void defaultInfo();
+ void findNewStandard();
signals:
void alarmEnabled ( int cal, bool enable );
void calendarEnabled ( int cal, bool enable );
@@ -237,7 +241,7 @@ class KOCalEditView : public QScrollView
private:
QWidget *mw;
- void toggleList ( QPtrList<KOCalCheckButton> );
+ void toggleList ( QPtrList<KOCalCheckButton> , bool b = true );
QPtrList<KOCalRadioButton> mStdandardB;
QPtrList<KOCalCheckButton> mEnabledB;
QPtrList<KOCalCheckButton> mAlarmB;