-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 2 | ||||
-rw-r--r-- | core/pim/osearch/mainwindow.cpp | 2 | ||||
-rw-r--r-- | core/settings/citytime/citytimebase.cpp | 36 | ||||
-rw-r--r-- | noncore/applets/memoryapplet/swapfile.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/zsafe/scqtfiledlg.cpp | 6 | ||||
-rw-r--r-- | noncore/apps/zsafe/zsafe.cpp | 8 | ||||
-rw-r--r-- | noncore/multimedia/powerchord/powerchordbase.cpp | 12 | ||||
-rw-r--r-- | noncore/net/mail/mainwindow.cpp | 2 | ||||
-rw-r--r-- | noncore/settings/mediummount/mediumglobal.cc | 2 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 2 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.cpp | 2 |
11 files changed, 38 insertions, 38 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index 9c13017..312c663 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp | |||
@@ -253,33 +253,33 @@ void ContactEditor::init() { | |||
253 | txtCity = new QLineEdit( container ); | 253 | txtCity = new QLineEdit( container ); |
254 | gl->addMultiCellWidget( txtCity, 2, 2, 1, 2 ); | 254 | gl->addMultiCellWidget( txtCity, 2, 2, 1, 2 ); |
255 | 255 | ||
256 | l = new QLabel( tr( "State" ), container ); | 256 | l = new QLabel( tr( "State" ), container ); |
257 | gl->addWidget( l, 3, 0 ); | 257 | gl->addWidget( l, 3, 0 ); |
258 | txtState = new QLineEdit( container ); | 258 | txtState = new QLineEdit( container ); |
259 | gl->addMultiCellWidget( txtState, 3, 3, 1, 2 ); | 259 | gl->addMultiCellWidget( txtState, 3, 3, 1, 2 ); |
260 | 260 | ||
261 | l = new QLabel( tr( "Zip Code" ), container ); | 261 | l = new QLabel( tr( "Zip Code" ), container ); |
262 | gl->addWidget( l, 4, 0 ); | 262 | gl->addWidget( l, 4, 0 ); |
263 | txtZip = new QLineEdit( container ); | 263 | txtZip = new QLineEdit( container ); |
264 | gl->addMultiCellWidget( txtZip, 4, 4, 1, 2 ); | 264 | gl->addMultiCellWidget( txtZip, 4, 4, 1, 2 ); |
265 | 265 | ||
266 | l = new QLabel( tr( "Country" ), container ); | 266 | l = new QLabel( tr( "Country" ), container ); |
267 | gl->addWidget( l, 5, 0 ); | 267 | gl->addWidget( l, 5, 0 ); |
268 | cmbCountry = new QComboBox( TRUE, container ); | 268 | cmbCountry = new QComboBox( TRUE, container ); |
269 | cmbCountry->insertItem( tr( "" ) ); | 269 | cmbCountry->insertItem( "" ); |
270 | cmbCountry->insertItem( tr ( "United States" ) ); | 270 | cmbCountry->insertItem( tr ( "United States" ) ); |
271 | cmbCountry->insertItem( tr ( "United Kingdom" ) ); | 271 | cmbCountry->insertItem( tr ( "United Kingdom" ) ); |
272 | cmbCountry->insertItem( tr ( "Afghanistan" ) ); | 272 | cmbCountry->insertItem( tr ( "Afghanistan" ) ); |
273 | cmbCountry->insertItem( tr ( "Albania" ) ); | 273 | cmbCountry->insertItem( tr ( "Albania" ) ); |
274 | cmbCountry->insertItem( tr ( "Algeria" ) ); | 274 | cmbCountry->insertItem( tr ( "Algeria" ) ); |
275 | cmbCountry->insertItem( tr ( "American Samoa" ) ); | 275 | cmbCountry->insertItem( tr ( "American Samoa" ) ); |
276 | cmbCountry->insertItem( tr ( "Andorra" ) ); | 276 | cmbCountry->insertItem( tr ( "Andorra" ) ); |
277 | cmbCountry->insertItem( tr ( "Angola" ) ); | 277 | cmbCountry->insertItem( tr ( "Angola" ) ); |
278 | cmbCountry->insertItem( tr ( "Anguilla" ) ); | 278 | cmbCountry->insertItem( tr ( "Anguilla" ) ); |
279 | cmbCountry->insertItem( tr ( "Antarctica" ) ); | 279 | cmbCountry->insertItem( tr ( "Antarctica" ) ); |
280 | cmbCountry->insertItem( tr ( "Argentina" ) ); | 280 | cmbCountry->insertItem( tr ( "Argentina" ) ); |
281 | cmbCountry->insertItem( tr ( "Armenia" ) ); | 281 | cmbCountry->insertItem( tr ( "Armenia" ) ); |
282 | cmbCountry->insertItem( tr ( "Aruba" ) ); | 282 | cmbCountry->insertItem( tr ( "Aruba" ) ); |
283 | cmbCountry->insertItem( tr ( "Australia" ) ); | 283 | cmbCountry->insertItem( tr ( "Australia" ) ); |
284 | cmbCountry->insertItem( tr ( "Austria" ) ); | 284 | cmbCountry->insertItem( tr ( "Austria" ) ); |
285 | cmbCountry->insertItem( tr ( "Azerbaijan" ) ); | 285 | cmbCountry->insertItem( tr ( "Azerbaijan" ) ); |
diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp index 798e1f1..4589c9d 100644 --- a/core/pim/osearch/mainwindow.cpp +++ b/core/pim/osearch/mainwindow.cpp | |||
@@ -186,33 +186,33 @@ void MainWindow::makeMenu() | |||
186 | 186 | ||
187 | addToolBar( searchBar, "Search", QMainWindow::Top, TRUE ); | 187 | addToolBar( searchBar, "Search", QMainWindow::Top, TRUE ); |
188 | QLineEdit *searchEdit = new QLineEdit( searchBar, "seachEdit" ); | 188 | QLineEdit *searchEdit = new QLineEdit( searchBar, "seachEdit" ); |
189 | QWhatsThis::add( searchEdit, tr("Enter your search terms here") ); | 189 | QWhatsThis::add( searchEdit, tr("Enter your search terms here") ); |
190 | searchEdit->setFocus(); | 190 | searchEdit->setFocus(); |
191 | searchBar->setHorizontalStretchable( TRUE ); | 191 | searchBar->setHorizontalStretchable( TRUE ); |
192 | searchBar->setStretchableWidget( searchEdit ); | 192 | searchBar->setStretchableWidget( searchEdit ); |
193 | 193 | ||
194 | //Search button | 194 | //Search button |
195 | SearchAllAction->addTo( searchBar ); | 195 | SearchAllAction->addTo( searchBar ); |
196 | 196 | ||
197 | //image ripped of off opie-login/loginwindow.cpp | 197 | //image ripped of off opie-login/loginwindow.cpp |
198 | QPixmap image1( ( const char** ) image1_data ); | 198 | QPixmap image1( ( const char** ) image1_data ); |
199 | 199 | ||
200 | //Clear text | 200 | //Clear text |
201 | ClearSearchText = new QToolButton( searchBar, "ClearSearchText"); | 201 | ClearSearchText = new QToolButton( searchBar, "ClearSearchText"); |
202 | ClearSearchText->setText( tr( "" ) ); | 202 | ClearSearchText->setText( "" ); |
203 | ClearSearchText->setPixmap( image1 ); | 203 | ClearSearchText->setPixmap( image1 ); |
204 | 204 | ||
205 | connect( searchEdit, SIGNAL( textChanged(const QString&) ),this, SLOT( setSearch(const QString&) ) ); | 205 | connect( searchEdit, SIGNAL( textChanged(const QString&) ),this, SLOT( setSearch(const QString&) ) ); |
206 | connect( ClearSearchText, SIGNAL( clicked() ), searchEdit, SLOT( clear() ) ); | 206 | connect( ClearSearchText, SIGNAL( clicked() ), searchEdit, SLOT( clear() ) ); |
207 | 207 | ||
208 | } | 208 | } |
209 | 209 | ||
210 | MainWindow::~MainWindow() | 210 | MainWindow::~MainWindow() |
211 | { | 211 | { |
212 | Config cfg( "osearch", Config::User ); | 212 | Config cfg( "osearch", Config::User ); |
213 | cfg.setGroup( "search_settings" ); | 213 | cfg.setGroup( "search_settings" ); |
214 | cfg.writeEntry( "caseSensitiv", actionCaseSensitiv->isOn() ); | 214 | cfg.writeEntry( "caseSensitiv", actionCaseSensitiv->isOn() ); |
215 | cfg.writeEntry( "wildcards", actionWildcards->isOn() ); | 215 | cfg.writeEntry( "wildcards", actionWildcards->isOn() ); |
216 | //cfg.writeEntry( "whole_words_only", actionWholeWordsOnly->isOn() ); | 216 | //cfg.writeEntry( "whole_words_only", actionWholeWordsOnly->isOn() ); |
217 | } | 217 | } |
218 | 218 | ||
diff --git a/core/settings/citytime/citytimebase.cpp b/core/settings/citytime/citytimebase.cpp index 77cb91d..bcdd422 100644 --- a/core/settings/citytime/citytimebase.cpp +++ b/core/settings/citytime/citytimebase.cpp | |||
@@ -32,214 +32,214 @@ CityTimeBase::CityTimeBase( QWidget* parent, const char* name, WFlags ) | |||
32 | frmMap = new ZoneMap( this, "frmMap" ); | 32 | frmMap = new ZoneMap( this, "frmMap" ); |
33 | frmMap->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, frmMap->sizePolicy().hasHeightForWidth() ) ); | 33 | frmMap->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, frmMap->sizePolicy().hasHeightForWidth() ) ); |
34 | CityTimeBaseLayout->addWidget( frmMap ); | 34 | CityTimeBaseLayout->addWidget( frmMap ); |
35 | 35 | ||
36 | buttonWidget = new QWidget( this ); | 36 | buttonWidget = new QWidget( this ); |
37 | QWhatsThis::add( buttonWidget, tr( "Click on one of the set cities to replace it" ) ); | 37 | QWhatsThis::add( buttonWidget, tr( "Click on one of the set cities to replace it" ) ); |
38 | Layout2 = new QGridLayout( buttonWidget ); | 38 | Layout2 = new QGridLayout( buttonWidget ); |
39 | Layout2->setSpacing( 3 ); | 39 | Layout2->setSpacing( 3 ); |
40 | Layout2->setMargin( 4 ); | 40 | Layout2->setMargin( 4 ); |
41 | 41 | ||
42 | cmdCity7 = new QToolButton( buttonWidget, "cmdCity7" ); | 42 | cmdCity7 = new QToolButton( buttonWidget, "cmdCity7" ); |
43 | cmdCity7->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity7->sizePolicy().hasHeightForWidth() ) ); | 43 | cmdCity7->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity7->sizePolicy().hasHeightForWidth() ) ); |
44 | QFont cmdCity7_font( cmdCity7->font() ); | 44 | QFont cmdCity7_font( cmdCity7->font() ); |
45 | cmdCity7_font.setBold( TRUE ); | 45 | cmdCity7_font.setBold( TRUE ); |
46 | cmdCity7->setFont( cmdCity7_font ); | 46 | cmdCity7->setFont( cmdCity7_font ); |
47 | cmdCity7->setFocusPolicy( QToolButton::TabFocus ); | 47 | cmdCity7->setFocusPolicy( QToolButton::TabFocus ); |
48 | cmdCity7->setText( tr( "" ) ); | 48 | cmdCity7->setText( "" ); |
49 | cmdCity7->setToggleButton( TRUE ); | 49 | cmdCity7->setToggleButton( TRUE ); |
50 | cmdCity7->setToggleButton( TRUE ); | 50 | cmdCity7->setToggleButton( TRUE ); |
51 | 51 | ||
52 | Layout2->addWidget( cmdCity7, 0, 2 ); | 52 | Layout2->addWidget( cmdCity7, 0, 2 ); |
53 | 53 | ||
54 | lblCTime9 = new QLabel( buttonWidget, "lblCTime9" ); | 54 | lblCTime9 = new QLabel( buttonWidget, "lblCTime9" ); |
55 | lblCTime9->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, lblCTime9->sizePolicy().hasHeightForWidth() ) ); | 55 | lblCTime9->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, lblCTime9->sizePolicy().hasHeightForWidth() ) ); |
56 | QFont lblCTime9_font( lblCTime9->font() ); | 56 | QFont lblCTime9_font( lblCTime9->font() ); |
57 | lblCTime9_font.setPointSize( 10 ); | 57 | lblCTime9_font.setPointSize( 10 ); |
58 | lblCTime9->setFont( lblCTime9_font ); | 58 | lblCTime9->setFont( lblCTime9_font ); |
59 | lblCTime9->setText( tr( "" ) ); | 59 | lblCTime9->setText( "" ); |
60 | lblCTime9->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); | 60 | lblCTime9->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); |
61 | 61 | ||
62 | Layout2->addWidget( lblCTime9, 2, 3 ); | 62 | Layout2->addWidget( lblCTime9, 2, 3 ); |
63 | 63 | ||
64 | cmdCity8 = new QToolButton( buttonWidget, "cmdCity8" ); | 64 | cmdCity8 = new QToolButton( buttonWidget, "cmdCity8" ); |
65 | cmdCity8->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity8->sizePolicy().hasHeightForWidth() ) ); | 65 | cmdCity8->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity8->sizePolicy().hasHeightForWidth() ) ); |
66 | QFont cmdCity8_font( cmdCity8->font() ); | 66 | QFont cmdCity8_font( cmdCity8->font() ); |
67 | cmdCity8_font.setBold( TRUE ); | 67 | cmdCity8_font.setBold( TRUE ); |
68 | cmdCity8->setFont( cmdCity8_font ); | 68 | cmdCity8->setFont( cmdCity8_font ); |
69 | cmdCity8->setFocusPolicy( QToolButton::TabFocus ); | 69 | cmdCity8->setFocusPolicy( QToolButton::TabFocus ); |
70 | cmdCity8->setText( tr( "" ) ); | 70 | cmdCity8->setText( "" ); |
71 | cmdCity8->setToggleButton( TRUE ); | 71 | cmdCity8->setToggleButton( TRUE ); |
72 | cmdCity8->setToggleButton( TRUE ); | 72 | cmdCity8->setToggleButton( TRUE ); |
73 | 73 | ||
74 | Layout2->addWidget( cmdCity8, 1, 2 ); | 74 | Layout2->addWidget( cmdCity8, 1, 2 ); |
75 | 75 | ||
76 | cmdCity2 = new QToolButton( buttonWidget, "cmdCity2" ); | 76 | cmdCity2 = new QToolButton( buttonWidget, "cmdCity2" ); |
77 | QFont cmdCity2_font( cmdCity2->font() ); | 77 | QFont cmdCity2_font( cmdCity2->font() ); |
78 | cmdCity2_font.setBold( TRUE ); | 78 | cmdCity2_font.setBold( TRUE ); |
79 | cmdCity2->setFont( cmdCity2_font ); | 79 | cmdCity2->setFont( cmdCity2_font ); |
80 | cmdCity2->setFocusPolicy( QToolButton::TabFocus ); | 80 | cmdCity2->setFocusPolicy( QToolButton::TabFocus ); |
81 | cmdCity2->setText( tr( "" ) ); | 81 | cmdCity2->setText( "" ); |
82 | cmdCity2->setToggleButton( TRUE ); | 82 | cmdCity2->setToggleButton( TRUE ); |
83 | cmdCity2->setToggleButton( TRUE ); | 83 | cmdCity2->setToggleButton( TRUE ); |
84 | 84 | ||
85 | Layout2->addWidget( cmdCity2, 1, 0 ); | 85 | Layout2->addWidget( cmdCity2, 1, 0 ); |
86 | 86 | ||
87 | lblCTime6 = new QLabel( buttonWidget, "lblCTime6" ); | 87 | lblCTime6 = new QLabel( buttonWidget, "lblCTime6" ); |
88 | QFont lblCTime6_font( lblCTime6->font() ); | 88 | QFont lblCTime6_font( lblCTime6->font() ); |
89 | lblCTime6_font.setPointSize( 10 ); | 89 | lblCTime6_font.setPointSize( 10 ); |
90 | lblCTime6->setFont( lblCTime6_font ); | 90 | lblCTime6->setFont( lblCTime6_font ); |
91 | lblCTime6->setText( tr( "" ) ); | 91 | lblCTime6->setText( "" ); |
92 | lblCTime6->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); | 92 | lblCTime6->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); |
93 | 93 | ||
94 | Layout2->addWidget( lblCTime6, 5, 1 ); | 94 | Layout2->addWidget( lblCTime6, 5, 1 ); |
95 | 95 | ||
96 | cmdCity6 = new QToolButton( buttonWidget, "cmdCity6" ); | 96 | cmdCity6 = new QToolButton( buttonWidget, "cmdCity6" ); |
97 | cmdCity6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity6->sizePolicy().hasHeightForWidth() ) ); | 97 | cmdCity6->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity6->sizePolicy().hasHeightForWidth() ) ); |
98 | QFont cmdCity6_font( cmdCity6->font() ); | 98 | QFont cmdCity6_font( cmdCity6->font() ); |
99 | cmdCity6_font.setBold( TRUE ); | 99 | cmdCity6_font.setBold( TRUE ); |
100 | cmdCity6->setFont( cmdCity6_font ); | 100 | cmdCity6->setFont( cmdCity6_font ); |
101 | cmdCity6->setFocusPolicy( QToolButton::TabFocus ); | 101 | cmdCity6->setFocusPolicy( QToolButton::TabFocus ); |
102 | cmdCity6->setText( tr( "" ) ); | 102 | cmdCity6->setText( "" ); |
103 | cmdCity6->setToggleButton( TRUE ); | 103 | cmdCity6->setToggleButton( TRUE ); |
104 | cmdCity6->setToggleButton( TRUE ); | 104 | cmdCity6->setToggleButton( TRUE ); |
105 | 105 | ||
106 | Layout2->addWidget( cmdCity6, 5, 0 ); | 106 | Layout2->addWidget( cmdCity6, 5, 0 ); |
107 | 107 | ||
108 | cmdCity4 = new QToolButton( buttonWidget, "cmdCity4" ); | 108 | cmdCity4 = new QToolButton( buttonWidget, "cmdCity4" ); |
109 | cmdCity4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity4->sizePolicy().hasHeightForWidth() ) ); | 109 | cmdCity4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity4->sizePolicy().hasHeightForWidth() ) ); |
110 | QFont cmdCity4_font( cmdCity4->font() ); | 110 | QFont cmdCity4_font( cmdCity4->font() ); |
111 | cmdCity4_font.setBold( TRUE ); | 111 | cmdCity4_font.setBold( TRUE ); |
112 | cmdCity4->setFont( cmdCity4_font ); | 112 | cmdCity4->setFont( cmdCity4_font ); |
113 | cmdCity4->setFocusPolicy( QToolButton::TabFocus ); | 113 | cmdCity4->setFocusPolicy( QToolButton::TabFocus ); |
114 | cmdCity4->setText( tr( "" ) ); | 114 | cmdCity4->setText( "" ); |
115 | cmdCity4->setToggleButton( TRUE ); | 115 | cmdCity4->setToggleButton( TRUE ); |
116 | cmdCity4->setToggleButton( TRUE ); | 116 | cmdCity4->setToggleButton( TRUE ); |
117 | 117 | ||
118 | Layout2->addWidget( cmdCity4, 3, 0 ); | 118 | Layout2->addWidget( cmdCity4, 3, 0 ); |
119 | 119 | ||
120 | lblCTime5 = new QLabel( buttonWidget, "lblCTime5" ); | 120 | lblCTime5 = new QLabel( buttonWidget, "lblCTime5" ); |
121 | QFont lblCTime5_font( lblCTime5->font() ); | 121 | QFont lblCTime5_font( lblCTime5->font() ); |
122 | lblCTime5_font.setPointSize( 10 ); | 122 | lblCTime5_font.setPointSize( 10 ); |
123 | lblCTime5->setFont( lblCTime5_font ); | 123 | lblCTime5->setFont( lblCTime5_font ); |
124 | lblCTime5->setText( tr( "" ) ); | 124 | lblCTime5->setText( "" ); |
125 | lblCTime5->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); | 125 | lblCTime5->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); |
126 | 126 | ||
127 | Layout2->addWidget( lblCTime5, 4, 1 ); | 127 | Layout2->addWidget( lblCTime5, 4, 1 ); |
128 | 128 | ||
129 | lblCTime2 = new QLabel( buttonWidget, "lblCTime2" ); | 129 | lblCTime2 = new QLabel( buttonWidget, "lblCTime2" ); |
130 | lblCTime2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)1, lblCTime2->sizePolicy().hasHeightForWidth() ) ); | 130 | lblCTime2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)1, lblCTime2->sizePolicy().hasHeightForWidth() ) ); |
131 | QFont lblCTime2_font( lblCTime2->font() ); | 131 | QFont lblCTime2_font( lblCTime2->font() ); |
132 | lblCTime2_font.setPointSize( 10 ); | 132 | lblCTime2_font.setPointSize( 10 ); |
133 | lblCTime2->setFont( lblCTime2_font ); | 133 | lblCTime2->setFont( lblCTime2_font ); |
134 | lblCTime2->setText( tr( "" ) ); | 134 | lblCTime2->setText( "" ); |
135 | lblCTime2->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); | 135 | lblCTime2->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); |
136 | 136 | ||
137 | Layout2->addWidget( lblCTime2, 1, 1 ); | 137 | Layout2->addWidget( lblCTime2, 1, 1 ); |
138 | 138 | ||
139 | lblCTime1 = new QLabel( buttonWidget, "lblCTime1" ); | 139 | lblCTime1 = new QLabel( buttonWidget, "lblCTime1" ); |
140 | lblCTime1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)1, lblCTime1->sizePolicy().hasHeightForWidth() ) ); | 140 | lblCTime1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)1, lblCTime1->sizePolicy().hasHeightForWidth() ) ); |
141 | QFont lblCTime1_font( lblCTime1->font() ); | 141 | QFont lblCTime1_font( lblCTime1->font() ); |
142 | lblCTime1_font.setPointSize( 10 ); | 142 | lblCTime1_font.setPointSize( 10 ); |
143 | lblCTime1->setFont( lblCTime1_font ); | 143 | lblCTime1->setFont( lblCTime1_font ); |
144 | lblCTime1->setText( tr( "" ) ); | 144 | lblCTime1->setText( "" ); |
145 | lblCTime1->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); | 145 | lblCTime1->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); |
146 | 146 | ||
147 | Layout2->addWidget( lblCTime1, 0, 1 ); | 147 | Layout2->addWidget( lblCTime1, 0, 1 ); |
148 | 148 | ||
149 | cmdCity3 = new QToolButton( buttonWidget, "cmdCity3" ); | 149 | cmdCity3 = new QToolButton( buttonWidget, "cmdCity3" ); |
150 | cmdCity3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity3->sizePolicy().hasHeightForWidth() ) ); | 150 | cmdCity3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity3->sizePolicy().hasHeightForWidth() ) ); |
151 | QFont cmdCity3_font( cmdCity3->font() ); | 151 | QFont cmdCity3_font( cmdCity3->font() ); |
152 | cmdCity3_font.setBold( TRUE ); | 152 | cmdCity3_font.setBold( TRUE ); |
153 | cmdCity3->setFont( cmdCity3_font ); | 153 | cmdCity3->setFont( cmdCity3_font ); |
154 | cmdCity3->setFocusPolicy( QToolButton::TabFocus ); | 154 | cmdCity3->setFocusPolicy( QToolButton::TabFocus ); |
155 | cmdCity3->setText( tr( "" ) ); | 155 | cmdCity3->setText( "" ); |
156 | cmdCity3->setToggleButton( TRUE ); | 156 | cmdCity3->setToggleButton( TRUE ); |
157 | cmdCity3->setToggleButton( TRUE ); | 157 | cmdCity3->setToggleButton( TRUE ); |
158 | 158 | ||
159 | Layout2->addWidget( cmdCity3, 2, 0 ); | 159 | Layout2->addWidget( cmdCity3, 2, 0 ); |
160 | 160 | ||
161 | lblCTime8 = new QLabel( buttonWidget, "lblCTime8" ); | 161 | lblCTime8 = new QLabel( buttonWidget, "lblCTime8" ); |
162 | lblCTime8->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, lblCTime8->sizePolicy().hasHeightForWidth() ) ); | 162 | lblCTime8->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, lblCTime8->sizePolicy().hasHeightForWidth() ) ); |
163 | QFont lblCTime8_font( lblCTime8->font() ); | 163 | QFont lblCTime8_font( lblCTime8->font() ); |
164 | lblCTime8_font.setPointSize( 10 ); | 164 | lblCTime8_font.setPointSize( 10 ); |
165 | lblCTime8->setFont( lblCTime8_font ); | 165 | lblCTime8->setFont( lblCTime8_font ); |
166 | lblCTime8->setText( tr( "" ) ); | 166 | lblCTime8->setText( "" ); |
167 | lblCTime8->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); | 167 | lblCTime8->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); |
168 | 168 | ||
169 | Layout2->addWidget( lblCTime8, 1, 3 ); | 169 | Layout2->addWidget( lblCTime8, 1, 3 ); |
170 | 170 | ||
171 | cmdCity1 = new QToolButton( buttonWidget, "cmdCity1" ); | 171 | cmdCity1 = new QToolButton( buttonWidget, "cmdCity1" ); |
172 | cmdCity1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity1->sizePolicy().hasHeightForWidth() ) ); | 172 | cmdCity1->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity1->sizePolicy().hasHeightForWidth() ) ); |
173 | QFont cmdCity1_font( cmdCity1->font() ); | 173 | QFont cmdCity1_font( cmdCity1->font() ); |
174 | cmdCity1_font.setBold( TRUE ); | 174 | cmdCity1_font.setBold( TRUE ); |
175 | cmdCity1->setFont( cmdCity1_font ); | 175 | cmdCity1->setFont( cmdCity1_font ); |
176 | cmdCity1->setFocusPolicy( QToolButton::TabFocus ); | 176 | cmdCity1->setFocusPolicy( QToolButton::TabFocus ); |
177 | cmdCity1->setText( tr( "" ) ); | 177 | cmdCity1->setText( "" ); |
178 | cmdCity1->setToggleButton( TRUE ); | 178 | cmdCity1->setToggleButton( TRUE ); |
179 | cmdCity1->setToggleButton( TRUE ); | 179 | cmdCity1->setToggleButton( TRUE ); |
180 | 180 | ||
181 | Layout2->addWidget( cmdCity1, 0, 0 ); | 181 | Layout2->addWidget( cmdCity1, 0, 0 ); |
182 | 182 | ||
183 | lblCTime7 = new QLabel( buttonWidget, "lblCTime7" ); | 183 | lblCTime7 = new QLabel( buttonWidget, "lblCTime7" ); |
184 | lblCTime7->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, lblCTime7->sizePolicy().hasHeightForWidth() ) ); | 184 | lblCTime7->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, lblCTime7->sizePolicy().hasHeightForWidth() ) ); |
185 | QFont lblCTime7_font( lblCTime7->font() ); | 185 | QFont lblCTime7_font( lblCTime7->font() ); |
186 | lblCTime7_font.setPointSize( 10 ); | 186 | lblCTime7_font.setPointSize( 10 ); |
187 | lblCTime7->setFont( lblCTime7_font ); | 187 | lblCTime7->setFont( lblCTime7_font ); |
188 | lblCTime7->setText( tr( "" ) ); | 188 | lblCTime7->setText( "" ); |
189 | lblCTime7->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); | 189 | lblCTime7->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); |
190 | 190 | ||
191 | Layout2->addWidget( lblCTime7, 0, 3 ); | 191 | Layout2->addWidget( lblCTime7, 0, 3 ); |
192 | 192 | ||
193 | lblCTime4 = new QLabel( buttonWidget, "lblCTime4" ); | 193 | lblCTime4 = new QLabel( buttonWidget, "lblCTime4" ); |
194 | QFont lblCTime4_font( lblCTime4->font() ); | 194 | QFont lblCTime4_font( lblCTime4->font() ); |
195 | lblCTime4_font.setPointSize( 10 ); | 195 | lblCTime4_font.setPointSize( 10 ); |
196 | lblCTime4->setFont( lblCTime4_font ); | 196 | lblCTime4->setFont( lblCTime4_font ); |
197 | lblCTime4->setText( tr( "" ) ); | 197 | lblCTime4->setText( "" ); |
198 | lblCTime4->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); | 198 | lblCTime4->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); |
199 | 199 | ||
200 | Layout2->addWidget( lblCTime4, 3, 1 ); | 200 | Layout2->addWidget( lblCTime4, 3, 1 ); |
201 | 201 | ||
202 | cmdCity5 = new QToolButton( buttonWidget, "cmdCity5" ); | 202 | cmdCity5 = new QToolButton( buttonWidget, "cmdCity5" ); |
203 | cmdCity5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity5->sizePolicy().hasHeightForWidth() ) ); | 203 | cmdCity5->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity5->sizePolicy().hasHeightForWidth() ) ); |
204 | QFont cmdCity5_font( cmdCity5->font() ); | 204 | QFont cmdCity5_font( cmdCity5->font() ); |
205 | cmdCity5_font.setBold( TRUE ); | 205 | cmdCity5_font.setBold( TRUE ); |
206 | cmdCity5->setFont( cmdCity5_font ); | 206 | cmdCity5->setFont( cmdCity5_font ); |
207 | cmdCity5->setFocusPolicy( QToolButton::TabFocus ); | 207 | cmdCity5->setFocusPolicy( QToolButton::TabFocus ); |
208 | cmdCity5->setText( tr( "" ) ); | 208 | cmdCity5->setText( "" ); |
209 | cmdCity5->setToggleButton( TRUE ); | 209 | cmdCity5->setToggleButton( TRUE ); |
210 | cmdCity5->setToggleButton( TRUE ); | 210 | cmdCity5->setToggleButton( TRUE ); |
211 | 211 | ||
212 | Layout2->addWidget( cmdCity5, 4, 0 ); | 212 | Layout2->addWidget( cmdCity5, 4, 0 ); |
213 | 213 | ||
214 | lblCTime3 = new QLabel( buttonWidget, "lblCTime3" ); | 214 | lblCTime3 = new QLabel( buttonWidget, "lblCTime3" ); |
215 | QFont lblCTime3_font( lblCTime3->font() ); | 215 | QFont lblCTime3_font( lblCTime3->font() ); |
216 | lblCTime3_font.setPointSize( 10 ); | 216 | lblCTime3_font.setPointSize( 10 ); |
217 | lblCTime3->setFont( lblCTime3_font ); | 217 | lblCTime3->setFont( lblCTime3_font ); |
218 | lblCTime3->setText( tr( "" ) ); | 218 | lblCTime3->setText( "" ); |
219 | lblCTime3->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); | 219 | lblCTime3->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); |
220 | 220 | ||
221 | Layout2->addWidget( lblCTime3, 2, 1 ); | 221 | Layout2->addWidget( lblCTime3, 2, 1 ); |
222 | 222 | ||
223 | cmdCity9 = new QToolButton( buttonWidget, "cmdCity9" ); | 223 | cmdCity9 = new QToolButton( buttonWidget, "cmdCity9" ); |
224 | cmdCity9->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity9->sizePolicy().hasHeightForWidth() ) ); | 224 | cmdCity9->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)1, cmdCity9->sizePolicy().hasHeightForWidth() ) ); |
225 | QFont cmdCity9_font( cmdCity9->font() ); | 225 | QFont cmdCity9_font( cmdCity9->font() ); |
226 | cmdCity9_font.setBold( TRUE ); | 226 | cmdCity9_font.setBold( TRUE ); |
227 | cmdCity9->setFont( cmdCity9_font ); | 227 | cmdCity9->setFont( cmdCity9_font ); |
228 | cmdCity9->setFocusPolicy( QToolButton::TabFocus ); | 228 | cmdCity9->setFocusPolicy( QToolButton::TabFocus ); |
229 | cmdCity9->setText( tr( "" ) ); | 229 | cmdCity9->setText( "" ); |
230 | cmdCity9->setToggleButton( TRUE ); | 230 | cmdCity9->setToggleButton( TRUE ); |
231 | cmdCity9->setToggleButton( TRUE ); | 231 | cmdCity9->setToggleButton( TRUE ); |
232 | 232 | ||
233 | Layout2->addWidget( cmdCity9, 2, 2 ); | 233 | Layout2->addWidget( cmdCity9, 2, 2 ); |
234 | CityTimeBaseLayout->addWidget( buttonWidget ); | 234 | CityTimeBaseLayout->addWidget( buttonWidget ); |
235 | 235 | ||
236 | // signals and slots connections | 236 | // signals and slots connections |
237 | connect( frmMap, SIGNAL( signalTz(const QString&,const QString&) ), this, SLOT( slotNewTz(const QString&,const QString&) ) ); | 237 | connect( frmMap, SIGNAL( signalTz(const QString&,const QString&) ), this, SLOT( slotNewTz(const QString&,const QString&) ) ); |
238 | connect( cmdCity1, SIGNAL( toggled(bool) ), cmdCity2, SLOT( setDisabled(bool) ) ); | 238 | connect( cmdCity1, SIGNAL( toggled(bool) ), cmdCity2, SLOT( setDisabled(bool) ) ); |
239 | connect( cmdCity1, SIGNAL( toggled(bool) ), cmdCity3, SLOT( setDisabled(bool) ) ); | 239 | connect( cmdCity1, SIGNAL( toggled(bool) ), cmdCity3, SLOT( setDisabled(bool) ) ); |
240 | connect( cmdCity1, SIGNAL( toggled(bool) ), cmdCity4, SLOT( setDisabled(bool) ) ); | 240 | connect( cmdCity1, SIGNAL( toggled(bool) ), cmdCity4, SLOT( setDisabled(bool) ) ); |
241 | connect( cmdCity1, SIGNAL( toggled(bool) ), cmdCity7, SLOT( setDisabled(bool) ) ); | 241 | connect( cmdCity1, SIGNAL( toggled(bool) ), cmdCity7, SLOT( setDisabled(bool) ) ); |
242 | connect( cmdCity1, SIGNAL( toggled(bool) ), cmdCity8, SLOT( setDisabled(bool) ) ); | 242 | connect( cmdCity1, SIGNAL( toggled(bool) ), cmdCity8, SLOT( setDisabled(bool) ) ); |
243 | connect( cmdCity2, SIGNAL( toggled(bool) ), cmdCity1, SLOT( setDisabled(bool) ) ); | 243 | connect( cmdCity2, SIGNAL( toggled(bool) ), cmdCity1, SLOT( setDisabled(bool) ) ); |
244 | connect( cmdCity2, SIGNAL( toggled(bool) ), cmdCity3, SLOT( setDisabled(bool) ) ); | 244 | connect( cmdCity2, SIGNAL( toggled(bool) ), cmdCity3, SLOT( setDisabled(bool) ) ); |
245 | connect( cmdCity2, SIGNAL( toggled(bool) ), cmdCity4, SLOT( setDisabled(bool) ) ); | 245 | connect( cmdCity2, SIGNAL( toggled(bool) ), cmdCity4, SLOT( setDisabled(bool) ) ); |
diff --git a/noncore/applets/memoryapplet/swapfile.cpp b/noncore/applets/memoryapplet/swapfile.cpp index a71078f..96010c8 100644 --- a/noncore/applets/memoryapplet/swapfile.cpp +++ b/noncore/applets/memoryapplet/swapfile.cpp | |||
@@ -86,33 +86,33 @@ Swapfile::Swapfile( QWidget *parent, const char *name, WFlags f ) | |||
86 | hb2->setSpacing(5); | 86 | hb2->setSpacing(5); |
87 | QPushButton* mkSwap = new QPushButton(tr("Generate"), hb2); | 87 | QPushButton* mkSwap = new QPushButton(tr("Generate"), hb2); |
88 | QPushButton* rmSwap = new QPushButton(tr("Remove"), hb2); | 88 | QPushButton* rmSwap = new QPushButton(tr("Remove"), hb2); |
89 | 89 | ||
90 | QHBox *hb3 = new QHBox(box1); | 90 | QHBox *hb3 = new QHBox(box1); |
91 | hb3->setSpacing(5); | 91 | hb3->setSpacing(5); |
92 | swapSize = new QComboBox(hb3); | 92 | swapSize = new QComboBox(hb3); |
93 | swapSize->insertStringList(QStringList::split(",", tr("2 Mb,4 Mb,6 Mb,8 Mb"))); | 93 | swapSize->insertStringList(QStringList::split(",", tr("2 Mb,4 Mb,6 Mb,8 Mb"))); |
94 | 94 | ||
95 | mkswapProgress = new QProgressBar(3, hb3); | 95 | mkswapProgress = new QProgressBar(3, hb3); |
96 | mkswapProgress->setCenterIndicator(true); | 96 | mkswapProgress->setCenterIndicator(true); |
97 | 97 | ||
98 | QHBox *hb4 = new QHBox(this); | 98 | QHBox *hb4 = new QHBox(this); |
99 | hb4->setSpacing(5); | 99 | hb4->setSpacing(5); |
100 | 100 | ||
101 | swapStatusIcon = new QLabel(hb4); | 101 | swapStatusIcon = new QLabel(hb4); |
102 | swapStatus = new QLabel(tr(""), hb4); | 102 | swapStatus = new QLabel("", hb4); |
103 | hb4->setStretchFactor(swapStatus, 99); | 103 | hb4->setStretchFactor(swapStatus, 99); |
104 | vb->addWidget(hb4); | 104 | vb->addWidget(hb4); |
105 | 105 | ||
106 | connect(swapOn, SIGNAL(clicked()), this, SLOT(swapon())); | 106 | connect(swapOn, SIGNAL(clicked()), this, SLOT(swapon())); |
107 | connect(swapOff, SIGNAL(clicked()), this, SLOT(swapoff())); | 107 | connect(swapOff, SIGNAL(clicked()), this, SLOT(swapoff())); |
108 | connect(cfRB, SIGNAL(clicked()), this, SLOT(cfsdchecked())); | 108 | connect(cfRB, SIGNAL(clicked()), this, SLOT(cfsdchecked())); |
109 | connect(sdRB, SIGNAL(clicked()), this, SLOT(cfsdchecked())); | 109 | connect(sdRB, SIGNAL(clicked()), this, SLOT(cfsdchecked())); |
110 | connect(ramRB, SIGNAL(clicked()), this, SLOT(cfsdchecked())); | 110 | connect(ramRB, SIGNAL(clicked()), this, SLOT(cfsdchecked())); |
111 | connect(mkSwap, SIGNAL(clicked()), this, SLOT(makeswapfile())); | 111 | connect(mkSwap, SIGNAL(clicked()), this, SLOT(makeswapfile())); |
112 | connect(rmSwap, SIGNAL(clicked()), this, SLOT(removeswapfile())); | 112 | connect(rmSwap, SIGNAL(clicked()), this, SLOT(removeswapfile())); |
113 | 113 | ||
114 | cfRB->setEnabled(FALSE); | 114 | cfRB->setEnabled(FALSE); |
115 | sdRB->setEnabled(FALSE); | 115 | sdRB->setEnabled(FALSE); |
116 | 116 | ||
117 | QCopChannel *pcmciaChannel = new QCopChannel("QPE/Card", this); | 117 | QCopChannel *pcmciaChannel = new QCopChannel("QPE/Card", this); |
118 | connect(pcmciaChannel, SIGNAL(received(const QCString&,const QByteArray&)), this, SLOT(cardnotify(const QCString&,const QByteArray&))); | 118 | connect(pcmciaChannel, SIGNAL(received(const QCString&,const QByteArray&)), this, SLOT(cardnotify(const QCString&,const QByteArray&))); |
diff --git a/noncore/apps/zsafe/scqtfiledlg.cpp b/noncore/apps/zsafe/scqtfiledlg.cpp index c67bbd5..f036101 100644 --- a/noncore/apps/zsafe/scqtfiledlg.cpp +++ b/noncore/apps/zsafe/scqtfiledlg.cpp | |||
@@ -118,63 +118,63 @@ ScQtFileDlg::ScQtFileDlg( QWidget* parent, const char* name, bool modal, WFlags | |||
118 | Layout3->setMargin( 0 ); | 118 | Layout3->setMargin( 0 ); |
119 | 119 | ||
120 | TypeComboBox = new QComboBox( FALSE, this, "TypeComboBox" ); | 120 | TypeComboBox = new QComboBox( FALSE, this, "TypeComboBox" ); |
121 | TypeComboBox->setEditable( TRUE ); | 121 | TypeComboBox->setEditable( TRUE ); |
122 | TypeComboBox->setInsertionPolicy( QComboBox::AtBottom ); | 122 | TypeComboBox->setInsertionPolicy( QComboBox::AtBottom ); |
123 | TypeComboBox->setAutoCompletion( FALSE ); | 123 | TypeComboBox->setAutoCompletion( FALSE ); |
124 | TypeComboBox->setDuplicatesEnabled( FALSE ); | 124 | TypeComboBox->setDuplicatesEnabled( FALSE ); |
125 | QToolTip::add( TypeComboBox, tr( "file type filter" ) ); | 125 | QToolTip::add( TypeComboBox, tr( "file type filter" ) ); |
126 | QWhatsThis::add( TypeComboBox, tr( "ComboBox FileTypeFilter\n" | 126 | QWhatsThis::add( TypeComboBox, tr( "ComboBox FileTypeFilter\n" |
127 | "\n" | 127 | "\n" |
128 | "edit or select the filter" ) ); | 128 | "edit or select the filter" ) ); |
129 | Layout3->addWidget( TypeComboBox ); | 129 | Layout3->addWidget( TypeComboBox ); |
130 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 130 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
131 | Layout3->addItem( spacer ); | 131 | Layout3->addItem( spacer ); |
132 | 132 | ||
133 | OkButton = new QToolButton( this, "OkButton" ); | 133 | OkButton = new QToolButton( this, "OkButton" ); |
134 | OkButton->setText( tr( "" ) ); | 134 | OkButton->setText( "" ); |
135 | OkButton->setPixmap( image0 ); | 135 | OkButton->setPixmap( image0 ); |
136 | OkButton->setUsesBigPixmap( FALSE ); | 136 | OkButton->setUsesBigPixmap( FALSE ); |
137 | QToolTip::add( OkButton, tr( "confirms the selection and closes the form" ) ); | 137 | QToolTip::add( OkButton, tr( "confirms the selection and closes the form" ) ); |
138 | QWhatsThis::add( OkButton, tr( "OKButton" ) ); | 138 | QWhatsThis::add( OkButton, tr( "OKButton" ) ); |
139 | Layout3->addWidget( OkButton ); | 139 | Layout3->addWidget( OkButton ); |
140 | 140 | ||
141 | CancelButton = new QToolButton( this, "CancelButton" ); | 141 | CancelButton = new QToolButton( this, "CancelButton" ); |
142 | CancelButton->setText( tr( "" ) ); | 142 | CancelButton->setText( "" ); |
143 | CancelButton->setPixmap( image1 ); | 143 | CancelButton->setPixmap( image1 ); |
144 | CancelButton->setUsesBigPixmap( FALSE ); | 144 | CancelButton->setUsesBigPixmap( FALSE ); |
145 | QToolTip::add( CancelButton, tr( "cancels the selection and closes the form" ) ); | 145 | QToolTip::add( CancelButton, tr( "cancels the selection and closes the form" ) ); |
146 | QWhatsThis::add( CancelButton, tr( "CancelButton" ) ); | 146 | QWhatsThis::add( CancelButton, tr( "CancelButton" ) ); |
147 | Layout3->addWidget( CancelButton ); | 147 | Layout3->addWidget( CancelButton ); |
148 | Layout4->addLayout( Layout3 ); | 148 | Layout4->addLayout( Layout3 ); |
149 | 149 | ||
150 | Layout3_2 = new QHBoxLayout; | 150 | Layout3_2 = new QHBoxLayout; |
151 | Layout3_2->setSpacing( 6 ); | 151 | Layout3_2->setSpacing( 6 ); |
152 | Layout3_2->setMargin( 0 ); | 152 | Layout3_2->setMargin( 0 ); |
153 | 153 | ||
154 | FNameLineEdit = new QLineEdit( this, "FNameLineEdit" ); | 154 | FNameLineEdit = new QLineEdit( this, "FNameLineEdit" ); |
155 | QToolTip::add( FNameLineEdit, tr( "shows the selected filename" ) ); | 155 | QToolTip::add( FNameLineEdit, tr( "shows the selected filename" ) ); |
156 | QWhatsThis::add( FNameLineEdit, tr( "Filename LineEdit\n" | 156 | QWhatsThis::add( FNameLineEdit, tr( "Filename LineEdit\n" |
157 | "\n" | 157 | "\n" |
158 | "shows the selected file\n" | 158 | "shows the selected file\n" |
159 | "and allows the direct filename\n" | 159 | "and allows the direct filename\n" |
160 | "edit" ) ); | 160 | "edit" ) ); |
161 | Layout3_2->addWidget( FNameLineEdit ); | 161 | Layout3_2->addWidget( FNameLineEdit ); |
162 | 162 | ||
163 | MkDirButton = new QToolButton( this, "MkDirButton" ); | 163 | MkDirButton = new QToolButton( this, "MkDirButton" ); |
164 | MkDirButton->setText( tr( "" ) ); | 164 | MkDirButton->setText( "" ); |
165 | MkDirButton->setPixmap( image2 ); | 165 | MkDirButton->setPixmap( image2 ); |
166 | MkDirButton->setUsesBigPixmap( FALSE ); | 166 | MkDirButton->setUsesBigPixmap( FALSE ); |
167 | QToolTip::add( MkDirButton, tr( "confirms the selection and closes the form" ) ); | 167 | QToolTip::add( MkDirButton, tr( "confirms the selection and closes the form" ) ); |
168 | QWhatsThis::add( MkDirButton, tr( "OKButton" ) ); | 168 | QWhatsThis::add( MkDirButton, tr( "OKButton" ) ); |
169 | Layout3_2->addWidget( MkDirButton ); | 169 | Layout3_2->addWidget( MkDirButton ); |
170 | Layout4->addLayout( Layout3_2 ); | 170 | Layout4->addLayout( Layout3_2 ); |
171 | 171 | ||
172 | DirComboBox = new QComboBox( FALSE, this, "DirComboBox" ); | 172 | DirComboBox = new QComboBox( FALSE, this, "DirComboBox" ); |
173 | DirComboBox->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, DirComboBox->sizePolicy().hasHeightForWidth() ) ); | 173 | DirComboBox->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, DirComboBox->sizePolicy().hasHeightForWidth() ) ); |
174 | DirComboBox->setEditable( TRUE ); | 174 | DirComboBox->setEditable( TRUE ); |
175 | DirComboBox->setDuplicatesEnabled( FALSE ); | 175 | DirComboBox->setDuplicatesEnabled( FALSE ); |
176 | QWhatsThis::add( DirComboBox, tr( "ComboBox Directory \n" | 176 | QWhatsThis::add( DirComboBox, tr( "ComboBox Directory \n" |
177 | "edit or select the directories name" ) ); | 177 | "edit or select the directories name" ) ); |
178 | Layout4->addWidget( DirComboBox ); | 178 | Layout4->addWidget( DirComboBox ); |
179 | Layout5->addLayout( Layout4 ); | 179 | Layout5->addLayout( Layout4 ); |
180 | 180 | ||
diff --git a/noncore/apps/zsafe/zsafe.cpp b/noncore/apps/zsafe/zsafe.cpp index ca3ff52..189453e 100644 --- a/noncore/apps/zsafe/zsafe.cpp +++ b/noncore/apps/zsafe/zsafe.cpp | |||
@@ -574,51 +574,51 @@ ZSafe::ZSafe( QWidget* parent, const char* name, bool modal, WFlags fl ) | |||
574 | it->insertSeparator(); | 574 | it->insertSeparator(); |
575 | it->insertItem( new_img, tr("&New"), this, SLOT(newPwd()) ); | 575 | it->insertItem( new_img, tr("&New"), this, SLOT(newPwd()) ); |
576 | it->insertItem( edit_img, tr("&Edit"), this, SLOT(editPwd()) ); | 576 | it->insertItem( edit_img, tr("&Edit"), this, SLOT(editPwd()) ); |
577 | it->insertItem( trash_img, tr("&Delete"), this, SLOT(deletePwd()) ); | 577 | it->insertItem( trash_img, tr("&Delete"), this, SLOT(deletePwd()) ); |
578 | it->insertItem( find_img, tr("&Search"), this, SLOT(findPwd()) ); | 578 | it->insertItem( find_img, tr("&Search"), this, SLOT(findPwd()) ); |
579 | menu->insertItem( tr("&Entry"), it ); | 579 | menu->insertItem( tr("&Entry"), it ); |
580 | 580 | ||
581 | QPopupMenu *help = new QPopupMenu( this ); | 581 | QPopupMenu *help = new QPopupMenu( this ); |
582 | help->insertItem( help_icon_img, tr("&About"), this, SLOT(about()) ); | 582 | help->insertItem( help_icon_img, tr("&About"), this, SLOT(about()) ); |
583 | menu->insertItem( tr("&Help"), help ); | 583 | menu->insertItem( tr("&Help"), help ); |
584 | 584 | ||
585 | // toolbar icons | 585 | // toolbar icons |
586 | 586 | ||
587 | New = new QToolButton( menu, "New" ); | 587 | New = new QToolButton( menu, "New" ); |
588 | New->setGeometry( QRect( DeskW-84, 2, 20, 20 ) ); | 588 | New->setGeometry( QRect( DeskW-84, 2, 20, 20 ) ); |
589 | New->setMouseTracking( TRUE ); | 589 | New->setMouseTracking( TRUE ); |
590 | New->setText( tr( "" ) ); | 590 | New->setText( "" ); |
591 | New->setPixmap( new_img ); | 591 | New->setPixmap( new_img ); |
592 | QToolTip::add( New, tr( "New entry" ) ); | 592 | QToolTip::add( New, tr( "New entry" ) ); |
593 | 593 | ||
594 | Edit = new QToolButton( menu, "Edit" ); | 594 | Edit = new QToolButton( menu, "Edit" ); |
595 | Edit->setGeometry( QRect( DeskW-64, 2, 20, 20 ) ); | 595 | Edit->setGeometry( QRect( DeskW-64, 2, 20, 20 ) ); |
596 | Edit->setText( tr( "" ) ); | 596 | Edit->setText( "" ); |
597 | Edit->setPixmap( edit_img ); | 597 | Edit->setPixmap( edit_img ); |
598 | QToolTip::add( Edit, tr( "Edit category or entry" ) ); | 598 | QToolTip::add( Edit, tr( "Edit category or entry" ) ); |
599 | 599 | ||
600 | Delete = new QToolButton( menu, "Delete" ); | 600 | Delete = new QToolButton( menu, "Delete" ); |
601 | Delete->setGeometry( QRect( DeskW-44, 2, 20, 20 ) ); | 601 | Delete->setGeometry( QRect( DeskW-44, 2, 20, 20 ) ); |
602 | Delete->setText( tr( "" ) ); | 602 | Delete->setText( "" ); |
603 | Delete->setPixmap( trash_img ); | 603 | Delete->setPixmap( trash_img ); |
604 | QToolTip::add( Delete, tr( "Delete category or entry" ) ); | 604 | QToolTip::add( Delete, tr( "Delete category or entry" ) ); |
605 | 605 | ||
606 | Find = new QToolButton( menu, "Find" ); | 606 | Find = new QToolButton( menu, "Find" ); |
607 | Find->setGeometry( QRect( DeskW-24, 2, 20, 20 ) ); | 607 | Find->setGeometry( QRect( DeskW-24, 2, 20, 20 ) ); |
608 | Find->setText( tr( "" ) ); | 608 | Find->setText( "" ); |
609 | Find->setPixmap( find_img ); | 609 | Find->setPixmap( find_img ); |
610 | QToolTip::add( Find, tr( "Find entry" ) ); | 610 | QToolTip::add( Find, tr( "Find entry" ) ); |
611 | 611 | ||
612 | /* | 612 | /* |
613 | QBoxLayout * h = new QHBoxLayout( this ); | 613 | QBoxLayout * h = new QHBoxLayout( this ); |
614 | h->addWidget (menu); | 614 | h->addWidget (menu); |
615 | h->addWidget (New); | 615 | h->addWidget (New); |
616 | h->addWidget (Edit); | 616 | h->addWidget (Edit); |
617 | h->addWidget (Delete); | 617 | h->addWidget (Delete); |
618 | h->addWidget (Find); | 618 | h->addWidget (Find); |
619 | */ | 619 | */ |
620 | 620 | ||
621 | ListView = new ZListView( this, "ListView" ); | 621 | ListView = new ZListView( this, "ListView" ); |
622 | ListView->addColumn( tr( "Name" ) ); | 622 | ListView->addColumn( tr( "Name" ) ); |
623 | ListView->addColumn( tr( "Field 2" ) ); | 623 | ListView->addColumn( tr( "Field 2" ) ); |
624 | ListView->addColumn( tr( "Field 3" ) ); | 624 | ListView->addColumn( tr( "Field 3" ) ); |
diff --git a/noncore/multimedia/powerchord/powerchordbase.cpp b/noncore/multimedia/powerchord/powerchordbase.cpp index 98fe3f7..f0d1487 100644 --- a/noncore/multimedia/powerchord/powerchordbase.cpp +++ b/noncore/multimedia/powerchord/powerchordbase.cpp | |||
@@ -185,68 +185,68 @@ PowerchordBase::PowerchordBase( QWidget* parent, const char* name, WFlags fl ) | |||
185 | 185 | ||
186 | Frame6 = new QFrame( tab, "Frame6" ); | 186 | Frame6 = new QFrame( tab, "Frame6" ); |
187 | Frame6->setGeometry( QRect( 170, 145, 66, 10 ) ); | 187 | Frame6->setGeometry( QRect( 170, 145, 66, 10 ) ); |
188 | Frame6->setFrameShape( QFrame::HLine ); | 188 | Frame6->setFrameShape( QFrame::HLine ); |
189 | Frame6->setFrameShadow( QFrame::Raised ); | 189 | Frame6->setFrameShadow( QFrame::Raised ); |
190 | 190 | ||
191 | chordshow_label = new QLabel( tab, "chordshow_label" ); | 191 | chordshow_label = new QLabel( tab, "chordshow_label" ); |
192 | chordshow_label->setGeometry( QRect( 185, 60, 32, 17 ) ); | 192 | chordshow_label->setGeometry( QRect( 185, 60, 32, 17 ) ); |
193 | // chordshow_label->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, chordshow_label->sizePolicy().hasHeightForWidth() ) ); | 193 | // chordshow_label->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, chordshow_label->sizePolicy().hasHeightForWidth() ) ); |
194 | chordshow_label->setFrameShape( QLabel::NoFrame ); | 194 | chordshow_label->setFrameShape( QLabel::NoFrame ); |
195 | chordshow_label->setPixmap( image1 ); | 195 | chordshow_label->setPixmap( image1 ); |
196 | chordshow_label->setScaledContents( TRUE ); | 196 | chordshow_label->setScaledContents( TRUE ); |
197 | // chordshow_label->setBackgroundMode( QWidget::PaletteButton ); | 197 | // chordshow_label->setBackgroundMode( QWidget::PaletteButton ); |
198 | 198 | ||
199 | transport_rec = new QPushButton( tab, "transport_rec" ); | 199 | transport_rec = new QPushButton( tab, "transport_rec" ); |
200 | transport_rec->setGeometry( QRect( 170, 80, 30, 30 ) ); | 200 | transport_rec->setGeometry( QRect( 170, 80, 30, 30 ) ); |
201 | transport_rec->setText( tr( "" ) ); | 201 | transport_rec->setText( "" ); |
202 | transport_rec->setPixmap( image2 ); | 202 | transport_rec->setPixmap( image2 ); |
203 | 203 | ||
204 | play_sound = new QPushButton( tab, "play_sound" ); | 204 | play_sound = new QPushButton( tab, "play_sound" ); |
205 | play_sound->setGeometry( QRect( 170, 180, 60, 55 ) ); | 205 | play_sound->setGeometry( QRect( 170, 180, 60, 55 ) ); |
206 | play_sound->setText( tr( "" ) ); | 206 | play_sound->setText( "" ); |
207 | play_sound->setPixmap( image3 ); | 207 | play_sound->setPixmap( image3 ); |
208 | 208 | ||
209 | Frame6_2 = new QFrame( tab, "Frame6_2" ); | 209 | Frame6_2 = new QFrame( tab, "Frame6_2" ); |
210 | Frame6_2->setGeometry( QRect( 170, 45, 66, 10 ) ); | 210 | Frame6_2->setGeometry( QRect( 170, 45, 66, 10 ) ); |
211 | Frame6_2->setFrameShape( QFrame::HLine ); | 211 | Frame6_2->setFrameShape( QFrame::HLine ); |
212 | Frame6_2->setFrameShadow( QFrame::Raised ); | 212 | Frame6_2->setFrameShadow( QFrame::Raised ); |
213 | 213 | ||
214 | transport_play = new QPushButton( tab, "transport_play" ); | 214 | transport_play = new QPushButton( tab, "transport_play" ); |
215 | transport_play->setEnabled( FALSE ); | 215 | transport_play->setEnabled( FALSE ); |
216 | transport_play->setGeometry( QRect( 200, 80, 30, 30 ) ); | 216 | transport_play->setGeometry( QRect( 200, 80, 30, 30 ) ); |
217 | transport_play->setText( tr( "" ) ); | 217 | transport_play->setText( "" ); |
218 | transport_play->setPixmap( image3 ); | 218 | transport_play->setPixmap( image3 ); |
219 | 219 | ||
220 | transport_rew = new QPushButton( tab, "transport_rew" ); | 220 | transport_rew = new QPushButton( tab, "transport_rew" ); |
221 | transport_rew->setEnabled( FALSE ); | 221 | transport_rew->setEnabled( FALSE ); |
222 | transport_rew->setGeometry( QRect( 170, 110, 30, 30 ) ); | 222 | transport_rew->setGeometry( QRect( 170, 110, 30, 30 ) ); |
223 | transport_rew->setText( tr( "" ) ); | 223 | transport_rew->setText( "" ); |
224 | transport_rew->setPixmap( image4 ); | 224 | transport_rew->setPixmap( image4 ); |
225 | 225 | ||
226 | transport_fwd = new QPushButton( tab, "transport_fwd" ); | 226 | transport_fwd = new QPushButton( tab, "transport_fwd" ); |
227 | transport_fwd->setEnabled( FALSE ); | 227 | transport_fwd->setEnabled( FALSE ); |
228 | transport_fwd->setGeometry( QRect( 200, 110, 30, 30 ) ); | 228 | transport_fwd->setGeometry( QRect( 200, 110, 30, 30 ) ); |
229 | transport_fwd->setText( tr( "" ) ); | 229 | transport_fwd->setText( "" ); |
230 | transport_fwd->setPixmap( image5 ); | 230 | transport_fwd->setPixmap( image5 ); |
231 | 231 | ||
232 | chordname = new QLabel( tab, "chordname" ); | 232 | chordname = new QLabel( tab, "chordname" ); |
233 | chordname->setGeometry( QRect( 146, 0, 90, 20 ) ); //cxm moved l 5 | 233 | chordname->setGeometry( QRect( 146, 0, 90, 20 ) ); //cxm moved l 5 |
234 | chordname->setText( tr( "A" ) ); | 234 | chordname->setText( tr( "A" ) ); |
235 | chordname->setAlignment( int( QLabel::AlignCenter ) ); | 235 | chordname->setAlignment( int( QLabel::AlignCenter ) ); |
236 | QToolTip::add( chordname, tr( "" ) ); | 236 | QToolTip::add( chordname, "" ); |
237 | 237 | ||
238 | synth = new gs(); | 238 | synth = new gs(); |
239 | tuner = new gt(); | 239 | tuner = new gt(); |
240 | frets = new FretBoard( tab, "frets" ); | 240 | frets = new FretBoard( tab, "frets" ); |
241 | frets->setGeometry( QRect( 0, 20, 168, 210 ) ); | 241 | frets->setGeometry( QRect( 0, 20, 168, 210 ) ); |
242 | tabs->insertTab( tab, tr( "Guitar" ) ); | 242 | tabs->insertTab( tab, tr( "Guitar" ) ); |
243 | 243 | ||
244 | tab_2 = new QWidget( tabs, "tab_2" ); | 244 | tab_2 = new QWidget( tabs, "tab_2" ); |
245 | 245 | ||
246 | optlab2 = new QLabel( tab_2, "optlab2" ); | 246 | optlab2 = new QLabel( tab_2, "optlab2" ); |
247 | optlab2->setGeometry( QRect( 9, 58, 120, 41 ) ); | 247 | optlab2->setGeometry( QRect( 9, 58, 120, 41 ) ); |
248 | optlab2->setText( tr( "Alternative tunings are possible" ) ); | 248 | optlab2->setText( tr( "Alternative tunings are possible" ) ); |
249 | optlab2->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); | 249 | optlab2->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); |
250 | 250 | ||
251 | span = new QComboBox( FALSE, tab_2, "span" ); | 251 | span = new QComboBox( FALSE, tab_2, "span" ); |
252 | span->insertItem( tr( "2" ) ); | 252 | span->insertItem( tr( "2" ) ); |
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp index 979b73a..6252fc2 100644 --- a/noncore/net/mail/mainwindow.cpp +++ b/noncore/net/mail/mainwindow.cpp | |||
@@ -84,33 +84,33 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | |||
84 | 84 | ||
85 | QVBox* wrapperBox = new QVBox( this ); | 85 | QVBox* wrapperBox = new QVBox( this ); |
86 | setCentralWidget( wrapperBox ); | 86 | setCentralWidget( wrapperBox ); |
87 | 87 | ||
88 | QWidget *view = new QWidget( wrapperBox ); | 88 | QWidget *view = new QWidget( wrapperBox ); |
89 | 89 | ||
90 | layout = new QBoxLayout ( view, QBoxLayout::LeftToRight ); | 90 | layout = new QBoxLayout ( view, QBoxLayout::LeftToRight ); |
91 | 91 | ||
92 | folderView = new AccountView( view ); | 92 | folderView = new AccountView( view ); |
93 | folderView->header()->hide(); | 93 | folderView->header()->hide(); |
94 | folderView->setRootIsDecorated( true ); | 94 | folderView->setRootIsDecorated( true ); |
95 | folderView->addColumn( tr( "Mailbox" ) ); | 95 | folderView->addColumn( tr( "Mailbox" ) ); |
96 | 96 | ||
97 | layout->addWidget( folderView ); | 97 | layout->addWidget( folderView ); |
98 | 98 | ||
99 | mailView = new QListView( view ); | 99 | mailView = new QListView( view ); |
100 | mailView->addColumn( tr( "" ) ); | 100 | mailView->addColumn( "" ); |
101 | mailView->addColumn( tr( "Subject" ),QListView::Manual ); | 101 | mailView->addColumn( tr( "Subject" ),QListView::Manual ); |
102 | mailView->addColumn( tr( "Sender" ),QListView::Manual ); | 102 | mailView->addColumn( tr( "Sender" ),QListView::Manual ); |
103 | mailView->addColumn( tr( "Size" ),QListView::Manual); | 103 | mailView->addColumn( tr( "Size" ),QListView::Manual); |
104 | mailView->addColumn( tr( "Date" )); | 104 | mailView->addColumn( tr( "Date" )); |
105 | mailView->setAllColumnsShowFocus(true); | 105 | mailView->setAllColumnsShowFocus(true); |
106 | mailView->setSorting(-1); | 106 | mailView->setSorting(-1); |
107 | 107 | ||
108 | statusWidget = new StatusWidget( wrapperBox ); | 108 | statusWidget = new StatusWidget( wrapperBox ); |
109 | statusWidget->hide(); | 109 | statusWidget->hide(); |
110 | 110 | ||
111 | layout->addWidget( mailView ); | 111 | layout->addWidget( mailView ); |
112 | layout->setStretchFactor( folderView, 1 ); | 112 | layout->setStretchFactor( folderView, 1 ); |
113 | layout->setStretchFactor( mailView, 2 ); | 113 | layout->setStretchFactor( mailView, 2 ); |
114 | 114 | ||
115 | slotAdjustLayout(); | 115 | slotAdjustLayout(); |
116 | 116 | ||
diff --git a/noncore/settings/mediummount/mediumglobal.cc b/noncore/settings/mediummount/mediumglobal.cc index 0c6cf12..621784e 100644 --- a/noncore/settings/mediummount/mediumglobal.cc +++ b/noncore/settings/mediummount/mediumglobal.cc | |||
@@ -26,33 +26,33 @@ MediumGlobalWidget::MediumGlobalWidget(QWidget *wid, const char *name ) | |||
26 | : QWidget( wid, name, WStyle_ContextHelp ) | 26 | : QWidget( wid, name, WStyle_ContextHelp ) |
27 | { | 27 | { |
28 | m_config = 0; | 28 | m_config = 0; |
29 | initGUI(); | 29 | initGUI(); |
30 | readConfig(); | 30 | readConfig(); |
31 | 31 | ||
32 | } | 32 | } |
33 | void MediumGlobalWidget::initGUI() | 33 | void MediumGlobalWidget::initGUI() |
34 | { | 34 | { |
35 | m_layout = new QVBoxLayout(this ); | 35 | m_layout = new QVBoxLayout(this ); |
36 | m_layout->setMargin( 4 ); | 36 | m_layout->setMargin( 4 ); |
37 | // m_layout->setSpacing( 10 ); | 37 | // m_layout->setSpacing( 10 ); |
38 | 38 | ||
39 | 39 | ||
40 | m_label = new QLabel( this ); | 40 | m_label = new QLabel( this ); |
41 | m_label->setTextFormat( Qt::RichText ); | 41 | m_label->setTextFormat( Qt::RichText ); |
42 | m_label->setText( tr("") ); | 42 | m_label->setText( "" ); |
43 | QWhatsThis::add( this, tr("If a medium gets inserted into this device Opie " | 43 | QWhatsThis::add( this, tr("If a medium gets inserted into this device Opie " |
44 | "tries to search the medium for Documents. On " | 44 | "tries to search the medium for Documents. On " |
45 | "large mediums this can take some time. You can choose " | 45 | "large mediums this can take some time. You can choose " |
46 | "if Opie should scan for Documents globally or on a " | 46 | "if Opie should scan for Documents globally or on a " |
47 | "per medium level. You're also able to reconfigure " | 47 | "per medium level. You're also able to reconfigure " |
48 | "each medium.") ); | 48 | "each medium.") ); |
49 | 49 | ||
50 | m_layout->addWidget( m_label ); | 50 | m_layout->addWidget( m_label ); |
51 | 51 | ||
52 | m_check = new QCheckBox( tr("Enable medium checking" ), this ); | 52 | m_check = new QCheckBox( tr("Enable medium checking" ), this ); |
53 | connect( m_check, SIGNAL(stateChanged(int) ), | 53 | connect( m_check, SIGNAL(stateChanged(int) ), |
54 | this, SLOT(slotEnableChecking() ) ); | 54 | this, SLOT(slotEnableChecking() ) ); |
55 | m_layout->addWidget(m_check ); | 55 | m_layout->addWidget(m_check ); |
56 | 56 | ||
57 | m_frame = new QFrame(this, "Frame" ); | 57 | m_frame = new QFrame(this, "Frame" ); |
58 | m_frame->setFrameShape( QFrame::Box ); | 58 | m_frame->setFrameShape( QFrame::Box ); |
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index f283119..84187d2 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp | |||
@@ -114,33 +114,33 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
114 | SoundSettingsBaseLayout->addMultiCellWidget( sampleRate, 2, 2, 0, 0, 1 ); | 114 | SoundSettingsBaseLayout->addMultiCellWidget( sampleRate, 2, 2, 0, 0, 1 ); |
115 | 115 | ||
116 | TextLabel1 = new QLabel( this, "TextLabel1" ); | 116 | TextLabel1 = new QLabel( this, "TextLabel1" ); |
117 | TextLabel1->setText( tr( "Recording Directory:" ) ); | 117 | TextLabel1->setText( tr( "Recording Directory:" ) ); |
118 | SoundSettingsBaseLayout->addMultiCellWidget( TextLabel1, 3, 3, 0, 0, 1); | 118 | SoundSettingsBaseLayout->addMultiCellWidget( TextLabel1, 3, 3, 0, 0, 1); |
119 | 119 | ||
120 | 120 | ||
121 | LocationComboBox = new QComboBox( FALSE, this, "LocationComboBox" ); | 121 | LocationComboBox = new QComboBox( FALSE, this, "LocationComboBox" ); |
122 | SoundSettingsBaseLayout->addMultiCellWidget( LocationComboBox, 4, 4, 0, 8, 1); | 122 | SoundSettingsBaseLayout->addMultiCellWidget( LocationComboBox, 4, 4, 0, 8, 1); |
123 | 123 | ||
124 | QLabel *TextLabelKey; | 124 | QLabel *TextLabelKey; |
125 | TextLabelKey = new QLabel( this, "TextLabelKey" ); | 125 | TextLabelKey = new QLabel( this, "TextLabelKey" ); |
126 | TextLabelKey->setText( tr( "Recording Key:" ) ); | 126 | TextLabelKey->setText( tr( "Recording Key:" ) ); |
127 | SoundSettingsBaseLayout->addMultiCellWidget(TextLabelKey , 5, 5, 0, 0, 1); | 127 | SoundSettingsBaseLayout->addMultiCellWidget(TextLabelKey , 5, 5, 0, 0, 1); |
128 | 128 | ||
129 | keyComboBox = new QComboBox( FALSE, this, "keyComboBox" ); | 129 | keyComboBox = new QComboBox( FALSE, this, "keyComboBox" ); |
130 | keyComboBox->insertItem( tr( "" ) ); | 130 | keyComboBox->insertItem( "" ); |
131 | keyComboBox->insertItem( tr( "Taskbar Icon" ) ); | 131 | keyComboBox->insertItem( tr( "Taskbar Icon" ) ); |
132 | keyComboBox->insertItem( tr( "Key_Record" ) ); | 132 | keyComboBox->insertItem( tr( "Key_Record" ) ); |
133 | keyComboBox->insertItem( tr( "Key_Space" ) ); | 133 | keyComboBox->insertItem( tr( "Key_Space" ) ); |
134 | keyComboBox->insertItem( tr( "Key_Home" ) ); | 134 | keyComboBox->insertItem( tr( "Key_Home" ) ); |
135 | keyComboBox->insertItem( tr( "Key_Calender" ) ); | 135 | keyComboBox->insertItem( tr( "Key_Calender" ) ); |
136 | keyComboBox->insertItem( tr( "Key_Contacts" ) ); | 136 | keyComboBox->insertItem( tr( "Key_Contacts" ) ); |
137 | keyComboBox->insertItem( tr( "Key_Menu" ) ); | 137 | keyComboBox->insertItem( tr( "Key_Menu" ) ); |
138 | keyComboBox->insertItem( tr( "Key_Mail" ) ); | 138 | keyComboBox->insertItem( tr( "Key_Mail" ) ); |
139 | SoundSettingsBaseLayout->addMultiCellWidget( keyComboBox , 6, 6, 0, 0 ,1); | 139 | SoundSettingsBaseLayout->addMultiCellWidget( keyComboBox , 6, 6, 0, 0 ,1); |
140 | 140 | ||
141 | keyLabel= new QLabel( this, "keyLabel" ); | 141 | keyLabel= new QLabel( this, "keyLabel" ); |
142 | SoundSettingsBaseLayout->addMultiCellWidget( keyLabel , 6, 6, 0, 2, 3); | 142 | SoundSettingsBaseLayout->addMultiCellWidget( keyLabel , 6, 6, 0, 2, 3); |
143 | 143 | ||
144 | QLabel *timeLimitLabel; | 144 | QLabel *timeLimitLabel; |
145 | timeLimitLabel= new QLabel( this, "timeLimitLabel" ); | 145 | timeLimitLabel= new QLabel( this, "timeLimitLabel" ); |
146 | timeLimitLabel->setText( tr( "Recording Limit in seconds:" ) ); | 146 | timeLimitLabel->setText( tr( "Recording Limit in seconds:" ) ); |
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp index 7f1c0b8..1719ed8 100644 --- a/noncore/unsupported/oipkg/mainwindow.cpp +++ b/noncore/unsupported/oipkg/mainwindow.cpp | |||
@@ -259,33 +259,33 @@ void MainWindow::makeMenu() | |||
259 | a->addTo( helpMenu ); | 259 | a->addTo( helpMenu ); |
260 | a = new QAction( tr( "New version, not installed" ), | 260 | a = new QAction( tr( "New version, not installed" ), |
261 | Resource::loadPixmap( "oipkg/uninstalled" ), QString::null, 0, this, 0 ); | 261 | Resource::loadPixmap( "oipkg/uninstalled" ), QString::null, 0, this, 0 ); |
262 | a->addTo( helpMenu ); | 262 | a->addTo( helpMenu ); |
263 | a = new QAction( tr( "Old version, installed" ), | 263 | a = new QAction( tr( "Old version, installed" ), |
264 | Resource::loadPixmap( "oipkg/installedOld" ), QString::null, 0, this, 0 ); | 264 | Resource::loadPixmap( "oipkg/installedOld" ), QString::null, 0, this, 0 ); |
265 | a->addTo( helpMenu ); | 265 | a->addTo( helpMenu ); |
266 | a = new QAction( tr( "Old version, not installed" ), | 266 | a = new QAction( tr( "Old version, not installed" ), |
267 | Resource::loadPixmap( "oipkg/uninstalledOld" ), QString::null, 0, this, 0 ); | 267 | Resource::loadPixmap( "oipkg/uninstalledOld" ), QString::null, 0, this, 0 ); |
268 | a->addTo( helpMenu ); | 268 | a->addTo( helpMenu ); |
269 | a = new QAction( tr( "Old version, new version installed" ), | 269 | a = new QAction( tr( "Old version, new version installed" ), |
270 | Resource::loadPixmap( "oipkg/uninstalledOldinstalledNew" ), QString::null, 0, this, 0 ); | 270 | Resource::loadPixmap( "oipkg/uninstalledOldinstalledNew" ), QString::null, 0, this, 0 ); |
271 | a->addTo( helpMenu ); | 271 | a->addTo( helpMenu ); |
272 | a = new QAction( tr( "New version, old version installed" ), | 272 | a = new QAction( tr( "New version, old version installed" ), |
273 | Resource::loadPixmap( "oipkg/uninstalledInstalledOld" ), QString::null, 0, this, 0 ); | 273 | Resource::loadPixmap( "oipkg/uninstalledInstalledOld" ), QString::null, 0, this, 0 ); |
274 | a->addTo( helpMenu ); | 274 | a->addTo( helpMenu ); |
275 | //a = new QAction( tr( "" ), | 275 | //a = new QAction( "", |
276 | // Resource::loadPixmap( "oipkg/" ), QString::null, 0, this, 0 ); | 276 | // Resource::loadPixmap( "oipkg/" ), QString::null, 0, this, 0 ); |
277 | // a->addTo( helpMenu ); | 277 | // a->addTo( helpMenu ); |
278 | 278 | ||
279 | // configure the menus | 279 | // configure the menus |
280 | Config cfg( "oipkg", Config::User ); | 280 | Config cfg( "oipkg", Config::User ); |
281 | cfg.setGroup( "gui" ); | 281 | cfg.setGroup( "gui" ); |
282 | 282 | ||
283 | findShow( cfg.readBoolEntry( "findBar", true ) ); | 283 | findShow( cfg.readBoolEntry( "findBar", true ) ); |
284 | searchShow( cfg.readBoolEntry( "searchBar", true ) ); | 284 | searchShow( cfg.readBoolEntry( "searchBar", true ) ); |
285 | sectionShow( cfg.readBoolEntry( "sectionBar", true ) ); | 285 | sectionShow( cfg.readBoolEntry( "sectionBar", true ) ); |
286 | destShow( cfg.readBoolEntry( "destBar", false ) ); | 286 | destShow( cfg.readBoolEntry( "destBar", false ) ); |
287 | setComboName(section,cfg.readEntry("default_section")); | 287 | setComboName(section,cfg.readEntry("default_section")); |
288 | sectionChanged(); | 288 | sectionChanged(); |
289 | } | 289 | } |
290 | 290 | ||
291 | MainWindow::~MainWindow() | 291 | MainWindow::~MainWindow() |