author | zecke <zecke> | 2004-09-18 13:13:37 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-18 13:13:37 (UTC) |
commit | 721dbd6d4cfc2bfdede82a937b921e6f454da7d1 (patch) (unidiff) | |
tree | 1ea55ee2a6a938f77c5e1ae93716f5be8836862e | |
parent | e657f4e105ba8b0a0be174add45d008ebb140455 (diff) | |
download | opie-721dbd6d4cfc2bfdede82a937b921e6f454da7d1.zip opie-721dbd6d4cfc2bfdede82a937b921e6f454da7d1.tar.gz opie-721dbd6d4cfc2bfdede82a937b921e6f454da7d1.tar.bz2 |
Hint the NameSpace of OFileDialog and OFontSelector
-rw-r--r-- | libopie2/opieui/fileselector/ofiledialog.cpp | 5 | ||||
-rw-r--r-- | libopie2/opieui/ofontselector.cpp | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libopie2/opieui/fileselector/ofiledialog.cpp b/libopie2/opieui/fileselector/ofiledialog.cpp index ebce0ef..4c6b800 100644 --- a/libopie2/opieui/fileselector/ofiledialog.cpp +++ b/libopie2/opieui/fileselector/ofiledialog.cpp | |||
@@ -10,48 +10,51 @@ | |||
10 | ._= =} : or (at your option) any later version. | 10 | ._= =} : or (at your option) any later version. |
11 | .%`+i> _;_. | 11 | .%`+i> _;_. |
12 | .i_,=:_. -<s. This library is distributed in the hope that | 12 | .i_,=:_. -<s. This library is distributed in the hope that |
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | : .. .:, . . . without even the implied warranty of | 14 | : .. .:, . . . without even the implied warranty of |
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
17 | ..}^=.= = ; Library General Public License for more | 17 | ..}^=.= = ; Library General Public License for more |
18 | ++= -. .` .: details. | 18 | ++= -. .` .: details. |
19 | : = ...= . :.=- | 19 | : = ...= . :.=- |
20 | -. .:....=;==+<; You should have received a copy of the GNU | 20 | -. .:....=;==+<; You should have received a copy of the GNU |
21 | -_. . . )=. = Library General Public License along with | 21 | -_. . . )=. = Library General Public License along with |
22 | -- :-=` this library; see the file COPYING.LIB. | 22 | -- :-=` this library; see the file COPYING.LIB. |
23 | If not, write to the Free Software Foundation, | 23 | If not, write to the Free Software Foundation, |
24 | Inc., 59 Temple Place - Suite 330, | 24 | Inc., 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | 29 | ||
30 | /* OPIE */ | 30 | /* OPIE */ |
31 | #include <opie2/ofiledialog.h> | 31 | #include <opie2/ofiledialog.h> |
32 | #include <qpe/applnk.h> | 32 | #include <qpe/applnk.h> |
33 | #include <qpe/config.h> | 33 | #include <qpe/config.h> |
34 | #include <qpe/qpeapplication.h> | 34 | #include <qpe/qpeapplication.h> |
35 | 35 | ||
36 | /* QT */ | 36 | /* QT */ |
37 | #include <qfileinfo.h> | 37 | #include <qfileinfo.h> |
38 | #include <qstring.h> | 38 | #include <qstring.h> |
39 | #include <qapplication.h> | 39 | #include <qapplication.h> |
40 | #include <qlayout.h> | 40 | #include <qlayout.h> |
41 | 41 | ||
42 | |||
43 | /* TRANSLATOR Opie::Ui::OFileDialog */ | ||
44 | |||
42 | using namespace Opie::Ui; | 45 | using namespace Opie::Ui; |
43 | 46 | ||
44 | namespace | 47 | namespace |
45 | { | 48 | { |
46 | /* | 49 | /* |
47 | * helper functions to load the start dir | 50 | * helper functions to load the start dir |
48 | * and to save it | 51 | * and to save it |
49 | * helper to extract the dir out of a file name | 52 | * helper to extract the dir out of a file name |
50 | */ | 53 | */ |
51 | /** | 54 | /** |
52 | * This method will use Config( argv[0] ); | 55 | * This method will use Config( argv[0] ); |
53 | * @param key The group key used | 56 | * @param key The group key used |
54 | */ | 57 | */ |
55 | QString lastUsedDir( const QString& key ) | 58 | QString lastUsedDir( const QString& key ) |
56 | { | 59 | { |
57 | if ( qApp->argc() < 1 ) | 60 | if ( qApp->argc() < 1 ) |
diff --git a/libopie2/opieui/ofontselector.cpp b/libopie2/opieui/ofontselector.cpp index 4870cd9..6c24f14 100644 --- a/libopie2/opieui/ofontselector.cpp +++ b/libopie2/opieui/ofontselector.cpp | |||
@@ -26,32 +26,35 @@ | |||
26 | Inc., 59 Temple Place - Suite 330, | 26 | Inc., 59 Temple Place - Suite 330, |
27 | Boston, MA 02111-1307, USA. | 27 | Boston, MA 02111-1307, USA. |
28 | */ | 28 | */ |
29 | 29 | ||
30 | /* OPIE */ | 30 | /* OPIE */ |
31 | #include <opie2/ofontselector.h> | 31 | #include <opie2/ofontselector.h> |
32 | #include <qpe/fontdatabase.h> | 32 | #include <qpe/fontdatabase.h> |
33 | 33 | ||
34 | /* QT */ | 34 | /* QT */ |
35 | #include <qlayout.h> | 35 | #include <qlayout.h> |
36 | #include <qlistbox.h> | 36 | #include <qlistbox.h> |
37 | #include <qcombobox.h> | 37 | #include <qcombobox.h> |
38 | #include <qlabel.h> | 38 | #include <qlabel.h> |
39 | #include <qmultilineedit.h> | 39 | #include <qmultilineedit.h> |
40 | 40 | ||
41 | 41 | ||
42 | /* TRANSLATOR Opie::Ui::OFontSelector */ | ||
43 | |||
44 | |||
42 | namespace Opie { | 45 | namespace Opie { |
43 | namespace Ui { | 46 | namespace Ui { |
44 | namespace Internal { | 47 | namespace Internal { |
45 | 48 | ||
46 | class OFontSelectorPrivate | 49 | class OFontSelectorPrivate |
47 | { | 50 | { |
48 | public: | 51 | public: |
49 | QListBox * m_font_family_list; | 52 | QListBox * m_font_family_list; |
50 | QComboBox * m_font_style_list; | 53 | QComboBox * m_font_style_list; |
51 | QComboBox * m_font_size_list; | 54 | QComboBox * m_font_size_list; |
52 | QMultiLineEdit *m_preview; | 55 | QMultiLineEdit *m_preview; |
53 | 56 | ||
54 | bool m_pointbug : 1; | 57 | bool m_pointbug : 1; |
55 | 58 | ||
56 | FontDatabase m_fdb; | 59 | FontDatabase m_fdb; |
57 | }; | 60 | }; |