Rearrange files again

pull/1/head
Timothy Pearson 12 years ago
parent fed6fccc41
commit 4e6c7c0e4e

@ -12,7 +12,7 @@
add_definitions( -UQT_NO_ASCII_CAST ) add_definitions( -UQT_NO_ASCII_CAST )
#add_subdirectory( settings ) #add_subdirectory( settings )
#add_subdirectory( configwidgets ) add_subdirectory( configwidgets )
include_directories( include_directories(
${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}
@ -63,6 +63,6 @@ tde_add_tdeinit_executable( knetworkmanager AUTOMOC
#knetworkmanager-pluginmanager.cpp knetworkmanager-vpnservice.cpp knetworkmanager-vpnmanager.cpp #knetworkmanager-pluginmanager.cpp knetworkmanager-vpnservice.cpp knetworkmanager-vpnmanager.cpp
#knetworkmanager-vpnauthenticationdialog.cpp #knetworkmanager-vpnauthenticationdialog.cpp
#vpn_tray_component.cpp #vpn_tray_component.cpp
EMBED tdenetwork-connection-configwidgets-static tdenetwork-connection-settings-static EMBED tdenetwork-connection-configwidgets-static #tdenetwork-connection-settings-static
LINK tdecore-shared tdeui-shared kutils-shared ${DBUS_TQT_LIBRARIES} LINK tdecore-shared tdeui-shared kutils-shared ${DBUS_TQT_LIBRARIES}
) )

@ -34,19 +34,17 @@
#include <kuser.h> #include <kuser.h>
// knm headers // knm headers
#include "knetworkmanager-connection.h"
#include "knetworkmanager-connection_setting_cdma.h"
#include "knetworkmanager-connection_setting_cdma_widget.h" #include "knetworkmanager-connection_setting_cdma_widget.h"
#include "knetworkmanager-device.h"
// ui headers
#include "connection_setting_cdma.h" #include "connection_setting_cdma.h"
using namespace ConnectionSettings; using namespace ConnectionSettings;
CDMAWidgetImpl::CDMAWidgetImpl(Connection* conn, TQWidget* parent, const char* name, WFlags fl) CDMAWidgetImpl::CDMAWidgetImpl(TDENetworkConnection* conn, TQWidget* parent, const char* name, WFlags fl)
: WidgetInterface(parent, name, fl) : WidgetInterface(parent, name, fl)
{ {
_cdmasetting = dynamic_cast<ConnectionSettings::CDMA*> (conn->getSetting(NM_SETTING_CDMA_SETTING_NAME)); _cdmasetting = dynamic_cast<TDEModemConnection*> (conn);
TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1); TQVBoxLayout* layout = new TQVBoxLayout(this, 1, 1);
_mainWid = new ConnectionSettingCdmaWidget(this); _mainWid = new ConnectionSettingCdmaWidget(this);

@ -26,14 +26,16 @@
#define KNETWORKMANAGER_CONNECTION_SETTING_CDMA_WIDGET_H #define KNETWORKMANAGER_CONNECTION_SETTING_CDMA_WIDGET_H
// qt headers // tqt headers
#include <tqwidget.h> #include <tqwidget.h>
#include <tqlineedit.h> #include <tqlineedit.h>
// tde headers
#include <tdehardwaredevices.h>
#include <tdenetworkconnections.h>
// knm headers // knm headers
#include "knetworkmanager-connection_setting_cdma.h"
#include "knetworkmanager-connection_setting_widget_interface.h" #include "knetworkmanager-connection_setting_widget_interface.h"
#include "knetworkmanager-device.h"
//class VPNService; //class VPNService;
class ConnectionSettingCdmaWidget; class ConnectionSettingCdmaWidget;
@ -41,14 +43,12 @@ class ConnectionSettingCdmaWidget;
namespace ConnectionSettings namespace ConnectionSettings
{ {
class Connection;
class CDMAWidgetImpl : public WidgetInterface class CDMAWidgetImpl : public WidgetInterface
{ {
Q_OBJECT Q_OBJECT
public: public:
CDMAWidgetImpl(Connection* conn, TQWidget* parent = NULL, const char* name = NULL, WFlags fl = 0); CDMAWidgetImpl(TDENetworkConnection* conn, TQWidget* parent = NULL, const char* name = NULL, WFlags fl = 0);
void Activate(); void Activate();
void Deactivate(); void Deactivate();
public slots: public slots:
@ -59,7 +59,7 @@ class CDMAWidgetImpl : public WidgetInterface
//VPNConfigWidget* getVPNConfigWidget(VPNService* service); //VPNConfigWidget* getVPNConfigWidget(VPNService* service);
CDMA* _cdmasetting; TDEModemConnection* _cdmasetting;
ConnectionSettingCdmaWidget* _mainWid; ConnectionSettingCdmaWidget* _mainWid;
}; };

Loading…
Cancel
Save