summaryrefslogtreecommitdiffstats
path: root/knetworkconf/knetworkconf/kadddnsserverdlg.ui.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:00:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:00:43 -0600
commit2c4a290ae270924340991931a9e0ca793f8e9443 (patch)
tree7aa3b953d70dbdd6a5de525cdd7a5f4319ee1dd5 /knetworkconf/knetworkconf/kadddnsserverdlg.ui.h
parent567923f30f7c0700cb526f26c20b5577bfe2a802 (diff)
downloadtdeadmin-2c4a290ae270924340991931a9e0ca793f8e9443.tar.gz
tdeadmin-2c4a290ae270924340991931a9e0ca793f8e9443.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'knetworkconf/knetworkconf/kadddnsserverdlg.ui.h')
-rw-r--r--knetworkconf/knetworkconf/kadddnsserverdlg.ui.h64
1 files changed, 0 insertions, 64 deletions
diff --git a/knetworkconf/knetworkconf/kadddnsserverdlg.ui.h b/knetworkconf/knetworkconf/kadddnsserverdlg.ui.h
deleted file mode 100644
index dd6057f..0000000
--- a/knetworkconf/knetworkconf/kadddnsserverdlg.ui.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/****************************************************************************
-** ui.h extension file, included from the uic-generated form implementation.
-**
-** If you wish to add, delete or rename functions or slots use
-** TQt Designer which will update this file, preserving your code. Create an
-** init() function in place of a constructor, and a destroy() function in
-** place of a destructor.
-*****************************************************************************/
-#include "kaddressvalidator.h"
-#include <kmessagebox.h>
-
-bool _modified2;
-bool addingAlias;
-
-void KAddDNSServerDlg::setAddingAlias(bool add)
-{
- addingAlias = add;
-}
-
-bool KAddDNSServerDlg::modified()
-{
- return _modified2;
-}
-void KAddDNSServerDlg::init()
-{
- _modified2 = false;
- addingAlias = false;
- makeButtonsResizeable();
-}
-
-void KAddDNSServerDlg::validateAddressSlot()
-{
- if (!addingAlias)
- {
- if (KAddressValidator::isValidIPAddress(kleNewServer->text()))
- {
- _modified2 = true;
- close();
- }
- else
- {
- KMessageBox::error(this,i18n("The format of the specified IP address is not valid."),i18n("Invalid IP Address"));
- }
- }
- else
- {
- if (kleNewServer->text() !="")
- {
- _modified2 = true;
- close();
- }
- else
- {
- KMessageBox::error(this,i18n("You have to type an alias first."),i18n("Invalid Text"));
- }
- }
-}
-
-
-void KAddDNSServerDlg::makeButtonsResizeable()
-{
- kpbAddServer->setAutoResize(true);
- kpbCancel->setAutoResize(true);
-}