kmobiletools
at_connectionspage.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 Copyright (C) 2007 00003 by Marco Gulino <marco@kmobiletools.org> 00004 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program; if not, write to the 00020 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00021 Boston, MA 02110-1301, USA. 00022 ***************************************************************************/ 00023 #ifndef AT_CONNECTIONS_PAGE 00024 #define AT_CONNECTIONS_PAGE 00025 00026 #include <libkmobiletoolsengineui/connectionsPage.h> 00027 00028 class BluetoothWidget; 00029 class UserConnectionWidget; 00030 class AT_ConnectionsPage : public ConnectionsPage 00031 { 00032 Q_OBJECT 00033 Q_PROPERTY ( int connections READ selectedConnections WRITE setSelectedConnections ) 00034 00035 public: 00036 AT_ConnectionsPage(QWidget *parent=0); 00037 int selectedConnections(); 00038 bool validatePage(); 00039 void initializePage(); 00040 bool isComplete() const; 00041 void setSelectedConnections(int); 00042 private: 00043 BluetoothWidget *blueWidget; 00044 UserConnectionWidget *usrConnWidget; 00045 int i_connections; 00046 public slots: 00047 void selChanged(); 00048 signals: 00049 void selectedConnectionsChanged(); 00050 }; 00051 00052 00053 #endif 00054 00055
KDE 4.2 API Reference