You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.7 KiB
38 lines
1.7 KiB
15 years ago
|
/***************************************************************************
|
||
|
* Copyright (C) 2003 by Gav Wood *
|
||
|
* gav@kde.org *
|
||
|
* *
|
||
|
* This program is free software; you can redistribute it and/or modify *
|
||
|
* it under the terms of the GNU General Public License as published by *
|
||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||
|
* (at your option) any later version. *
|
||
|
***************************************************************************/
|
||
|
|
||
|
/****************************************************************************
|
||
|
** ui.h extension file, included from the uic-generated form implementation.
|
||
|
**
|
||
|
** If you wish to add, delete or rename functions or slots use
|
||
14 years ago
|
** TQt Designer which will update this file, preserving your code. Create an
|
||
15 years ago
|
** init() function in place of a constructor, and a destroy() function in
|
||
|
** place of a destructor.
|
||
|
*****************************************************************************/
|
||
|
|
||
|
#include "modeslist.h"
|
||
|
|
||
|
void KCMLircBase::init()
|
||
|
{
|
||
|
delete theModes;
|
||
|
modeLayout->removeItem(modeButtonLayout);
|
||
14 years ago
|
theModes = new ModesList(TQT_TQWIDGET(modeLayout->parent()), "theModes");
|
||
15 years ago
|
theModes->addColumn(i18n("Remote Control"));
|
||
|
theModes->addColumn(i18n("Default"));
|
||
|
theModes->addColumn(i18n("Icon"));
|
||
|
theModes->setAcceptDrops(true);
|
||
|
theModes->setRootIsDecorated(true);
|
||
|
theModes->setItemsRenameable(true);
|
||
|
modeLayout->addWidget(theModes);
|
||
|
modeLayout->addLayout(modeButtonLayout);
|
||
13 years ago
|
modeLayout->invalidate();
|
||
15 years ago
|
modeLayout->activate();
|
||
|
}
|