--- kdebase-3.1.3/kcontrol/kicker/menutab.ui-- 2003-08-05 11:24:00.000000000 +0200 +++ kdebase-3.1.3/kcontrol/kicker/menutab.ui 2003-08-19 11:40:50.000000000 +0200 @@ -8,452 +8,356 @@ <rect> <x>0</x> <y>0</y> - <width>457</width> - <height>417</height> + <width>466</width> + <height>483</height> </rect> </property> <property name="caption"> <string>Form2</string> </property> - <vbox> + <spacer> <property name="name"> - <cstring>unnamed</cstring> + <cstring>Spacer5</cstring> </property> - <property name="margin"> - <number>11</number> + <property name="orientation"> + <enum>Vertical</enum> </property> - <property name="spacing"> - <number>6</number> + <property name="sizeType"> + <enum>Expanding</enum> </property> - <widget class="QButtonGroup"> + <property name="sizeHint"> + <size> + <width>16</width> + <height>16</height> + </size> + </property> + <property name="geometry"> + <rect> + <x>233</x> + <y>486</y> + <width>16</width> + <height>16</height> + </rect> + </property> + </spacer> + <spacer> + <property name="name"> + <cstring>Spacer6</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>16</width> + <height>16</height> + </size> + </property> + <property name="geometry"> + <rect> + <x>101</x> + <y>231</y> + <width>16</width> + <height>16</height> + </rect> + </property> + </spacer> + <widget class="QGroupBox"> + <property name="name"> + <cstring>m_browserGroup</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>240</y> + <width>445</width> + <height>94</height> + </rect> + </property> + <property name="title"> + <string>QuickBrowser Menus</string> + </property> + <grid> <property name="name"> - <cstring>m_kmenuGroup</cstring> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> </property> - <property name="title"> - <string>K Menu</string> + <property name="spacing"> + <number>6</number> </property> - <grid> + <widget class="QLayoutWidget" row="1" column="0"> <property name="name"> - <cstring>unnamed</cstring> - </property> - <property name="margin"> - <number>11</number> + <cstring>Layout3</cstring> </property> - <property name="spacing"> - <number>6</number> - </property> - <spacer row="4" column="0"> + <hbox> <property name="name"> - <cstring>Spacer6</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>0</width> - <height>20</height> - </size> - </property> - </spacer> - <spacer row="0" column="1"> - <property name="name"> - <cstring>Spacer4</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> + <cstring>unnamed</cstring> </property> - <property name="sizeType"> - <enum>Fixed</enum> - </property> - <property name="sizeHint"> - <size> - <width>16</width> - <height>20</height> - </size> - </property> - </spacer> - <widget class="KListView" row="0" column="2" rowspan="4" colspan="1"> - <column> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1</cstring> + </property> <property name="text"> - <string>Optional Sub Menus</string> + <string>Ma&ximum number of entries:</string> </property> - <property name="clickable"> - <bool>true</bool> + <property name="buddy" stdset="0"> + <cstring>m_maxQuickBrowserItems</cstring> </property> - <property name="resizable"> - <bool>true</bool> + <property name="whatsThis" stdset="0"> + <string>When browsing directories that contain a lot of files, the QuickBrowser can sometimes hide your whole desktop. Here you can limit the number of entries shown at a time in the QuickBrowser. This is particularly useful for low screen resolutions.</string> </property> - </column> - <property name="name"> - <cstring>m_subMenus</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>7</vsizetype> - <horstretch>0</horstretch> - <verstretch>1</verstretch> - </sizepolicy> - </property> - <property name="fullWidth"> - <bool>true</bool> - </property> - <property name="whatsThis" stdset="0"> - <string>This is a list of the dynamic menus that can be displayed in the KDE menu in addition to the normal applications. Use the checkboxes to add or remove menus.</string> - </property> - </widget> - <widget class="QLayoutWidget" row="0" column="0"> - <property name="name"> - <cstring>Layout4</cstring> - </property> - <grid> + </widget> + <widget class="KIntNumInput"> <property name="name"> - <cstring>unnamed</cstring> + <cstring>m_maxQuickBrowserItems</cstring> </property> - <property name="margin"> - <number>0</number> + <property name="value"> + <number>30</number> </property> - <property name="spacing"> - <number>6</number> + <property name="minValue"> + <number>10</number> </property> - <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2"> - <property name="name"> - <cstring>TextLabel1_2</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - <property name="frameShape"> - <enum>MShape</enum> - </property> - <property name="frameShadow"> - <enum>MShadow</enum> - </property> - <property name="text"> - <string>Menu item format:</string> - </property> - <property name="whatsThis" stdset="0"> - <string>This is a preview of the tile that will be used for window list buttons.</string> - </property> - </widget> - <widget class="QRadioButton" row="1" column="1"> - <property name="name"> - <cstring>m_formatSimple</cstring> - </property> - <property name="focusPolicy"> - <enum>TabFocus</enum> - </property> - <property name="text"> - <string>&Name only</string> - </property> - <property name="whatsThis" stdset="0"> - <string>When this option is selected, items in the K Menu will appear with the application's name next to the icon.</string> - </property> - </widget> - <widget class="QRadioButton" row="2" column="1"> - <property name="name"> - <cstring>m_formatNameDesc</cstring> - </property> - <property name="text"> - <string>Na&me (Description)</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - <property name="whatsThis" stdset="0"> - <string>When this option is selected, items in the K Menu will appear with the application's name and a brief description in brackets next to the icon.</string> - </property> - </widget> - <spacer row="2" column="0"> - <property name="name"> - <cstring>Spacer3</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Fixed</enum> - </property> - <property name="sizeHint"> - <size> - <width>16</width> - <height>20</height> - </size> - </property> - </spacer> - <widget class="QRadioButton" row="3" column="1"> - <property name="name"> - <cstring>m_formDescName</cstring> - </property> - <property name="focusPolicy"> - <enum>TabFocus</enum> - </property> - <property name="text"> - <string>Des&cription (Name)</string> - </property> - <property name="whatsThis" stdset="0"> - <string>When this option is selected, items in the K Menu will appear with a brief description and the application's name in brackets next to the icon.</string> - </property> - </widget> - </grid> - </widget> - <widget class="QPushButton" row="3" column="0"> - <property name="name"> - <cstring>PushButton1</cstring> - </property> - <property name="text"> - <string>Edit &K Menu</string> - </property> - </widget> - <widget class="QCheckBox" row="1" column="0"> - <property name="name"> - <cstring>m_showPixmap</cstring> - </property> - <property name="text"> - <string>Show &side image</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - <property name="whatsThis" stdset="0"> - <string><qt>When this option is selected an image will appear down the left-hand side of the K Menu. The image will be tinted according to your color settings. - -<p><b>Tip</b>: You can customize the image that appears in the K Menu by putting an image file called kside.png and a tileable image file called kside_tile.png in $KDEHOME/share/apps/kicker/pics.</qt></string> - </property> - </widget> - <spacer row="2" column="0"> - <property name="name"> - <cstring>Spacer9</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>0</width> - <height>20</height> - </size> - </property> - </spacer> - </grid> - </widget> - <widget class="QGroupBox"> + <property name="maxValue"> + <number>30</number> + </property> + <property name="whatsThis" stdset="0"> + <string>When browsing directories that contain a lot of files, the QuickBrowser can sometimes hide your whole desktop. Here you can limit the number of entries shown at a time in the QuickBrowser. This is particularly useful for low screen resolutions.</string> + </property> + </widget> + </hbox> + </widget> + <widget class="QCheckBox" row="0" column="0"> + <property name="name"> + <cstring>m_hiddenFiles</cstring> + </property> + <property name="text"> + <string>Sh&ow hidden files</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>If this option is enabled, hidden files (i.e. files beginning with a dot) will be shown in the QuickBrowser menus.</string> + </property> + </widget> + <spacer row="0" column="1" rowspan="2" colspan="1"> + <property name="name"> + <cstring>Spacer7</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>0</height> + </size> + </property> + </spacer> + </grid> + </widget> + <widget class="QButtonGroup"> + <property name="name"> + <cstring>m_pRecentOrderGroup</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>340</y> + <width>445</width> + <height>124</height> + </rect> + </property> + <property name="title"> + <string>QuickStart Menu Items</string> + </property> + <grid> <property name="name"> - <cstring>m_browserGroup</cstring> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> </property> - <property name="title"> - <string>QuickBrowser Menus</string> + <property name="spacing"> + <number>6</number> </property> - <grid> + <widget class="QLayoutWidget" row="2" column="0"> <property name="name"> - <cstring>unnamed</cstring> + <cstring>Layout4</cstring> </property> - <property name="margin"> - <number>11</number> - </property> - <property name="spacing"> - <number>6</number> - </property> - <widget class="QLayoutWidget" row="1" column="0"> + <hbox> <property name="name"> - <cstring>Layout3</cstring> + <cstring>unnamed</cstring> </property> - <hbox> + <widget class="QLabel"> <property name="name"> - <cstring>unnamed</cstring> + <cstring>TextLabel2</cstring> </property> - <widget class="QLabel"> - <property name="name"> - <cstring>TextLabel1</cstring> - </property> - <property name="text"> - <string>Ma&ximum number of entries:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>m_maxQuickBrowserItems</cstring> - </property> - <property name="whatsThis" stdset="0"> - <string>When browsing directories that contain a lot of files, the QuickBrowser can sometimes hide your whole desktop. Here you can limit the number of entries shown at a time in the QuickBrowser. This is particularly useful for low screen resolutions.</string> - </property> - </widget> - <widget class="KIntNumInput"> - <property name="name"> - <cstring>m_maxQuickBrowserItems</cstring> - </property> - <property name="value"> - <number>30</number> - </property> - <property name="minValue"> - <number>10</number> - </property> - <property name="maxValue"> - <number>30</number> - </property> - <property name="whatsThis" stdset="0"> - <string>When browsing directories that contain a lot of files, the QuickBrowser can sometimes hide your whole desktop. Here you can limit the number of entries shown at a time in the QuickBrowser. This is particularly useful for low screen resolutions.</string> - </property> - </widget> - </hbox> - </widget> - <widget class="QCheckBox" row="0" column="0"> - <property name="name"> - <cstring>m_hiddenFiles</cstring> - </property> - <property name="text"> - <string>Sh&ow hidden files</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - <property name="whatsThis" stdset="0"> - <string>If this option is enabled, hidden files (i.e. files beginning with a dot) will be shown in the QuickBrowser menus.</string> - </property> - </widget> - <spacer row="0" column="1" rowspan="2" colspan="1"> - <property name="name"> - <cstring>Spacer7</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>20</width> - <height>0</height> - </size> - </property> - </spacer> - </grid> - </widget> - <widget class="QButtonGroup"> + <property name="text"> + <string>Maxim&um number of entries:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>m_maxQuickStartItems</cstring> + </property> + <property name="whatsThis" stdset="0"> + <string>This option allows you to define the maximum number of applications that should be displayed in the QuickStart menu area.</string> + </property> + </widget> + <widget class="KIntNumInput"> + <property name="name"> + <cstring>m_maxQuickStartItems</cstring> + </property> + <property name="value"> + <number>5</number> + </property> + <property name="minValue"> + <number>0</number> + </property> + <property name="maxValue"> + <number>20</number> + </property> + <property name="whatsThis" stdset="0"> + <string>This option allows you to define how many applications should be displayed at most in the QuickStart menu area.</string> + </property> + </widget> + </hbox> + </widget> + <widget class="QRadioButton" row="0" column="0"> + <property name="name"> + <cstring>m_showRecent</cstring> + </property> + <property name="text"> + <string>Sho&w the applications most recently used</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>When this option is selected the QuickStart menu area will be filled with the applications you have used most recently.</string> + </property> + </widget> + <widget class="QRadioButton" row="1" column="0"> + <property name="name"> + <cstring>m_showFrequent</cstring> + </property> + <property name="focusPolicy"> + <enum>NoFocus</enum> + </property> + <property name="text"> + <string>Show &the applications most frequently used</string> + </property> + <property name="whatsThis" stdset="0"> + <string>When this option is selected the QuickStart menu area will be filled with the applications you use most frequently.</string> + </property> + </widget> + <spacer row="0" column="1" rowspan="3" colspan="1"> + <property name="name"> + <cstring>Spacer8</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>0</height> + </size> + </property> + </spacer> + </grid> + </widget> + <widget class="QButtonGroup"> + <property name="name"> + <cstring>m_kmenuGroup</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>10</y> + <width>445</width> + <height>230</height> + </rect> + </property> + <property name="title"> + <string>K Menu</string> + </property> + <spacer> <property name="name"> - <cstring>m_pRecentOrderGroup</cstring> + <cstring>Spacer4</cstring> </property> - <property name="title"> - <string>QuickStart Menu Items</string> + <property name="orientation"> + <enum>Horizontal</enum> </property> - <grid> - <property name="name"> - <cstring>unnamed</cstring> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>16</width> + <height>20</height> + </size> + </property> + <property name="geometry"> + <rect> + <x>205</x> + <y>70</y> + <width>16</width> + <height>20</height> + </rect> + </property> + </spacer> + <widget class="KListView"> + <column> + <property name="text"> + <string>Optional Sub Menus</string> </property> - <property name="margin"> - <number>11</number> + <property name="clickable"> + <bool>true</bool> </property> - <property name="spacing"> - <number>6</number> + <property name="resizable"> + <bool>true</bool> </property> - <widget class="QLayoutWidget" row="2" column="0"> - <property name="name"> - <cstring>Layout4</cstring> - </property> - <hbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QLabel"> - <property name="name"> - <cstring>TextLabel2</cstring> - </property> - <property name="text"> - <string>Maxim&um number of entries:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>m_maxQuickStartItems</cstring> - </property> - <property name="whatsThis" stdset="0"> - <string>This option allows you to define the maximum number of applications that should be displayed in the QuickStart menu area.</string> - </property> - </widget> - <widget class="KIntNumInput"> - <property name="name"> - <cstring>m_maxQuickStartItems</cstring> - </property> - <property name="value"> - <number>5</number> - </property> - <property name="minValue"> - <number>0</number> - </property> - <property name="maxValue"> - <number>20</number> - </property> - <property name="whatsThis" stdset="0"> - <string>This option allows you to define how many applications should be displayed at most in the QuickStart menu area.</string> - </property> - </widget> - </hbox> - </widget> - <widget class="QRadioButton" row="0" column="0"> - <property name="name"> - <cstring>m_showRecent</cstring> - </property> - <property name="text"> - <string>Sho&w the applications most recently used</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - <property name="whatsThis" stdset="0"> - <string>When this option is selected the QuickStart menu area will be filled with the applications you have used most recently.</string> - </property> - </widget> - <widget class="QRadioButton" row="1" column="0"> - <property name="name"> - <cstring>m_showFrequent</cstring> - </property> - <property name="focusPolicy"> - <enum>NoFocus</enum> - </property> - <property name="text"> - <string>Show &the applications most frequently used</string> - </property> - <property name="whatsThis" stdset="0"> - <string>When this option is selected the QuickStart menu area will be filled with the applications you use most frequently.</string> - </property> - </widget> - <spacer row="0" column="1" rowspan="3" colspan="1"> - <property name="name"> - <cstring>Spacer8</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>20</width> - <height>0</height> - </size> - </property> - </spacer> - </grid> + </column> + <property name="name"> + <cstring>m_subMenus</cstring> + </property> + <property name="geometry"> + <rect> + <x>227</x> + <y>25</y> + <width>197</width> + <height>186</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + <horstretch>0</horstretch> + <verstretch>1</verstretch> + </sizepolicy> + </property> + <property name="fullWidth"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>This is a list of the dynamic menus that can be displayed in the KDE menu in addition to the normal applications. Use the checkboxes to add or remove menus.</string> + </property> </widget> <spacer> <property name="name"> - <cstring>Spacer5</cstring> + <cstring>Spacer9</cstring> </property> <property name="orientation"> <enum>Vertical</enum> @@ -463,12 +367,209 @@ </property> <property name="sizeHint"> <size> + <width>16</width> + <height>16</height> + </size> + </property> + <property name="geometry"> + <rect> + <x>105</x> + <y>172</y> + <width>16</width> + <height>16</height> + </rect> + </property> + </spacer> + <widget class="QPushButton"> + <property name="name"> + <cstring>PushButton1</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>190</y> + <width>188</width> + <height>32</height> + </rect> + </property> + <property name="text"> + <string>Edit &K Menu</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>m_showPixmap</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>142</y> + <width>188</width> + <height>24</height> + </rect> + </property> + <property name="text"> + <string>Show &side image</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string><qt>When this option is selected an image will appear down the left-hand side of the K Menu. The image will be tinted according to your color settings. + +<p><b>Tip</b>: You can customize the image that appears in the K Menu by putting an image file called kside.png and a tileable image file called kside_tile.png in $KDEHOME/share/apps/kicker/pics.</qt></string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>m_showRunCommand</cstring> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>170</y> + <width>191</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Show run command</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1_2</cstring> + </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>21</y> + <width>186</width> + <height>33</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> <width>0</width> + <height>0</height> + </size> + </property> + <property name="frameShape"> + <enum>MShape</enum> + </property> + <property name="frameShadow"> + <enum>MShadow</enum> + </property> + <property name="text"> + <string>Menu item format:</string> + </property> + <property name="whatsThis" stdset="0"> + <string>This is a preview of the tile that will be used for window list buttons.</string> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>Spacer3</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>16</width> <height>20</height> </size> </property> + <property name="geometry"> + <rect> + <x>11</x> + <y>85</y> + <width>16</width> + <height>20</height> + </rect> + </property> </spacer> - </vbox> + <widget class="QRadioButton"> + <property name="name"> + <cstring>m_formDescName</cstring> + </property> + <property name="geometry"> + <rect> + <x>33</x> + <y>111</y> + <width>164</width> + <height>19</height> + </rect> + </property> + <property name="focusPolicy"> + <enum>TabFocus</enum> + </property> + <property name="text"> + <string>Des&cription (Name)</string> + </property> + <property name="whatsThis" stdset="0"> + <string>When this option is selected, items in the K Menu will appear with a brief description and the application's name in brackets next to the icon.</string> + </property> + </widget> + <widget class="QRadioButton"> + <property name="name"> + <cstring>m_formatSimple</cstring> + </property> + <property name="geometry"> + <rect> + <x>33</x> + <y>60</y> + <width>164</width> + <height>19</height> + </rect> + </property> + <property name="focusPolicy"> + <enum>TabFocus</enum> + </property> + <property name="text"> + <string>&Name only</string> + </property> + <property name="whatsThis" stdset="0"> + <string>When this option is selected, items in the K Menu will appear with the application's name next to the icon.</string> + </property> + </widget> + <widget class="QRadioButton"> + <property name="name"> + <cstring>m_formatNameDesc</cstring> + </property> + <property name="geometry"> + <rect> + <x>33</x> + <y>85</y> + <width>164</width> + <height>19</height> + </rect> + </property> + <property name="text"> + <string>Na&me (Description)</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>When this option is selected, items in the K Menu will appear with the application's name and a brief description in brackets next to the icon.</string> + </property> + </widget> + </widget> </widget> <connections> <connection> @@ -497,10 +598,10 @@ </slots> <layoutdefaults spacing="6" margin="11"/> <includehints> - <includehint>klistview.h</includehint> <includehint>knuminput.h</includehint> <includehint>knuminput.h</includehint> <includehint>knuminput.h</includehint> <includehint>knuminput.h</includehint> + <includehint>klistview.h</includehint> </includehints> </UI> --- kdebase-3.1.3/kicker/ui/recentapps.cpp-- 2003-08-19 12:03:09.000000000 +0200 +++ kdebase-3.1.3/kicker/ui/recentapps.cpp 2003-08-19 12:04:12.000000000 +0200 @@ -36,7 +36,7 @@ RecentlyLaunchedApps::RecentlyLaunchedAp { // set defaults m_bRecentVsOften = false; - m_nNumVisible = 5; // max entries to display + m_nNumVisible = 0; // max entries to display setAutoDelete( true ); m_nNumMenuItems = 0; m_bNeedToUpdate = false; --- kdebase-3.1.3/kicker/ui/k_mnu.cpp.kcontrom_kicker_config_menu 2003-08-05 11:24:12.000000000 +0200 +++ kdebase-3.1.3/kicker/ui/k_mnu.cpp 2003-08-19 14:52:09.000000000 +0200 @@ -82,7 +82,7 @@ bool PanelKMenu::loadSidePixmap() QColor inactiveTitle = config->readColorEntry("inactiveBackground", &color); config->setGroup("KMenu"); - if (!config->readBoolEntry("UseSidePixmap", true)) + if (!config->readBoolEntry("UseSidePixmap", false)) return false; // figure out which color is most suitable for recoloring to @@ -200,7 +200,7 @@ void PanelKMenu::initialize() bool need_separator = false; // insert bookmarks - if(config->readBoolEntry("UseBookmarks", true) && kapp->authorizeKAction("bookmarks")) + if(config->readBoolEntry("UseBookmarks", false) && kapp->authorizeKAction("bookmarks")) { // Need to create a new popup each time, it's deleted by subMenus.clear() KPopupMenu * bookmarkParent = new KPopupMenu( this, "bookmarks" ); @@ -220,7 +220,7 @@ void PanelKMenu::initialize() } // insert quickbrowser - if(config->readBoolEntry("UseBrowser", true)) + if(config->readBoolEntry("UseBrowser", false)) { PanelQuickBrowser *browserMnu = new PanelQuickBrowser(this); insertItem(SmallIconSet("kdisknav"), i18n("Quick Browser"), browserMnu); @@ -237,7 +237,7 @@ void PanelKMenu::initialize() MenuInfo info(*it); if (!info.isValid()) continue; - + KPanelMenu *menu = info.load(); if (menu) { @@ -268,7 +268,7 @@ void PanelKMenu::initialize() } // run command - if (kapp->authorize("run_command")) + if ( config->readBoolEntry("UseRunCommand", false) && kapp->authorize("run_command")) { insertItem(SmallIconSet("run"), i18n("Run Command..."), this, SLOT( slotRunCommand() ) ); insertSeparator(); @@ -276,7 +276,7 @@ void PanelKMenu::initialize() // // insert panel menu // PanelOpMenu *panelOpMenu = new PanelOpMenu( _panel, this ); -// insertItem(SmallIconSet("panel"), i18n("Configure Panel"), panelOpMenu); +// insertItem(SmallIconSet("panel"), i18n("Configure Panel..."), panelOpMenu); // subMenus.append(panelOpMenu); QStringList dmopt = --- kdebase-3.1.3/kcontrol/kicker/menutab_impl.cpp.kcontrom_kicker_config_menu 2003-08-05 11:24:00.000000000 +0200 +++ kdebase-3.1.3/kcontrol/kicker/menutab_impl.cpp 2003-08-19 14:51:41.000000000 +0200 @@ -16,20 +16,10 @@ */ #include <qcheckbox.h> -#include <qslider.h> -#include <qwhatsthis.h> -#include <qlineedit.h> -#include <qlistview.h> -#include <qbuttongroup.h> #include <qradiobutton.h> -#include <qvalidator.h> -#include <qtoolbutton.h> #include <qdir.h> -#include <qtooltip.h> #include <qlayout.h> -#include <kconfig.h> -#include <kglobal.h> #include <knuminput.h> #include <klocale.h> #include <klistview.h> @@ -75,6 +65,7 @@ MenuTab::MenuTab( QWidget *parent, const connect(m_formatNameDesc, SIGNAL(clicked()), SIGNAL(changed())); connect(m_formDescName, SIGNAL(clicked()), SIGNAL(changed())); connect(m_showPixmap, SIGNAL(clicked()), SIGNAL(changed())); + connect(m_showRunCommand, SIGNAL(clicked()), SIGNAL(changed())); connect(m_hiddenFiles, SIGNAL(clicked()), SIGNAL(changed())); connect(m_maxQuickBrowserItems, SIGNAL(valueChanged(int)), SIGNAL(changed())); connect(m_showRecent, SIGNAL(clicked()), SIGNAL(changed())); @@ -90,9 +81,9 @@ void MenuTab::load() KConfig c(KickerConfig::configName(), false, false); c.setGroup("KMenu"); - m_showPixmap->setChecked(c.readBoolEntry("UseSidePixmap", true)); - + m_showPixmap->setChecked(c.readBoolEntry("UseSidePixmap", false)); c.setGroup("menus"); + m_showRunCommand->setChecked(c.readBoolEntry("UseRunCommand", false)); m_hiddenFiles->setChecked(c.readBoolEntry("ShowHiddenFiles", false)); m_maxQuickBrowserItems->setValue(c.readNumEntry("MaxEntries2", 30)); @@ -120,7 +111,7 @@ void MenuTab::load() i18n("Bookmarks"), QString::null, SmallIcon("bookmark"), - c.readBoolEntry("UseBookmarks", true)); + c.readBoolEntry("UseBookmarks", false)); connect(m_bookmarkMenu, SIGNAL(toggled(bool)), SIGNAL(changed())); // show the quick menus menu? @@ -128,7 +119,7 @@ void MenuTab::load() i18n("Quick Browser"), QString::null, SmallIcon("kdisknav"), - c.readBoolEntry("UseBrowser", true)); + c.readBoolEntry("UseBrowser", false)); connect(m_quickBrowserMenu, SIGNAL(toggled(bool)), SIGNAL(changed())); QStringList ext = c.readListEntry("Extensions"); @@ -155,7 +146,7 @@ void MenuTab::load() else m_showFrequent->setChecked(true); - m_maxQuickStartItems->setValue(c.readNumEntry("NumVisibleEntries", 5)); + m_maxQuickStartItems->setValue(c.readNumEntry("NumVisibleEntries", 0)); } void MenuTab::save() @@ -175,6 +166,7 @@ void MenuTab::save() c.writeEntry("ShowHiddenFiles", m_hiddenFiles->isChecked()); c.writeEntry("NumVisibleEntries", m_maxQuickStartItems->value()); c.writeEntry("RecentVsOften", m_showRecent->isChecked()); + c.writeEntry("UseRunCommand", m_showRunCommand->isChecked()); QStringList ext; QListViewItem *item(0); @@ -201,16 +193,17 @@ void MenuTab::save() void MenuTab::defaults() { - m_showPixmap->setChecked(true); + m_showPixmap->setChecked(false); m_maxQuickBrowserItems->setValue(30); m_formatNameDesc->setChecked(true); m_showRecent->setChecked(true); m_hiddenFiles->setChecked(false); - m_bookmarkMenu->setOn(true); - m_quickBrowserMenu->setOn(true); + m_bookmarkMenu->setOn(false); + m_quickBrowserMenu->setOn(false); + m_showRunCommand->setChecked(false); m_showFrequent->setChecked(true); - m_maxQuickStartItems->setValue(5); + m_maxQuickStartItems->setValue(0); } void MenuTab::launchMenuEditor()