author | zecke <zecke> | 2004-07-09 21:36:37 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-07-09 21:36:37 (UTC) |
commit | 944adb8bf2741a16cf627d19e08f51c08920ad89 (patch) (side-by-side diff) | |
tree | 5f9edc9784e0268a00fe68ec74d7151900c5183a /core/opie-login/loginwindowimpl.h | |
parent | c5d3262afd775bce81b99c5dc06e74c4686cee2a (diff) | |
download | opie-944adb8bf2741a16cf627d19e08f51c08920ad89.zip opie-944adb8bf2741a16cf627d19e08f51c08920ad89.tar.gz opie-944adb8bf2741a16cf627d19e08f51c08920ad89.tar.bz2 |
Add setting a root password if none is set to opie-login
If you directly start Opie-Taskbar or use AutoLogin
you will not be presented by a set root password gui
Diffstat (limited to 'core/opie-login/loginwindowimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/opie-login/loginwindowimpl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/opie-login/loginwindowimpl.h b/core/opie-login/loginwindowimpl.h index df8dbbb..1de212c 100644 --- a/core/opie-login/loginwindowimpl.h +++ b/core/opie-login/loginwindowimpl.h @@ -13,51 +13,52 @@ + . -:. = it will be useful, but WITHOUT ANY WARRANTY; : .. .:, . . . without even the implied warranty of =_ + =;=|` MERCHANTABILITY or FITNESS FOR A _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General ..}^=.= = ; Public License for more details. ++= -. .` .: : = ...= . :.=- You should have received a copy of the GNU -. .:....=;==+<; General Public License along with this file; -_. . . )=. = see the file COPYING. If not, write to the -- :-=` Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __OPIE_LOGINWINDOW_IMPL_H__ #define __OPIE_LOGINWINDOW_IMPL_H__ #include "loginwindow.h" class InputMethods; class LoginWindowImpl : public LoginWindow { Q_OBJECT - + public: LoginWindowImpl ( ); - virtual ~LoginWindowImpl ( ); + virtual ~LoginWindowImpl ( ); protected slots: void restart ( ); void quit ( ); void showIM ( ); void suspend ( ); void backlight ( ); void login ( ); void toggleEchoMode ( bool ); void calcMaxWindowRect ( ); void receive ( const QCString &, const QByteArray & ); + void showPasswordDialog(); protected: virtual void keyPressEvent ( QKeyEvent *e ); QStringList getAllUsers ( ); bool changeIdentity ( const char *user ); private: InputMethods *m_input; }; #endif |