summaryrefslogtreecommitdiffstats
path: root/ksirc/KSPrefs/ksprefs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/KSPrefs/ksprefs.cpp')
-rw-r--r--ksirc/KSPrefs/ksprefs.cpp72
1 files changed, 36 insertions, 36 deletions
diff --git a/ksirc/KSPrefs/ksprefs.cpp b/ksirc/KSPrefs/ksprefs.cpp
index 2bf97e84..40ccc56f 100644
--- a/ksirc/KSPrefs/ksprefs.cpp
+++ b/ksirc/KSPrefs/ksprefs.cpp
@@ -7,7 +7,7 @@
* *
***************************************************************************/
-#include <qlayout.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <kiconloader.h>
@@ -26,37 +26,37 @@
#include "page_looknfeel.h"
#include "page_shortcuts.h"
-KSPrefs::KSPrefs(QWidget * parent, const char * name):
+KSPrefs::KSPrefs(TQWidget * parent, const char * name):
KDialogBase(KDialogBase::IconList, i18n("Configure KSirc"),
KDialogBase::Help | KDialogBase::Ok | KDialogBase::Apply | KDialogBase::Cancel | KDialogBase::Default,
KDialogBase::Ok, parent, name)
{
setWFlags( getWFlags() | WDestructiveClose );
- QFrame *itemLooknFeel= addPage( i18n( "Look and Feel" ), i18n( "Controls how kSirc looks" ), BarIcon( "ksirc", KIcon::SizeMedium ) );
- QFrame *itemGeneral = addPage( i18n( "General" ), i18n( "General KSirc Settings" ), BarIcon( "ksirc", KIcon::SizeMedium ) );
- QFrame *itemStartup = addPage( i18n( "Startup" ), i18n( "KSirc Startup Settings" ), BarIcon( "gear", KIcon::SizeMedium ) );
- QFrame *itemColors = addPage( i18n( "Colors" ), i18n( "KSirc Color Settings" ), BarIcon( "colors", KIcon::SizeMedium ) );
- QFrame *itemIRCColors = addPage( i18n( "IRC Colors" ), i18n( "KSirc IRC Color Settings" ), BarIcon( "colors", KIcon::SizeMedium ) );
+ TQFrame *itemLooknFeel= addPage( i18n( "Look and Feel" ), i18n( "Controls how kSirc looks" ), BarIcon( "ksirc", KIcon::SizeMedium ) );
+ TQFrame *itemGeneral = addPage( i18n( "General" ), i18n( "General KSirc Settings" ), BarIcon( "ksirc", KIcon::SizeMedium ) );
+ TQFrame *itemStartup = addPage( i18n( "Startup" ), i18n( "KSirc Startup Settings" ), BarIcon( "gear", KIcon::SizeMedium ) );
+ TQFrame *itemColors = addPage( i18n( "Colors" ), i18n( "KSirc Color Settings" ), BarIcon( "colors", KIcon::SizeMedium ) );
+ TQFrame *itemIRCColors = addPage( i18n( "IRC Colors" ), i18n( "KSirc IRC Color Settings" ), BarIcon( "colors", KIcon::SizeMedium ) );
- QFrame *itemRMBMenu = addPage( i18n( "User Menu" ), i18n( "User Menu Configuration" ), BarIcon( "", KIcon::SizeMedium ) );
- QFrame *itemServChan = addPage( i18n( "Server/Channel" ), i18n( "Server/Channel Configuration" ), BarIcon( "", KIcon::SizeMedium ) );
- QFrame *itemAutoConnect = addPage( i18n( "Auto Connect" ), i18n( "Auto Connect Configuration" ), BarIcon( "", KIcon::SizeMedium ) );
- QFrame *itemFont = addPage( i18n( "Fonts" ), i18n( "Font Settings" ), BarIcon( "fonts", KIcon::SizeMedium ) );
- QFrame *itemShortcuts = addPage( i18n( "Shortcuts" ), i18n( "Shortcut Configuration" ), BarIcon( "", KIcon::SizeMedium ) );
+ TQFrame *itemRMBMenu = addPage( i18n( "User Menu" ), i18n( "User Menu Configuration" ), BarIcon( "", KIcon::SizeMedium ) );
+ TQFrame *itemServChan = addPage( i18n( "Server/Channel" ), i18n( "Server/Channel Configuration" ), BarIcon( "", KIcon::SizeMedium ) );
+ TQFrame *itemAutoConnect = addPage( i18n( "Auto Connect" ), i18n( "Auto Connect Configuration" ), BarIcon( "", KIcon::SizeMedium ) );
+ TQFrame *itemFont = addPage( i18n( "Fonts" ), i18n( "Font Settings" ), BarIcon( "fonts", KIcon::SizeMedium ) );
+ TQFrame *itemShortcuts = addPage( i18n( "Shortcuts" ), i18n( "Shortcut Configuration" ), BarIcon( "", KIcon::SizeMedium ) );
- QVBoxLayout *fontTopLayout = new QVBoxLayout( itemFont, 0, 6 );
+ TQVBoxLayout *fontTopLayout = new TQVBoxLayout( itemFont, 0, 6 );
- QVBoxLayout *looknfeelTopLayout= new QVBoxLayout( itemLooknFeel, 0, 6 );
- QVBoxLayout *generalTopLayout = new QVBoxLayout( itemGeneral, 0, 6 );
- QVBoxLayout *startupTopLayout = new QVBoxLayout( itemStartup, 0, 6 );
- QVBoxLayout *colorsTopLayout = new QVBoxLayout( itemColors, 0, 6 );
- QVBoxLayout *ircColorsTopLayout = new QVBoxLayout( itemIRCColors, 0, 6 );
+ TQVBoxLayout *looknfeelTopLayout= new TQVBoxLayout( itemLooknFeel, 0, 6 );
+ TQVBoxLayout *generalTopLayout = new TQVBoxLayout( itemGeneral, 0, 6 );
+ TQVBoxLayout *startupTopLayout = new TQVBoxLayout( itemStartup, 0, 6 );
+ TQVBoxLayout *colorsTopLayout = new TQVBoxLayout( itemColors, 0, 6 );
+ TQVBoxLayout *ircColorsTopLayout = new TQVBoxLayout( itemIRCColors, 0, 6 );
- QVBoxLayout *rmbMenuTopLayout = new QVBoxLayout( itemRMBMenu, 0, 6 );
- QVBoxLayout *servChanTopLayout = new QVBoxLayout( itemServChan, 0, 6 );
- QVBoxLayout *autoConnectTopLayout = new QVBoxLayout( itemAutoConnect, 0, 6 );
- QVBoxLayout *autoShortcutsTopLayout = new QVBoxLayout( itemShortcuts, 0, 6 );
+ TQVBoxLayout *rmbMenuTopLayout = new TQVBoxLayout( itemRMBMenu, 0, 6 );
+ TQVBoxLayout *servChanTopLayout = new TQVBoxLayout( itemServChan, 0, 6 );
+ TQVBoxLayout *autoConnectTopLayout = new TQVBoxLayout( itemAutoConnect, 0, 6 );
+ TQVBoxLayout *autoShortcutsTopLayout = new TQVBoxLayout( itemShortcuts, 0, 6 );
pageLooknFeel= new PageLooknFeel( itemLooknFeel );
pageGeneral = new PageGeneral( itemGeneral );
@@ -69,20 +69,20 @@ KSPrefs::KSPrefs(QWidget * parent, const char * name):
pageAutoConnect = new PageAutoConnect( itemAutoConnect );
pageShortcuts = new PageShortcuts( itemShortcuts );
- connect(pageLooknFeel, SIGNAL( modified() ), SLOT( modified() ) );
- connect(pageGeneral, SIGNAL( modified() ), SLOT( modified() ) );
- connect(pageStartup, SIGNAL( modified() ), SLOT( modified() ) );
- connect(pageColors, SIGNAL( modified() ), SLOT( modified() ) );
- connect(pageIRCColors, SIGNAL( modified() ), SLOT( modified() ) );
- connect(pageFont, SIGNAL( modified() ), SLOT( modified() ) );
- connect(pageRMBMenu, SIGNAL( modified() ), SLOT( modified() ) );
- connect(pageServChan, SIGNAL( modified() ), SLOT( modified() ) );
- connect(pageAutoConnect, SIGNAL( modified() ), SLOT( modified() ) );
- connect(pageShortcuts, SIGNAL( modified() ), SLOT( modified() ) );
-
- connect(this, SIGNAL( applyClicked() ), this, SLOT( saveConfig() ) );
- connect(this, SIGNAL( okClicked() ), this, SLOT( saveConfig() ) );
- connect(this, SIGNAL( defaultClicked() ), this, SLOT(defaultConfig() ) );
+ connect(pageLooknFeel, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) );
+ connect(pageGeneral, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) );
+ connect(pageStartup, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) );
+ connect(pageColors, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) );
+ connect(pageIRCColors, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) );
+ connect(pageFont, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) );
+ connect(pageRMBMenu, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) );
+ connect(pageServChan, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) );
+ connect(pageAutoConnect, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) );
+ connect(pageShortcuts, TQT_SIGNAL( modified() ), TQT_SLOT( modified() ) );
+
+ connect(this, TQT_SIGNAL( applyClicked() ), this, TQT_SLOT( saveConfig() ) );
+ connect(this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( saveConfig() ) );
+ connect(this, TQT_SIGNAL( defaultClicked() ), this, TQT_SLOT(defaultConfig() ) );
looknfeelTopLayout->addWidget( pageLooknFeel );
generalTopLayout->addWidget( pageGeneral );